summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemysław Dolata <snowball91b@gmail.com>2017-11-28 10:36:47 (GMT)
committerGitHub <noreply@github.com>2017-11-28 10:36:47 (GMT)
commite93b5e20356689654995e0bf2ce9cbb285a250f3 (patch)
tree53c9a0b5e64fce519be042d580deccf3b81bfc5a
parentc430690aa5528e94e019971b94de325539984e77 (diff)
parent95d000153dc668bf86f24eb46e8982701fa7c59a (diff)
downloadcaffe-e93b5e20356689654995e0bf2ce9cbb285a250f3.zip
caffe-e93b5e20356689654995e0bf2ce9cbb285a250f3.tar.gz
caffe-e93b5e20356689654995e0bf2ce9cbb285a250f3.tar.bz2
Merge pull request #6079 from Noiredd/cuda9-makefile
Makefile example comments for CUDA 9.0 compatibility
-rw-r--r--Makefile.config.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.config.example b/Makefile.config.example
index d552b38..7990593 100644
--- a/Makefile.config.example
+++ b/Makefile.config.example
@@ -33,6 +33,7 @@ CUDA_DIR := /usr/local/cuda
# CUDA architecture setting: going with all of them.
# For CUDA < 6.0, comment the *_50 through *_61 lines for compatibility.
# For CUDA < 8.0, comment the *_60 and *_61 lines for compatibility.
+# For CUDA >= 9.0, comment the *_20 and *_21 lines for compatibility.
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_20,code=sm_21 \
-gencode arch=compute_30,code=sm_30 \