title: NVRTC and __device__ functions
body: <p>I am trying to optimize my simulator by leveraging run-time compilation. My code is pretty long and complex, but I identified a specific <code>__device__</code> function whose performances can be strongly improved by removing all global memory accesses.</p>
  
  <p>Does CUDA allow the dynamic compilation and linking of a single <code>__device__</code> function (not a <code>__global__</code>), in order to "override" an existing function?</p>