mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix for clSetKernelArgSVMPointer optimization
Related-To: NEO-6737 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
99120d239f
commit
9bc364e7a7
@ -4917,7 +4917,8 @@ cl_int CL_API_CALL clSetKernelArgSVMPointer(cl_kernel kernel,
|
||||
}
|
||||
} else {
|
||||
if (pMultiDeviceKernel->getKernelArguments()[argIndex].allocId > 0 &&
|
||||
pMultiDeviceKernel->getKernelArguments()[argIndex].allocId == svmData->getAllocId()) {
|
||||
pMultiDeviceKernel->getKernelArguments()[argIndex].allocId == svmData->getAllocId() &&
|
||||
pMultiDeviceKernel->getKernelArguments()[argIndex].value == argValue) {
|
||||
TRACING_EXIT(clSetKernelArgSVMPointer, &retVal);
|
||||
return CL_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user