I have a CUDA class, let\'s call it A
, defined in a header file. I have written a test kernel which creates an instance of class A
, which compiles
This would appear to have been a genuine bug of some sort in the CUDA 5.0 ptxas
assembler. It was reported to NVIDIA and we can assume that it was fixed sometime during the more than three years since the question was asked and this answer added.
[This answer has been assembled from comments and added as a community wiki entry to get this question off the unanswered question list ]