From: miha-q <> Date: Sun, 3 Mar 2024 02:07:43 +0000 (-0500) Subject: Sat Mar 2 09:07:43 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=63a2dd94ce517615f2cd03e1144536475f8fb30d;p=QAnsel.git Sat Mar 2 09:07:43 PM EST 2024 --- diff --git a/src/gpu_mmul.cl b/src/gpu_mmul.cl index 1e53db1..1c762f3 100644 --- a/src/gpu_mmul.cl +++ b/src/gpu_mmul.cl @@ -1,11 +1,3 @@ __kernel gpu_mmul(__global float* ptrR, __global float* ptrA, __global float* ptrB, const int N, const int W) { - int row = get_global_id(0); - int col = get_global_id(1); - float sum = 0; - for (int i = 0; i < N; i++) - { - sum += ptrA[row * W + i] * ptrB[i * W + col]; - } - ptrR[row * W + col] = sum; } \ No newline at end of file