summaryrefslogtreecommitdiff
path: root/Makefile.config.example
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-04-15 01:37:06 -0600
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-04-15 01:49:08 -0600
commited38827284e27d6af3b48b21a95f4094433d632e (patch)
tree30f355487d09b404ff23ee93f808d68ef526a361 /Makefile.config.example
parent426f089df4563de9ef2c69e90ec6c66131663a8a (diff)
downloadcaffeonacl-ed38827284e27d6af3b48b21a95f4094433d632e.tar.gz
caffeonacl-ed38827284e27d6af3b48b21a95f4094433d632e.tar.bz2
caffeonacl-ed38827284e27d6af3b48b21a95f4094433d632e.zip
Give choice of ATLAS, MKL, and OpenBLAS (with option to override paths)
- configure build for ATLAS, MKL, or OpenBLAS on Linux and OSX - allow overriding of the include or lib dirs - replace magic numbers with BLAS names (atlas, mkl, open) Follow-up from #305 and #325.
Diffstat (limited to 'Makefile.config.example')
-rw-r--r--Makefile.config.example17
1 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.config.example b/Makefile.config.example
index be231c35..b6036553 100644
--- a/Makefile.config.example
+++ b/Makefile.config.example
@@ -10,13 +10,16 @@ CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35
-# BLAS switch:
-# 0 for ATLAS BLAS (default)
-# 1 for MKL BLAS
-# 2 for OpenBlas
-BLAS := 0
-# (MKL/ATLAS/OpenBlas) directory contains include/ and lib/ directions that we need.
-#BLAS_DIR := /opt/intel/mkl
+# 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
# This is required only if you will compile the matlab interface.
# MATLAB directory should contain the mex binary in /bin.