From: miha-q <> Date: Sun, 3 Mar 2024 02:19:47 +0000 (-0500) Subject: Sat Mar 2 09:19:47 PM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=2c042ad96a6ee49a8745e7930122a5009fc3bd2e;p=QAnsel.git Sat Mar 2 09:19:47 PM EST 2024 --- diff --git a/src/gpu.c b/src/gpu.c index 2b45e95..0e6fc93 100644 --- a/src/gpu.c +++ b/src/gpu.c @@ -125,7 +125,7 @@ void GPU_mmul(double* ptrR, double* ptrA, double* ptrB, size_t rowsA, size_t col #ifdef GPU_DEBUG printf("Line %d.\n", __LINE__); #endif - const char** ccptr = (const char**)(&gpu_mmul_cl); + const char** ccptr = (const char**)(gpu_mmul_cl); cl_program program = clCreateProgramWithSource(GPU_context, 1, ccptr, &gpu_mmul_cl_len, &err); if (err != CL_SUCCESS) {