Using binary

Hi,

At first it seems that i caught the binary and put in a file, and after load in a buffer.

When i loaded and made the program object with the binary with clCreateProgramWithBinary no error occurs, but in clCreateKernel(program,“sivia”,&erro_create_kernel);

CL_INVALID_KERNEL occurs.

Very Thanks for help

No one knows?

You do have a clBuildProgram after your clCreateProgramWithBinary, right? You still need to call that before clCreateKernel even when you’re starting with a binary…

edit: never mind, it seems from your other thread that you are calling it.

But, my code is as, first i call clCreateWithBinary, after clBuildProgram and after ClCreateKernel.

Is that?

Thanks,