// use normal c++ syntax highlighting for CUDA files工作正常,除了一个问题,kernel execution configuration parameters surrounded by <<< and >>>被误认为错误的expected an expression
dim
所以我的问题是:我在mac os x mountain lion上使用Nvidia的nsight应用程序来编写一个CUDA应用程序:源代码是.h/.cu/.cpp的混合体。bitreverse3(idata[threadIdx.x]);它一直在工作,直到我使用eclipse的新类向导添加了一个新的C++类文件(.h/.cpp)。