mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Pass root device index to UpdateData
Related-To: NEO-4672 Change-Id: Ic264aa257bc721b48cd6460bb4843c6e2be213d9 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
4662183ccc
commit
990f81efea
@@ -249,7 +249,7 @@ cl_int CommandQueue::enqueueAcquireSharedObjects(cl_uint numObjects, const cl_me
|
||||
return CL_INVALID_MEM_OBJECT;
|
||||
}
|
||||
|
||||
int result = memObject->peekSharingHandler()->acquire(memObject);
|
||||
int result = memObject->peekSharingHandler()->acquire(memObject, getDevice().getRootDeviceIndex());
|
||||
if (result != CL_SUCCESS) {
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user