View Full Version : Runtime failed to load kernels from OCL binary

10-01-2012, 10:13 AM

In this sentence cl_int status;
program = clCreateProgramWithBinary(context,
1, &device,
&lSize, (const unsigned char**)&buffer,
NULL, &status);

The status variable is CL_SUCCESS

But in cl_int erro_compila_kernel = clBuildProgram(program, 1, &device, NULL, NULL, NULL);

CL_BUILD_PROGRAM_FAILURE happening and in the error log is: "Runtime failed to load kernels from OCL binary!"

No one know how can solve that?

Very thanks,