From: miha-q <> Date: Sun, 3 Mar 2024 03:27:47 +0000 (-0500) Subject: Sat Mar 2 10:27:47 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=066c577e52917722b5c0f75f79f7638b15b73216;p=QAnsel.git Sat Mar 2 10:27:47 PM EST 2024 --- 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) {