I use CUDA to speed up some parts of program C. This program uses some C ++ keywords as identifiers, so it does not compile as C ++. Now that I have changed it using CUDA, how can I compile it using NVCC?
For example, I get an error message:
table.h(65): error: expected an identifier
when compiling the code:
struct sw_table_position { unsigned long private[4]; };
This is a perfectly valid C, but invalid C ++. I am using CUDA 5.
source share