Skip to content

Commit 15dfcc1

Browse files
committed
Add Pascal CUDA architectures to Makefile.config.example
1 parent 9c201e1 commit 15dfcc1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile.config.example

+6-2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ CUDA_DIR := /usr/local/cuda
3131
# CUDA_DIR := /usr
3232

3333
# CUDA architecture setting: going with all of them.
34-
# For CUDA < 6.0, comment the *_50 lines for compatibility.
34+
# For CUDA < 6.0, comment the *_50 through *_61 lines for compatibility.
35+
# For CUDA < 8.0, comment the *_60 and *_61 lines for compatibility.
3536
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
3637
-gencode arch=compute_20,code=sm_21 \
3738
-gencode arch=compute_30,code=sm_30 \
3839
-gencode arch=compute_35,code=sm_35 \
3940
-gencode arch=compute_50,code=sm_50 \
40-
-gencode arch=compute_50,code=compute_50
41+
-gencode arch=compute_52,code=sm_52 \
42+
-gencode arch=compute_60,code=sm_60 \
43+
-gencode arch=compute_61,code=sm_61 \
44+
-gencode arch=compute_61,code=compute_61
4145

4246
# BLAS choice:
4347
# atlas for ATLAS (default)

0 commit comments

Comments
 (0)