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