happynear / happynear/caffe-windows
已完成在项目“caffelib.vcxproj”中生成目标“CudaBuild”的操作 - 失败。
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
我的环境是WIN7 SP1,VS 2013 CUDA 6.5
## 已经把CUDA版本都改成了6.5,可以用VS打开。在生成caffelib时发生错误。错误信息如下:
1>E:/FLL/happynearCAFFE/caffe-windows/src/caffe/layers/conv_layer.cu(16): error : too few arguments in function call
1>
1> 1 error detected in the compilation of "C:/Users/FLL/AppData/Local/Temp/tmpxft_0000800c_00000000-3_conv_layer.cpp4.ii".
1> conv_layer.cu
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 6.5.targets(593,9): error MSB3721: 命令“"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -I../../3rdparty/include -I../../src -I../../include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Xcudafe "--diag_suppress=exception_spec_override_incompat --diag_suppress=useless_using_declaration --diag_suppress=field_without_dll_interface" -D_SCL_SECURE_NO_WARNINGS -DGFLAGS_DLL_DECL= -D_VARIADIC_MAX=10 -DWIN32 -DNDEBUG -D_CONSOLE -DUSE_CUDNN -DUSE_OPENCV -DUSE_LEVELDB -DUSE_LMDB -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MD " -o Release\conv_layer.cu.obj "E:\FLL\happynearCAFFE\caffe-windows\src\caffe\layers\conv_layer.cu"”已退出,返回代码为 2。
## 1>已完成执行任务“CudaCompile”的操作 - 失败。
## 错误发生在E:/FLL/happynearCAFFE/caffe-windows/src/caffe/layers/conv_layer.cu(16),
## this->forward_gpu_gemm(bottom_data + n \* this->bottom_dim_, weight, top_data + n \* this->top_dim_);
这一句上。请问是不是不支持CUDA 6.5?
Contributor guide
Assessment
This issue has not been assessed yet.