NVIDIA / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
672 stars 263 forks source link

How can I build nvcaffe on cuda11 #591

Closed judgeeeeee closed 3 years ago

judgeeeeee commented 3 years ago

I built nvcaffe:v0.17.3 on 11.0-cudnn8-devel-ubuntu18.04 . but got error

/usr/src/caffe/3rdparty/half_float/half.hpp(3095): error: constexpr function return is non-constant
9 errors detected in the compilation of "/usr/src/caffe/src/caffe/util/math_functions2.cu".
CMake Error at cuda_compile_1_generated_math_functions2.cu.o.Release.cmake:275 (message):
Error generating file
/usr/src/caffe/build/src/caffe/CMakeFiles/cuda_compile_1.dir/util/./cuda_compile_1_generated_math_functions2.cu.o
drnikolaev commented 3 years ago

v0.17.4