From f15858487dacc405116923b4438207eb892fa126 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sat, 2 Mar 2024 21:26:24 -0500 Subject: [PATCH] Sat Mar 2 09:26:24 PM EST 2024 --- src/gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu.c b/src/gpu.c index a3907ac..433c992 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 - cl_program program = clCreateProgramWithSource(GPU_context, 1, (const char**)(gpu_mmul_cl), &gpu_mmul_cl_len, &err); + cl_program program = clCreateProgramWithSource(GPU_context, 1, (const char**)(&gpu_mmul_cl), &gpu_mmul_cl_len, &err); if (err != CL_SUCCESS) { fprintf(stderr, "GPU fatal error: clCreateProgramWithSource() failed.\n"); -- 2.39.5