I solved another problem… and I wrote a new opencl kernel source.
The new kernel source is hextile code in opencl. I want to control the hextile encoding to the openCL(GPU).
I’m changed the source code to use opencl.
When it is builded, the error is occured.
I seek this error. It is “CL_INVALID_BINARY” error.
CL_INVALID_BINARY means if program is created with clCreateWithProgramBinary and devices listed in device_list do not have a valid program binary loaded.
But I didn’t call the clCreateWithProgramBinary() function. I called clCreateProgramWithSource() function.
why is this occured the problem?