Working Modified Caffe for AMD GPU's OpenCL for Windows 10 .
This is an experimental but working repo i.e. forked from official caffe’s Opencl branch for targeting AMD GPUs Only. Forked from https://github.com/BVLC/caffe/commit/74312cfc64c07b69616c8d0d5e1b6b020670c783
pip install numpy
)Open Command Prompt and follow up:
git clone https://github.com/abhiTronix/caffe-opencl-windows-amd.git
cd caffe-opencl-windows-amd
git checkout opencl-windows-amd
mkdir build && cd build
cmake -G"Visual Studio 15 2017 Win64" -DBLAS=Open -DViennaCL_INCLUDE_DIR=<path to ViennaCL Library> -DOpenCV_DIR=<path to OpenCV build> -DOPENCL_LIBRARIES= <path to AMD APP SDK Static Library> ..
cmake --build . --target install --config release
Final Files can be found here: caffe/build/install
Caffe is a deep learning framework made with expression, speed, and modularity in mind.
It is developed by Berkeley AI Research (BAIR)/The Berkeley Vision and Learning Center (BVLC) and community contributors.
Caffe is released under the BSD 2-Clause license.
The BAIR/BVLC reference models are released for unrestricted use.