mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:16:39 +08:00
Update clEnqueueVerifyMemory
- return success also for non aub CSRs Change-Id: Iac7fdcd58e4b76a325ef67fd266f183d779ca956 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
736c3ac3bd
commit
ec03210687
@@ -4272,11 +4272,7 @@ CL_API_ENTRY cl_int CL_API_CALL clEnqueueVerifyMemory(cl_command_queue commandQu
|
||||
}
|
||||
|
||||
auto &csr = pCommandQueue->getCommandStreamReceiver();
|
||||
if (csr.expectMemory(allocationPtr, expectedData, sizeOfComparison, comparisonMode)) {
|
||||
retVal = CL_SUCCESS;
|
||||
return retVal;
|
||||
}
|
||||
|
||||
retVal = CL_INVALID_VALUE;
|
||||
csr.expectMemory(allocationPtr, expectedData, sizeOfComparison, comparisonMode);
|
||||
retVal = CL_SUCCESS;
|
||||
return retVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user