]> foleosoft.com Git - QAnsel.git/commitdiff
Sat Mar 2 10:27:47 PM EST 2024
authormiha-q <>
Sun, 3 Mar 2024 03:27:47 +0000 (22:27 -0500)
committermiha-q <>
Sun, 3 Mar 2024 03:27:47 +0000 (22:27 -0500)
src/gpu.c

index b5e2ef013afcfbd5b07b9c0382ceee3a5d63c0b4..73e526e9286c410fc4dbe38ebdb2da3ad34a6b89 100644 (file)
--- 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)
        {