NVIDIA / caffe

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

CUDA 10.0 compilation error #546

Closed jwnsu closed 5 years ago

jwnsu commented 5 years ago

Ubuntu 16.04.5, cuda 10.0, V10.0.130. Latest pull from 0.17 branch:

make
NVCC src/caffe/util/nms.cu
src/caffe/util/nms.cu(68): error: initializer not allowed for __shared__ variable 

1 error detected in the compilation of "/tmp/tmpxft_0000360f_00000000-8_nms.compute_61.cpp1.ii".
Makefile:623: recipe for target '.build_release/cuda/src/caffe/util/nms.o' failed
make: *** [.build_release/cuda/src/caffe/util/nms.o] Error 1
drnikolaev commented 5 years ago

@jwnsu nms.cu file is not part of this codebase: https://github.com/NVIDIA/caffe/tree/caffe-0.17/src/caffe/util

jwnsu commented 5 years ago

Thx for the info. Indeed, nms.cu was added from another detection library.