#endif
printf("------------------------------\n%s\n------------------------------\n", src_gpu_mmul_cl);
- const size_t b = strlen(src_gpu_mmul_cl);
- cl_program program = clCreateProgramWithSource(GPU_context, 1, &src_gpu_mmul_cl, &b, &err);
+ cl_program 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");