From c9d984efb918c44379b56ebb7fd972059aba3962 Mon Sep 17 00:00:00 2001 From: miha-q <> Date: Sun, 3 Mar 2024 02:39:56 -0500 Subject: [PATCH] Sun Mar 3 02:39:56 AM EST 2024 --- src/gpu/gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/gpu.c b/src/gpu/gpu.c index 3ee4148..101926c 100644 --- a/src/gpu/gpu.c +++ b/src/gpu/gpu.c @@ -113,7 +113,7 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB, char tmp[src_gpu_mmul_cl_len]; memcpy(tmp, src_gpu_mmul_cl, src_gpu_mmul_cl_len); const char* ptr = (const char*)src_gpu_mmul_cl; - program = clCreateProgramWithSource(GPU_context, 1, (const char*[]){tmp}, NULL, &err); + program = clCreateProgramWithSource(GPU_context, 1, (const char*[]){src_gpu_mmul_cl}, NULL, &err); if (err != CL_SUCCESS) { fprintf(stderr, "GPU fatal error: clCreateProgramWithSource() failed.\n"); -- 2.39.5