mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Change signature of CommandStreamReceiver::expectMemory
return bool value Change-Id: Ia3471199c5fc4449ce13f92705080a4db96f88dd Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e46142be4d
commit
bd3931a9fb
@@ -5183,8 +5183,8 @@ CL_API_ENTRY cl_int CL_API_CALL clEnqueueVerifyMemoryINTEL(cl_command_queue comm
|
||||
}
|
||||
|
||||
auto &csr = pCommandQueue->getGpgpuCommandStreamReceiver();
|
||||
retVal = csr.expectMemory(allocationPtr, expectedData, sizeOfComparison, comparisonMode);
|
||||
return retVal;
|
||||
auto status = csr.expectMemory(allocationPtr, expectedData, sizeOfComparison, comparisonMode);
|
||||
return status ? CL_SUCCESS : CL_INVALID_VALUE;
|
||||
}
|
||||
|
||||
cl_int CL_API_CALL clAddCommentINTEL(cl_device_id device, const char *comment) {
|
||||
|
||||
Reference in New Issue
Block a user