Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile problem #25

Open
2033329616 opened this issue May 7, 2020 · 0 comments
Open

compile problem #25

2033329616 opened this issue May 7, 2020 · 0 comments

Comments

@2033329616
Copy link

-- Build files have been written to: /notebooks/caffe-master-new
[  1%] Built target proto
[  1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_layer.cu.o
/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(271): error: too few arguments in function call
          detected during instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=float]"
(1017): here

/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(368): error: too few arguments in function call
          detected during:
            instantiation of "void caffe::DenseBlockLayer<Dtype>::GPU_Initialization() [with Dtype=float]"
(505): here
            instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=float]"
(1017): here

/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(368): error: too few arguments in function call
          detected during:
            instantiation of "void caffe::DenseBlockLayer<Dtype>::GPU_Initialization() [with Dtype=double]"
(505): here
            instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=double]"
(1017): here

3 errors detected in the compilation of "/tmp/tmpxft_000047fe_00000000-6_DenseBlock_layer.cpp1.ii".
CMake Error at cuda_compile_1_generated_DenseBlock_layer.cu.o.Release.cmake:279 (message):
  Error generating file
  /notebooks/caffe-master-new/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/./cuda_compile_1_generated_DenseBlock_layer.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:1143: recipe for target 'src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_layer.cu.o' failed
make[2]: *** [src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_layer.cu.o] Error 1
CMakeFiles/Makefile2:240: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant