Skip to content

Commit b84beb3

Browse files
committed
Merge branch 'main' of https://github.com/intel/graph-compiler into zhicong/gpu_profile
2 parents bd6e594 + 453f76f commit b84beb3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/gc/ExecutionEngine/GPURuntime/ocl/GpuOclRuntime.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,10 @@ OclRuntime::createQueue(bool outOfOrder) const {
518518
cl_command_queue queue;
519519
#ifdef CL_VERSION_2_0
520520
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)};
521+
CL_QUEUE_PROPERTIES,
522+
static_cast<cl_queue_properties>(
523+
outOfOrder ? CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE : 0),
524+
0};
523525
queue = clCreateCommandQueueWithProperties(ext.context, ext.device,
524526
properties, &err);
525527
#else

0 commit comments

Comments
 (0)