some questions about the kernel

Discussion created by logic1020 on Jul 11, 2010


I saw many discussions about "how to get the binary code in order to build program by clGreateProgramWithBinary()", and the suggestion is that :

use the clGreateProgramWithSurce() first, and then call clGetProgramInfo() to get the binary code, finally feed clCreateProgramWithBinary() with that binary code.

my question is: could I wite binary code(IL?) by myself or use stream KernelAnalyzer to generate the binary code to feed clCreateProgramWithBinary()  instead of getting it by  clGreateProgramWithSurce(),clGetProgramInfo()?

and any details about binary that clCreateProgramWithBinary() needs?