title: what are the parameters for __cudaRegisterFatBinary and __cudaRegisterFunction functions?
body: <p>I came across two functions</p>
  
  <p><code>__cudaRegisterFatBinary()</code></p>
  
  <p>and </p>
  
  <p><code>__cudaRegisterFunction()</code></p>
  
  <p>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.</p>
  
  <p>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 <code>__cudafatcudabinaryrec</code> pointer used in the first function. And about host function and device function pointers in the second function.</p>
  
  <p>Thank you</p>