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

errors with nccl #61

Open
oyxhust opened this issue Feb 17, 2017 · 1 comment
Open

errors with nccl #61

oyxhust opened this issue Feb 17, 2017 · 1 comment

Comments

@oyxhust
Copy link

oyxhust commented Feb 17, 2017

When I compile caffe with NCCL, there are erross:
src/caffe/parallel.cpp: In instantiation of ‘void caffe::NCCL::Run(const std::vector&, const char*) [with Dtype = float]’:
src/caffe/parallel.cpp:372:1: required from here
src/caffe/parallel.cpp:343:5: error: no matching function for call to ‘caffe::Worker::StartInternalThread()’
w->StartInternalThread();
^
In file included from ./include/caffe/parallel.hpp:20:0,
from ./include/caffe/caffe.hpp:16,
from src/caffe/parallel.cpp:15:
./include/caffe/internal_thread.hpp:34:8: note: candidate: void caffe::InternalThread::StartInternalThread(caffe::device*)
void StartInternalThread(device* device_context);
^
./include/caffe/internal_thread.hpp:34:8: note: candidate expects 1 argument, 0 provided
src/caffe/parallel.cpp: In instantiation of ‘void caffe::NCCL::Run(const std::vector&, const char*) [with Dtype = double]’:
src/caffe/parallel.cpp:372:1: required from here
src/caffe/parallel.cpp:343:5: error: no matching function for call to ‘caffe::Worker::StartInternalThread()’
w->StartInternalThread();
^
In file included from ./include/caffe/parallel.hpp:20:0,
from ./include/caffe/caffe.hpp:16,
from src/caffe/parallel.cpp:15:
./include/caffe/internal_thread.hpp:34:8: note: candidate: void caffe::InternalThread::StartInternalThread(caffe::device*)
void StartInternalThread(device* device_context);
^
./include/caffe/internal_thread.hpp:34:8: note: candidate expects 1 argument, 0 provided
Makefile:717: recipe for target '.build_release/src/caffe/parallel.o' failed
make: *** [.build_release/src/caffe/parallel.o] Error 1
make: *** Waiting for unfinished jobs....
src/caffe/layer_factory.cpp: In function ‘boost::shared_ptr<caffe::Layer > caffe::GetPoolingLayer(const caffe::LayerParameter&) [with Dtype = double]’:
src/caffe/layer_factory.cpp:251:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
src/caffe/layer_factory.cpp: In function ‘boost::shared_ptr<caffe::Layer > caffe::GetPoolingLayer(const caffe::LayerParameter&) [with Dtype = float]’:
src/caffe/layer_factory.cpp:251:1: warning: control reaches end of non-void function [-Wreturn-type]

@naibaf7
Copy link
Owner

naibaf7 commented Feb 17, 2017

NCCL is currently unsupported in OpenCL Caffe. Single GPU only for both CUDA and OpenCL until a device unified solution is available.

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

2 participants