From: miha-q <> Date: Mon, 4 Mar 2024 15:20:13 +0000 (-0500) Subject: Mon Mar 4 10:20:13 AM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=eb44eb63677cf2878328ac4d3aa0319435e086d8;p=QAnsel.git Mon Mar 4 10:20:13 AM EST 2024 --- 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);