From: miha-q <> Date: Sun, 3 Mar 2024 03:44:57 +0000 (-0500) Subject: Sat Mar 2 10:44:57 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=64e7c8f5a76f95fca067ee55c9360708f363e5ea;p=QAnsel.git Sat Mar 2 10:44:57 PM EST 2024 --- diff --git a/src/gpu_mmul.cl b/src/gpu_mmul.cl index 7eb1b3f..a38fd93 100644 --- a/src/gpu_mmul.cl +++ b/src/gpu_mmul.cl @@ -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