mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Move AsyncEventsHandler to ClExecutionEnvironment
Related-To: NEO-4207 Change-Id: If859f995aae57ac03de13d57cc5a38c97303bbb4 Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
ef64990016
commit
3b4276c8f7
@ -21,6 +21,7 @@
|
||||
#include "opencl/source/cl_device/cl_device.h"
|
||||
#include "opencl/source/command_queue/command_queue.h"
|
||||
#include "opencl/source/device_queue/device_queue.h"
|
||||
#include "opencl/source/execution_environment/cl_execution_environment.h"
|
||||
#include "opencl/source/gtpin/gtpin_notify.h"
|
||||
#include "opencl/source/helpers/get_info_status_mapper.h"
|
||||
#include "opencl/source/helpers/surface_formats.h"
|
||||
@ -385,4 +386,8 @@ bool Context::isDeviceAssociated(const ClDevice &clDevice) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
AsyncEventsHandler &Context::getAsyncEventsHandler() {
|
||||
return *static_cast<ClExecutionEnvironment *>(devices[0]->getExecutionEnvironment())->getAsyncEventsHandler();
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
Reference in New Issue
Block a user