Skip to content

Commit

Permalink
Update default CUDA compilation flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Feb 15, 2018
1 parent 6ceb892 commit 85d5d13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cuda-toolfile.spec
Expand Up @@ -37,6 +37,7 @@ cat << \EOF_TOOLFILE >%{i}/etc/scram.d/cuda.xml
<flags CUDA_FLAGS="-gencode arch=compute_35,code=sm_35"/>
<flags CUDA_FLAGS="-gencode arch=compute_50,code=sm_50"/>
<flags CUDA_FLAGS="-gencode arch=compute_61,code=sm_61"/>
<flags CUDA_FLAGS="-O2 -std=c++14"/>
<flags CUDA_LDFLAGS="-dlink"/>
<flags CUDA_LDFLAGS="-shared"/>
<flags CUDA_LDFLAGS="-L$(CUDA_BASE)/lib64"/>
Expand Down

0 comments on commit 85d5d13

Please sign in to comment.