diff --git a/src/client/clfunc_common.hpp b/src/client/clfunc_common.hpp index 0f22ef0f..7d86cd2d 100644 --- a/src/client/clfunc_common.hpp +++ b/src/client/clfunc_common.hpp @@ -304,6 +304,7 @@ class clblasFunc OPENCL_V_THROW(err, "creating context"); for (unsigned int i = 0; i < numQueues; i++) { queues_[i] = clCreateCommandQueue(ctx_, device_, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE, &err); + OpenCL_V_THROW(err, "create command queue"); } timer_id = timer.getUniqueID( "clfunc", 0 );