From: miha-q <> Date: Thu, 7 Mar 2024 23:55:29 +0000 (-0500) Subject: Thu Mar 7 06:55:29 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=eacad516a48000af15b535ab75c1adb65052218f;p=QAnsel.git Thu Mar 7 06:55:29 PM EST 2024 --- diff --git a/src/complex.c b/src/complex.c index e95d3be..ce2d8f5 100644 --- a/src/complex.c +++ b/src/complex.c @@ -695,8 +695,9 @@ void cpx_mtx_knk_metal_2x2(float* ptrR, float* ptrA, float* ptrB, int rowsA, int err = clSetKernelArg(kernel,10, sizeof(float), &gate6); gpuerr(clSetKernelArg); err = clSetKernelArg(kernel,11, sizeof(float), &gate7); gpuerr(clSetKernelArg); + size_t q = 2; //Run the program - err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 1, NULL, (size_t[]){rowsR / 2}, NULL, 0, NULL, NULL); + err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 1, NULL, (size_t[]){rowsR / 2}, &q, 0, NULL, NULL); gpuerr(clEnqueueNDRangeKernel);