From a6b4b0b1f8c9f93be5754e15589db77702502d13 Mon Sep 17 00:00:00 2001 From: JordanHanotiaux <103147288+JordanHanotiaux@users.noreply.github.com> Date: Mon, 19 May 2025 11:03:35 +0200 Subject: [PATCH] Update main.cpp --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 9d2720f..a36d5e6 100644 --- a/main.cpp +++ b/main.cpp @@ -107,7 +107,7 @@ int main(int argc, char** argv) { cl::Context context(device); cl_int err; - cl_command_queue cq = clCreateCommandQueue(context(), device, CL_QUEUE_PROFILING_ENABLE, &err); + cl_command_queue cq = clCreateCommandQueue(context(), device(), CL_QUEUE_PROFILING_ENABLE, &err); if (err != CL_SUCCESS) { std::cerr << "Failed to create command queue: " << err << std::endl; exit(1); -- GitLab