From 066c577e52917722b5c0f75f79f7638b15b73216 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sat, 2 Mar 2024 22:27:47 -0500 Subject: [PATCH] Sat Mar 2 10:27:47 PM EST 2024 --- src/gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu.c b/src/gpu.c index b5e2ef0..73e526e 100644 --- a/src/gpu.c +++ b/src/gpu.c @@ -171,7 +171,7 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB, exit(1); } //Run the program - size_t work_size[] = {rowsA, colsB}; + size_t work_size[] = {shared, shared}; err = clEnqueueNDRangeKernel(GPU_command_queue, kernel, 2, NULL, work_size, NULL, 0, NULL, NULL); if (err != CL_SUCCESS) { -- 2.39.5