From 27cdc74ed256af5fe6c84dd6359a7d741fe32cbd Mon Sep 17 00:00:00 2001
From: JordanHanotiaux <103147288+JordanHanotiaux@users.noreply.github.com>
Date: Mon, 19 May 2025 11:02:44 +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 6683979..dfc6705 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), 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