From eb44eb63677cf2878328ac4d3aa0319435e086d8 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Mon, 4 Mar 2024 10:20:13 -0500 Subject: [PATCH] Mon Mar 4 10:20:13 AM EST 2024 --- src/complex2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/complex2.c b/src/complex2.c index 5309236..ae3677c 100644 --- a/src/complex2.c +++ b/src/complex2.c @@ -307,7 +307,7 @@ void cpx_mtx_dot_metal(float* ptrR, float* ptrA, float* ptrB, int rowsA, int col err = clSetKernelArg(kernel, 5, sizeof(int), &shared); gpuerr(clSetKernelArg); //Run the program - size_t work_size[] = {rowsA, colsB}; + size_t work_size[] = {rowsR, colsR}; err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 2, NULL, work_size, NULL, 0, NULL, NULL); gpuerr(clEnqueueNDRangeKernel); -- 2.39.5