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:
Filip Hazubski
2019-01-14 12:52:44 +01:00
committed by sys_ocldev
parent 736c3ac3bd
commit ec03210687
7 changed files with 8 additions and 40 deletions

View File

@@ -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;
}