include里的没有cusp文件夹?

xxyct1993 2017-03-02 08:10:40
一开始程序编译显示文件夹缺失,我从别人那拷了一个过来后又出现这两个个问题,请问是我没有设置好吗?


1>C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include\cusp/precond/aggregation/detail/smoothed_aggregation.inl(49): error C2244: 'cusp::precond::aggregation::smoothed_aggregation<IndexType,ValueType,MemorySpace,SmootherType,SolverType,Format>::{ctor}' : unable to match function definition to an existing declaration


1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 7.5.targets(604,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc.exe" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --use-local-env --cl-version 2010 -ccbin "D:\Microsoft Visual Studio 10.0\VC\bin\x86_amd64" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -G --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -g -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\addMatrixTotal.cu.obj "E:\CUDA\cuda_1st_edition\cuda_1st_edition\cuda_1st_edition\sourceFile\addMatrixTotal.cu"" exited with code 2.
...全文
340 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xxyct1993 2017-03-02
  • 打赏
  • 举报
回复
解释一下是,一开始报错没有CUSP文件夹,后来拷了个进来。又出现了新的两个问题。小弟是新手,望各位多多指点。

579

社区成员

发帖
与我相关
我的任务
社区描述
CUDA™是一种由NVIDIA推出的通用并行计算架构,该架构使GPU能够解决复杂的计算问题。 它包含了CUDA指令集架构(ISA)以及GPU内部的并行计算引擎。
社区管理员
  • CUDA编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧