mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
testHarness: Print error string when clFinish fails (#1243)
This commit is contained in:
@@ -861,7 +861,7 @@ test_status callSingleTestFunction(test_definition test,
|
|||||||
int error = clFinish(queue);
|
int error = clFinish(queue);
|
||||||
if (error)
|
if (error)
|
||||||
{
|
{
|
||||||
log_error("clFinish failed: %d", error);
|
log_error("clFinish failed: %s\n", IGetErrorString(error));
|
||||||
status = TEST_FAIL;
|
status = TEST_FAIL;
|
||||||
}
|
}
|
||||||
clReleaseCommandQueue(queue);
|
clReleaseCommandQueue(queue);
|
||||||
|
|||||||
Reference in New Issue
Block a user