Cuda初学者错误

时间:2012-03-15 17:03:49

标签: cuda

我刚刚安装了Cuda 4.1,Nsight 2.1和VS2010。我开始写一个hello world但是有一个错误:

helloWorld<<< dimGrid, dimBlock >>>(d_str);

第三个&lt;是下划线和错误:在'&lt;'之前预期的primary-expression令牌

我读过这篇文章:Error compiling Cuda - expected primary-expression但我找不到解决方法来修复此错误

.cu文件:http://forums.nvidia.com/index.php?showtopic=90044&st=0&gopid=1383323&#entry1383323

0 个答案:

没有答案