title: Function Pointers With CUDA Device Functions
body: <p>I would like use function pointers in my Cuda C++ code, like below,</p>
  
  <p><code>typedef __device__ void customFunc(const char*, uint64_t, char*, const uint64_t);</code></p>
  
  <p>which is what I'm after. Its equivalent without "__device__" does work perfectly well. </p>
  
  <p>Are function pointers supported in Cuda?</p>
  
  <p>Edit:</p>
  
  <p>I'm specifically interested in how to use __device__ functions as functions pointers to __device__ functions</p>