Open yewang0320 opened 7 years ago
It now miraculously works on my secondary GPU when I caffe.set_device(1), and much faster than CPU only mode! Still wondering why the other GPU is reporting error, not enough memory?
Also, there is no workaround to enable two AMD GPUs working together?
Currently you can only run the GPUs separately, however there are some updates planned.
Can you please also show the output of the following command:
./build/tools/caffe device_query
It might be that your GPU number 0 is in fact a CPU with OpenCL support or an onboard GPU that does not support LibDNN.
You are right Fabion, set gpu device to 2 solve the problem. Thank you.
Issue summary
I was able to successfully compile the opencl branch caffe. When I enable libdnn for compiling and make runtest, these fails will occur:
I tested the built pycaffe by:
I get the following error:
Steps to reproduce
My makefile.config is (only including relevant parts):
Your system configuration
Operating system: OSX 10.12 Compiler: clang CUDA version (if applicable): N/A CUDNN version (if applicable): N/A BLAS: ViennalCL (tried clBLAS, the same) Python or MATLAB version (for pycaffe and matcaffe respectively): 2.7.13
It works with libdnn disabled, but not even as fast as cpu mode. Thank you