Hello,
I have a question regarding the creation of kernels from pre-compiled .ir files.
I create a .ir using ioc32 –cmd=compile –input=kernel.cll –device=GPU –ir=kernel.or
In my code I:
a) Load the .ir from file
b) Create a clProgram clCreateProgramWithBinary with my binary (clBuildProgram(my cl_program 1, &my_cldevice, NULL, NULL, NULL))
c) Call clBuildProgram with the clProgram created from above.
b) and c) complete with no error
However when I call clCreateKernel a CL_INVALID_KERNEL_NAME error is returned.
Should I expect the above to work? (If I use -cmd=build in my command line clCreateKernel cimpletes with no error. But it seems redundant to call clBuildProgram on a pre-built executable ,ir
I am using version 1.5.0.43 on a Broadwell device