我有问题包括<cuda_runtime.h>
在.cpp
文件中.错误:Cannot include file: cuda_runtime.h: No such file or directory
.
我试图从Rob Farber(http://www.drdobbs.com/architecture-and-design/222600097?pgno=1)中编写代码.
我之前编译过几个cuda代码,但<cuda_runtime.h>
总是包含在.cu
文件中.
我正在使用VS 2008 Express.
问:我是否必须以某种方式将VS链接起来以便知道在哪里寻找<cuda_runtime.h>
?