I came across two functions
__cudaRegisterFatBinary()
and
__cudaRegisterFunction()
I understand nvcc injects it into the source code to get the handle to the compiled cubin and to register the program with the runtime.
Can some one explain me or point me towards where i can find information on each of the parameters of the functions? specifically I want to know more about the __cudafatcudabinaryrec
pointer used in the first function. And about host function and device function pointers in the second function.
Thank you
Prototypes are in
cudart.h
.But please note that these functions are not meant to be called directly by user code.