From: miha-q <> Date: Sun, 3 Mar 2024 07:40:30 +0000 (-0500) Subject: Sun Mar 3 02:40:30 AM EST 2024 X-Git-Url: http://www.foleosoft.com/?a=commitdiff_plain;h=0bf88462a4605743e979d1e6043ce7741c755b6c;p=QAnsel.git Sun Mar 3 02:40:30 AM EST 2024 --- diff --git a/src/gpu/gpu.c b/src/gpu/gpu.c index 101926c..2930596 100644 --- a/src/gpu/gpu.c +++ b/src/gpu/gpu.c @@ -110,9 +110,6 @@ void GPU_mmul(float* ptrR, float* ptrA, float* ptrB, size_t rowsA, size_t colsB, if (GPU_mmul_cache == NULL) { //Load and compile program - 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*[]){src_gpu_mmul_cl}, NULL, &err); if (err != CL_SUCCESS) {