Skip to content

Commit 6b7aba6

Browse files
committed
add latest CUDA arch to fix invalid device function errors
...on devices of that architecture.
1 parent 66b8e5d commit 6b7aba6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.config.example

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
# CUDA directory contains bin/ and lib/ directories that we need.
55
CUDA_DIR := /usr/local/cuda
66

7-
# CUDA architecture setting: going with all of them.
7+
# CUDA architecture setting: going with all of them (up to CUDA 5.5 compatible).
8+
# For the latest architecture, you need to install CUDA >= 6.0 and uncomment
9+
# the *_50 lines below.
810
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
911
-gencode arch=compute_20,code=sm_21 \
1012
-gencode arch=compute_30,code=sm_30 \
1113
-gencode arch=compute_35,code=sm_35
14+
#-gencode=arch=compute_50,code=sm_50 \
15+
#-gencode=arch=compute_50,code=compute_50
1216

1317
# BLAS choice:
1418
# atlas for ATLAS (default)

0 commit comments

Comments
 (0)