printf("Line %d.\n", __LINE__);
#endif
printf("------------------------------\n%s\n------------------------------\n", src_gpu_mmul_cl);
- cl_program program = clCreateProgramWithSource(GPU_context, 1, (const char**)(&src_gpu_mmul_cl), NULL, &err);
+ cl_program program = clCreateProgramWithSource(GPU_context, 1, &src_gpu_mmul_cl, NULL, &err);
if (err != CL_SUCCESS)
{
fprintf(stderr, "GPU fatal error: clCreateProgramWithSource() failed.\n");