diff --git a/src/api.cpp b/src/api.cpp index c77211dd..ce65913a 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -1478,7 +1478,7 @@ cvk_create_command_queue(cl_context context, cl_device_id device, cl_int err = CL_SUCCESS; if (!(config.ignore_out_of_order_execution.set && - config.ignore_out_of_order_execution())) { + config.ignore_out_of_order_execution())) { // We do not support out of order command queues so this must fail if (properties & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE && !out_of_order_device_support(device, err)) {