View Full Version : clCreateProgramWithBinary

10-02-2012, 11:47 AM
Please, i really need help.

i don't know what's happening, and i lost a lot of time trying solve that without any effects.

The error in my log is: Error: Runtime failed to load kernels from OCL binary!

Very Thanks anyone that can will help me.

Below my code:

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

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

int erro_create_kernel;
sivia = clCreateKernel(program,"sivia",&erro_create_kernel);