title: How to implement device side CUDA virtual functions?
body: <p>I see that CUDA doesn't allow for classes with virtual functions to be passed into kernel functions. Are there any work-arounds to this limitation?</p>
  
  <p>I would really like to be able to use polymorphism within a kernel function.</p>
  
  <p>Thanks!</p>