hed icon indicating copy to clipboard operation
hed copied to clipboard

cudnn error: too few arguments in function call

Open erikbasargin opened this issue 7 years ago • 1 comments

Hello. I use gcc-4.8.5, CUDA 8.0 and cuDNN 6.0. I receive errors:

[  2%] Built target proto
[  2%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_im2col.cu.o
/home/puasonych/hed/include/caffe/util/cudnn.hpp(104): error: too few arguments in function call
/home/puasonych/hed/include/caffe/util/cudnn.hpp(123): error: argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t"
/home/puasonych/hed/include/caffe/util/cudnn.hpp(123): error: too few arguments in function call

3 errors detected in the compilation of "/tmp/tmpxft_00007ef5_00000000-5_im2col.cpp4.ii".
CMake Error at cuda_compile_generated_im2col.cu.o.cmake:266 (message):
  Error generating file
  /home/puasonych/hed/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:533: ошибка выполнения рецепта для цели «src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_im2col.cu.o»
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_im2col.cu.o] 
Ошибка 1
CMakeFiles/Makefile2:272: ошибка выполнения рецепта для цели «src/caffe/CMakeFiles/caffe.dir/all»
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Ошибка 2
Makefile:127: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2

At the same time Caffe 1.0.0 build without problems.

erikbasargin avatar May 22 '17 07:05 erikbasargin

your cudnn's version doesn't match the cudnn's version of the hed.you can use the your cudunn's header file and source file repalace the hed's cudnn.

chaobeiying avatar Aug 16 '18 01:08 chaobeiying