diff --git a/lib/gpu/geryon/ocl_device.h b/lib/gpu/geryon/ocl_device.h index 095c1395f2..185f4967e8 100644 --- a/lib/gpu/geryon/ocl_device.h +++ b/lib/gpu/geryon/ocl_device.h @@ -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); }