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,