Fix to make the property list empty for command queues when timing disabled.

This commit is contained in:
W. Michael Brown
2022-10-18 16:34:55 -07:00
committed by Axel Kohlmeyer
parent 78305edf71
commit 51c6eddd0d

View File

@ -184,7 +184,7 @@ class UCL_Device {
_cq.back()=clCreateCommandQueueWithProperties(_context, _cl_device, props,
&errorv);
} else {
cl_queue_properties props[] = {CL_QUEUE_PROPERTIES, 0};
cl_queue_properties props[] = {0};
_cq.back()=clCreateCommandQueueWithProperties(_context, _cl_device, props,
&errorv);
}