Fix to make the property list empty for command queues when timing disabled.
This commit is contained in:
committed by
Axel Kohlmeyer
parent
78305edf71
commit
51c6eddd0d
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user