Closed wyegelwel closed 10 years ago
Just a heads up, Cuda supports function pointers in 2.x architectures as of Cuda 3.2. Thought you might like to know. Here is a nice forum post that explains how to use them: https://devtalk.nvidia.com/default/topic/457094/how-can-i-use-device-function-%20pointer-in-cuda-/
there's another code example in /contrib/projects/cuda5-toolkit/samples/6_Advanced/FunctionPointers, if it helps
/contrib/projects/cuda5-toolkit/samples/6_Advanced/FunctionPointers
Just a heads up, Cuda supports function pointers in 2.x architectures as of Cuda 3.2. Thought you might like to know. Here is a nice forum post that explains how to use them: https://devtalk.nvidia.com/default/topic/457094/how-can-i-use-device-function-%20pointer-in-cuda-/