]> foleosoft.com Git - QAnsel.git/commitdiff
Sun Mar 3 12:41:02 AM EST 2024
authormiha-q <>
Sun, 3 Mar 2024 05:41:02 +0000 (00:41 -0500)
committermiha-q <>
Sun, 3 Mar 2024 05:41:02 +0000 (00:41 -0500)
src/gpu/gpu_test.c

index f79ae1d03f288461c9f38a6543773851184301ed..6c75205a984a2b037c55a8d81d0978f0f4c8636a 100644 (file)
@@ -20,7 +20,7 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB,
         for (int j = 0; j < colsB; j++)
         {
             GPU_GLOBAL_ID_0 = i;
-            GPU_GLOBAL_ID_1 = i;
+            GPU_GLOBAL_ID_1 = j;
             gpu_mmul(ptrR, ptrA, ptrB, rowsA, colsB, shared);
         }
     }