We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a7da6 commit 453f76fCopy full SHA for 453f76f
lib/gc/ExecutionEngine/GPURuntime/ocl/GpuOclRuntime.cpp
@@ -490,8 +490,10 @@ OclRuntime::createQueue(bool outOfOrder) const {
490
cl_command_queue queue;
491
#ifdef CL_VERSION_2_0
492
cl_queue_properties properties[] = {
493
- CL_QUEUE_PROPERTIES, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
494
- static_cast<cl_queue_properties>(outOfOrder ? 1 : 0)};
+ CL_QUEUE_PROPERTIES,
+ static_cast<cl_queue_properties>(
495
+ outOfOrder ? CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE : 0),
496
+ 0};
497
queue = clCreateCommandQueueWithProperties(ext.context, ext.device,
498
properties, &err);
499
#else
0 commit comments