2
2
# Contributions simplifying and improving our build system are welcome!
3
3
4
4
# cuDNN acceleration switch (uncomment to build with cuDNN).
5
- # USE_CUDNN := 1
5
+ USE_CUDNN := 1
6
6
7
7
# CPU-only switch (uncomment to build without GPU support).
8
- # CPU_ONLY := 1
8
+ # CPU_ONLY := 0
9
9
10
10
# uncomment to disable IO dependencies and corresponding data layers
11
- # USE_OPENCV := 0
12
- # USE_LEVELDB := 0
13
- # USE_LMDB := 0
11
+ USE_OPENCV := 0
12
+ USE_LEVELDB := 0
13
+ USE_LMDB := 0
14
14
15
15
# uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary)
16
16
# You should not set this flag if you will be reading LMDBs with any
@@ -36,32 +36,32 @@ CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
36
36
-gencode arch=compute_20,code=sm_21 \
37
37
-gencode arch=compute_30,code=sm_30 \
38
38
-gencode arch=compute_35,code=sm_35 \
39
- -gencode arch=compute_50 ,code=sm_50 \
40
- -gencode arch=compute_50 ,code=compute_50
39
+ -gencode arch=compute_52 ,code=sm_52 \
40
+ -gencode arch=compute_52 ,code=compute_52
41
41
42
42
# BLAS choice:
43
43
# atlas for ATLAS (default)
44
44
# mkl for MKL
45
45
# open for OpenBlas
46
- BLAS := atlas
46
+ BLAS := open
47
47
# Custom (MKL/ATLAS/OpenBLAS) include and lib directories.
48
48
# Leave commented to accept the defaults for your choice of BLAS
49
49
# (which should work)!
50
- # BLAS_INCLUDE := /path/to/your/blas
51
- # BLAS_LIB := /path/to/your/blas
50
+ # BLAS_INCLUDE := /opt/intel/mkl/include
51
+ # BLAS_LIB := /opt/intel/mkl/lib/intel64
52
52
53
53
# Homebrew puts openblas in a directory that is not on the standard search path
54
54
# BLAS_INCLUDE := $(shell brew --prefix openblas)/include
55
55
# BLAS_LIB := $(shell brew --prefix openblas)/lib
56
56
57
57
# This is required only if you will compile the matlab interface.
58
58
# MATLAB directory should contain the mex binary in /bin.
59
- # MATLAB_DIR := /usr/local
59
+ MATLAB_DIR := /usr/local/MATLAB/R2015a
60
60
# MATLAB_DIR := /Applications/MATLAB_R2012b.app
61
61
62
62
# NOTE: this is required only if you will compile the python interface.
63
63
# We need to be able to find Python.h and numpy/arrayobject.h.
64
- PYTHON_INCLUDE := /usr/include/python2.7 \
64
+ # PYTHON_INCLUDE := /usr/include/python2.7 \
65
65
/usr/lib/python2.7/dist-packages/numpy/core/include
66
66
# Anaconda Python distribution is quite popular. Include path:
67
67
# Verify anaconda location, sometimes it's in root.
@@ -98,7 +98,6 @@ LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib
98
98
# (Usually not necessary -- OpenCV libraries are normally installed in one of the above $LIBRARY_DIRS.)
99
99
# USE_PKG_CONFIG := 1
100
100
101
- # N.B. both build and distribute dirs are cleared on `make clean`
102
101
BUILD_DIR := build
103
102
DISTRIBUTE_DIR := distribute
104
103
0 commit comments