Add Context::getSubDeviceByIndex function

Change-Id: I9a41b99521e705da008a614daa88c051b3687352
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-03-30 16:54:33 +02:00
parent 57cf4f00c3
commit 8bb4be1689
3 changed files with 68 additions and 2 deletions

View File

@@ -143,6 +143,7 @@ class Context : public BaseObject<_cl_context> {
SchedulerKernel &getSchedulerKernel();
bool isDeviceAssociated(const ClDevice &clDevice) const;
ClDevice *getSubDeviceByIndex(uint32_t subDeviceIndex) const;
AsyncEventsHandler &getAsyncEventsHandler();