mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Test bruteforce/conversions - run finish only on existing queue.
This commit is contained in:
committed by
Alastair Murray
parent
9a006ba1a0
commit
2a8cecb925
@@ -319,10 +319,11 @@ int main (int argc, const char **argv )
|
||||
int ret = runTestHarnessWithCheck( 1, arg, test_num, test_list, true, 0, InitCL );
|
||||
|
||||
free_mtdata( gMTdata );
|
||||
|
||||
error = clFinish(gQueue);
|
||||
if (error)
|
||||
vlog_error("clFinish failed: %d\n", error);
|
||||
if (gQueue) {
|
||||
error = clFinish(gQueue);
|
||||
if (error)
|
||||
vlog_error("clFinish failed: %d\n", error);
|
||||
}
|
||||
|
||||
clReleaseMemObject(gInBuffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user