From: miha-q <> Date: Thu, 7 Mar 2024 23:54:44 +0000 (-0500) Subject: Thu Mar 7 06:54:44 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=4402f356d0a44030024e0a1bbd6644b9f9700c96;p=QAnsel.git Thu Mar 7 06:54:44 PM EST 2024 --- diff --git a/src/complex.c b/src/complex.c index c3a8bf7..e95d3be 100644 --- a/src/complex.c +++ b/src/complex.c @@ -695,9 +695,8 @@ 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 = 1; //Run the program - err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 1, NULL, (size_t[]){rowsR / 2}, &q, 0, NULL, NULL); + err = clEnqueueNDRangeKernel(cpx_mtx_command_queue, kernel, 1, NULL, (size_t[]){rowsR / 2}, NULL, 0, NULL, NULL); gpuerr(clEnqueueNDRangeKernel);