title: How do I get a cuFunction from a __global__ function I've written?
body: <p>Suppose I want to use CUDA's lower-level driver API on some source I've written. I know about <code>cuLaunchKernel</code>, but I can't seem to find in the docs the exact explanation of how you get the <code>cuFunction</code> to pass to it from your <code>__global__</code> functions,. </p>