You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default , the client created a out-of-orer queue. However, most devices only support in-order queue. The main purpose of client is to test clBLAS maths functions not test queues. It is better to change into in-order queue by default.
An error checker should be inserted, even certain property queue is not supported, error can be caught much earlier.
@@ -304,6 +304,7 @@ public:
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");
}
tingxingdong
changed the title
client should use in-order queue rather than out-of-order queue by default
add error checker when creating cmd queue in client: especially when OoO queue is not supported on many devices
May 3, 2021
By default , the client created a out-of-orer queue. However, most devices only support in-order queue. The main purpose of client is to test clBLAS maths functions not test queues. It is better to change into in-order queue by default.
https://github.com/clMathLibraries/clBLAS/blob/master/src/client/clfunc_common.hpp#L306
The text was updated successfully, but these errors were encountered: