mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 00:39:03 +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);
|
error = clEnqueueSVMUnmap(queue, buf, 0, nullptr, nullptr);
|
||||||
test_error(error, "clEnqueueSVMUnmap failed for svm buffer");
|
test_error(error, "clEnqueueSVMUnmap failed for svm buffer");
|
||||||
|
|
||||||
|
error = clFinish(queue);
|
||||||
|
test_error(error, "clFinish failed");
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user