Skip to content

Commit

Permalink
Makefile example comments for CUDA 9.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Noiredd committed Nov 28, 2017
1 parent c430690 commit 95d0001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.config.example
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 95d0001

Please sign in to comment.