mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix bug in mutable_command_full_dispatch (#2118)
The test is missing clFinish after clEnqueueSVMUnmap. Add clFinish after clEnqueueSVMUnmap. Signed-off-by: Xin Jin <xin.jin@arm.com>
This commit is contained in:
@@ -241,6 +241,9 @@ struct MutableCommandFullDispatch : InfoMutableCommandBufferTest
|
||||
error = clEnqueueSVMUnmap(queue, buf, 0, nullptr, nullptr);
|
||||
test_error(error, "clEnqueueSVMUnmap failed for svm buffer");
|
||||
|
||||
error = clFinish(queue);
|
||||
test_error(error, "clFinish failed");
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user