mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 23: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
@@ -816,9 +816,11 @@ int main (int argc, const char * argv[])
|
||||
free_mtdata(gMTdata);
|
||||
free(gTestNames);
|
||||
|
||||
int error_code = clFinish(gQueue);
|
||||
if (error_code)
|
||||
vlog_error("clFinish failed:%d\n", error_code);
|
||||
if (gQueue) {
|
||||
int error_code = clFinish(gQueue);
|
||||
if (error_code)
|
||||
vlog_error("clFinish failed:%d\n", error_code);
|
||||
}
|
||||
|
||||
ReleaseCL();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user