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

index 7eb1b3f603eb8f34b1367a716b4efe209e21c4d2..a38fd93efd5daff6ebef20ac8205f0552ff3cc01 100644 (file)
@@ -25,5 +25,5 @@ __kernel void gpu_mmul
         int posB = colR + i * colsB;
         sum += ptrA[posA] * ptrB[posB];
     }
-    ptrR[row * colsR + col] = sum;
+    ptrR[rowR * colsR + colR] = sum;
 }
\ No newline at end of file