mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Extend interface of SharingHandler
pass rootDeviceIndex to release and releaseResource methods Related-To: NEO-4672 Change-Id: If6e1fddb1251dbcf85bc64fca2af107fb1974a10 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
92f4144661
commit
99839ccff5
@@ -278,7 +278,7 @@ cl_int CommandQueue::enqueueReleaseSharedObjects(cl_uint numObjects, const cl_me
|
||||
return CL_INVALID_MEM_OBJECT;
|
||||
}
|
||||
|
||||
memObject->peekSharingHandler()->release(memObject);
|
||||
memObject->peekSharingHandler()->release(memObject, getDevice().getRootDeviceIndex());
|
||||
DEBUG_BREAK_IF(memObject->acquireCount <= 0);
|
||||
memObject->acquireCount--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user