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.
2 parents bd6e594 + 453f76f commit b84beb3Copy full SHA for b84beb3
lib/gc/ExecutionEngine/GPURuntime/ocl/GpuOclRuntime.cpp
@@ -518,8 +518,10 @@ OclRuntime::createQueue(bool outOfOrder) const {
518
cl_command_queue queue;
519
#ifdef CL_VERSION_2_0
520
cl_queue_properties properties[] = {
521
- CL_QUEUE_PROPERTIES, CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE,
522
- static_cast<cl_queue_properties>(outOfOrder ? 1 : 0)};
+ CL_QUEUE_PROPERTIES,
+ static_cast<cl_queue_properties>(
523
+ outOfOrder ? CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE : 0),
524
+ 0};
525
queue = clCreateCommandQueueWithProperties(ext.context, ext.device,
526
properties, &err);
527
#else
0 commit comments