suppose, I have several kernels
void global A1(…)
void global A10(…)
and I want to compile them to binary and these binary part will be used in C sources later.
The reason why I need it: I have CUDA complicated algorithm that I do not intend to provide in sources, but I want to provide C/C++ code to my customer with CUDA binary and rest part as sources, that this project can be build in any possible Linux/Windows 32/64 platform.
Can I put data from CUBIN or FATBIN file somehow into C array, and later us somewhere? If yes, please, suggest me how!