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:
Mateusz Jablonski
2020-03-19 13:48:13 +01:00
committed by sys_ocldev
parent e46142be4d
commit bd3931a9fb
8 changed files with 28 additions and 25 deletions

View File

@@ -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) {