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

OpenCL Backend #2195

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
a3cd9d4
- Initial Commit
lunochod Mar 21, 2015
bbff646
- Initial OpenCL support
lunochod Mar 22, 2015
97cb739
- Initial OpenCL Support
lunochod Mar 22, 2015
a086c5f
- Initial OpenCL Commit / Layers
lunochod Mar 22, 2015
c400b18
- Initial OpenCL Commit / im2col_layer test
lunochod Mar 23, 2015
88895db
- Inititial OpenCL Commit / layer tests
lunochod Mar 23, 2015
eb28efc
- Initial OpenCL Commit / more layer tests
lunochod Mar 24, 2015
c6a74ea
- Initial OpenCL Commit / add more layer tests
lunochod Mar 24, 2015
9cc089d
- OpenCL Backend Feature Complete Commit
lunochod Mar 25, 2015
dc2f996
add cmake support for clBLAS and OpenCL
lunochod Mar 27, 2015
2d311f6
allow to build and install cifar10 example using cmake
lunochod Mar 31, 2015
df95424
delete printf() statement left while debugging
lunochod Mar 31, 2015
ced4903
add data/CMakeLists.txt
lunochod Mar 31, 2015
77c26cb
add OpenCL tests
Apr 4, 2015
11972d2
Remove global vars. Compiling not running yet.
jyegerlehner Apr 22, 2015
53b0201
More development.
jyegerlehner Apr 23, 2015
3f27b19
Removing more globals. Switch to single context.
jyegerlehner Apr 24, 2015
528fef5
More hacking.
jyegerlehner Apr 25, 2015
bc214a1
Repair Timer for passing tests.
jyegerlehner Apr 27, 2015
486f477
Align buffer allocations to device alignment.
jyegerlehner Apr 28, 2015
20b2d7e
Reverse change made on bad understanding of alignment warning.
jyegerlehner Apr 29, 2015
4a7d5f1
Merge pull request #2 from jyegerlehner/opencl_eliminate_globals
lunochod May 21, 2015
59be9cc
fix clgemm(), revert to clBLASgemm() as default
May 22, 2015
83378bb
Merge branch 'master' of https://github.com/lunochod/caffe.git
May 22, 2015
7b55325
* remove default device choice to be at index 1
May 30, 2015
1f3f08f
add support to SetCurrentDevice() by CL_DEVICE_TYPE and make first GPU
lunochod May 31, 2015
e6e5da0
* fix bug reporting OpenCL platform and device information
lunochod Jun 3, 2015
07da62c
* Performance Update
lunochod Jun 25, 2015
c61fb35
* add support for reusable device buffers in OpenCLBuffer.hpp
lunochod Jul 8, 2015
cc9b129
* found BUG in nvidia 352.21 OpenCL 1.2 driver
lunochod Jul 10, 2015
f7d8559
* various minor bug fixes
lunochod Jul 12, 2015
2dd4a52
add cmake installation for scripts
lunochod Jul 12, 2015
b798e8c
add models to cmake installation
lunochod Jul 12, 2015
fa33840
* fix all `make lint` errors
lunochod Jul 29, 2015
fbf99d0
change /home/travis to ~
lunochod Jul 30, 2015
4b381c2
use recent travis_install.sh
lunochod Jul 30, 2015
88e7789
update travis_setup_makefile_config.sh
lunochod Jul 30, 2015
a47580d
update .travis.yml
lunochod Jul 30, 2015
e86616c
chmod a+x travis_setup_makefile_config.sh
lunochod Jul 30, 2015
a131b13
add verbose to travis build
lunochod Jul 30, 2015
5f93123
add gcc-4.8 and g++-4.8 to travis_install.sh
lunochod Jul 30, 2015
89ed32e
add update-alternatives to travis_install.sh
lunochod Jul 30, 2015
945fdd2
add libboost-all-dev to travis_install.sh
lunochod Jul 30, 2015
da3d82d
change to g++-4.9 in travis_install.sh
lunochod Jul 30, 2015
20798f4
change to libboost1.55-all-dev
lunochod Jul 30, 2015
b241e33
add libopenblas-dev to travis_install.sh
lunochod Jul 30, 2015
9231d2e
switch to atlas
lunochod Jul 30, 2015
013f732
bug fix
lunochod Jul 30, 2015
87b1f20
.
lunochod Jul 30, 2015
d0f7c5e
..
lunochod Jul 30, 2015
768e86f
...
lunochod Jul 30, 2015
93326c3
add miniconda install readline
lunochod Jul 30, 2015
f7bd1fe
...
lunochod Jul 30, 2015
152aef6
...
lunochod Jul 31, 2015
403fedc
...
Jul 31, 2015
2687e92
...
Jul 31, 2015
494d391
...
lunochod Jul 31, 2015
cc68d36
* add layer registrations
lunochod Jul 31, 2015
37117c0
...
lunochod Jul 31, 2015
c8a831a
change -O3 to -O2
lunochod Jul 31, 2015
d94a9a5
change -O2 to -O0
lunochod Jul 31, 2015
3569897
...
lunochod Jul 31, 2015
2cd2dd2
...
lunochod Jul 31, 2015
7c222a6
Merge branch 'master' of https://github.com/lunochod/caffe.git
lunochod Jul 31, 2015
8bff1a8
...
lunochod Jul 31, 2015
969ea13
add sudo modprobe raw1394
lunochod Jul 31, 2015
c141512
temporary remove --gtest_shuffle
lunochod Aug 1, 2015
7002ffa
temporary remove SoftmaxWithLossLayerTest due to Illegal Instruction in
lunochod Aug 1, 2015
7decc27
temporary remove SoftmaxLayerTest due to Illegal Instruction in
lunochod Aug 1, 2015
0e8de41
temporary remove NeuronLayerTest/*.TestPReLUInPlace due to Illegal
lunochod Aug 1, 2015
f5c1aeb
temporary remove NeuronLayerTest/*.TestPReLUInPlace due to Illegal
lunochod Aug 1, 2015
934d9c0
...
lunochod Aug 1, 2015
c5e7b24
...
lunochod Aug 2, 2015
ac3892e
...
lunochod Aug 2, 2015
b3c3760
...
lunochod Aug 2, 2015
2cdcc41
...
lunochod Aug 2, 2015
7ba0ed3
...
lunochod Aug 2, 2015
7aa2db9
...
lunochod Aug 2, 2015
8888588
...
lunochod Aug 2, 2015
fffa755
...
lunochod Aug 2, 2015
9cf91d6
...
lunochod Aug 2, 2015
25d735d
...
lunochod Aug 2, 2015
385d3fc
...
lunochod Aug 2, 2015
d0da4e3
switch from OpenBLAS to ATLAS for tests
lunochod Aug 2, 2015
0dc5ddd
...
lunochod Aug 2, 2015
e30ae2a
...
lunochod Aug 2, 2015
bb907b4
enabling all CPU tests
lunochod Aug 2, 2015
a436dc3
* re-enable all matrix tests in .travis.yml
Aug 6, 2015
7b4c369
* change to g++-4.9 and gcc-4.9
lunochod Aug 6, 2015
a933ae1
* use gcc-4.8 for WITH_CUDA
lunochod Aug 6, 2015
793a0aa
* various bug fixes for nVidia GPUs
lunochod Aug 24, 2015
a98939d
* add OpenCL clFlush() to benchmark
Aug 26, 2015
209fac0
* add device sync to timer call
Aug 26, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Expand Up @@ -13,8 +13,9 @@ include(cmake/Summary.cmake)
include(cmake/ConfigGen.cmake)

# ---[ Options
caffe_option(CPU_ONLY "Build Caffe wihtout CUDA support" OFF) # TODO: rename to USE_CUDA
caffe_option(USE_CUDNN "Build Caffe with cuDNN libary support" ON IF NOT CPU_ONLY)
caffe_option(CPU_ONLY "Build Caffe without CUDA support" OFF) # TODO: rename to USE_CUDA
caffe_option(USE_OPENCL "Build Caffe with OpenCL support" OFF)
caffe_option(USE_CUDNN "Build Caffe with cuDNN libary support" ON IF NOT CPU_ONLY OR USE_OPENCL)
caffe_option(BUILD_SHARED_LIBS "Build shared libraries" ON)
caffe_option(BUILD_python "Build Python wrapper" ON)
set(python_version "2" CACHE STRING "Specify which python version to use")
Expand Down