naibaf7 / caffe

Caffe: a fast open framework for deep learning. With OpenCL and CUDA support.
http://caffe.berkeleyvision.org/
Other
85 stars 20 forks source link

Enable custom clBLAS installation paths. #27

Closed psyhtest closed 8 years ago

psyhtest commented 8 years ago

Caffe enables easy customisation of the BLAS library to use, as follows:

# BLAS choice:
# atlas for ATLAS (default)
# mkl for MKL
# open for OpenBlas
BLAS := atlas
# Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
# Leave commented to accept the defaults for your choice of BLAS
# (which should work)!
# BLAS_INCLUDE := /path/to/your/blas
# BLAS_LIB := /path/to/your/blas

The proposed change is similar. It only relates to clBLAS, however, as OpenCL BLAS implementations are not as standardised as C ones.