You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have succeed to compile caffe with CPU mode.
But when I tried to compile it with GPU mode, I met these problems.
...
[ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_silence_layer.cu.o
[ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o
/home/care/git/person_search/caffe/include/caffe/util/cudnn.hpp(107): error: too few arguments in function call
1 error detected in the compilation of "/tmp/tmpxft_0000762a_00000000-5_im2col.cpp4.ii".
CMake Error at cuda_compile_generated_im2col.cu.o.cmake:266 (message):
Error generating file
/home/care/git/person_search/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o
...
The commonds I have entered are(my cudnn* files are copied to responding "cuda" folders):
cd caffe
mkdir build
cd build
cmake .. -DUSE_MPI=ON -DCUDNN_INCLUDE=/usr/local/cuda/include -DCUDNN_LIBRARY=/usr/local/cuda/lib64/libcudnn.so
make -j8
my cuda version is 8.0, cudnn version is 6.0.21, gcc version is 5.4.
The text was updated successfully, but these errors were encountered:
I have succeed to compile caffe with CPU mode.
But when I tried to compile it with GPU mode, I met these problems.
...
[ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_silence_layer.cu.o
[ 5%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_eltwise_layer.cu.o
/home/care/git/person_search/caffe/include/caffe/util/cudnn.hpp(107): error: too few arguments in function call
1 error detected in the compilation of "/tmp/tmpxft_0000762a_00000000-5_im2col.cpp4.ii".
CMake Error at cuda_compile_generated_im2col.cu.o.cmake:266 (message):
Error generating file
/home/care/git/person_search/caffe/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o
...
The commonds I have entered are(my cudnn* files are copied to responding "cuda" folders):
cd caffe
mkdir build
cd build
cmake .. -DUSE_MPI=ON -DCUDNN_INCLUDE=/usr/local/cuda/include -DCUDNN_LIBRARY=/usr/local/cuda/lib64/libcudnn.so
make -j8
my cuda version is 8.0, cudnn version is 6.0.21, gcc version is 5.4.
The text was updated successfully, but these errors were encountered: