Skip to content

Commit

Permalink
cuda: add sm_75 to make.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
godsic committed Sep 28, 2018
1 parent 7bb19fe commit 41bcd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda/make.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NVCC='nvcc -std c++03 --compiler-options -Werror --compiler-options -Wall -Xptxa

for f in *.cu; do
g=$(echo $f | sed 's/\.cu$//') # file basename
for cc in 30 35 37 50 52 53 60 61 70; do
for cc in 30 35 37 50 52 53 60 61 70 75; do
if [[ $f -nt $g'_'$cc.ptx ]]; then
echo $NVCC -gencode arch=compute_$cc,code=sm_$cc $f -o $g'_'$cc.ptx
$NVCC -I/usr/local/cuda/include -gencode arch=compute_$cc,code=sm_$cc $f -o $g'_'$cc.ptx # error can be ignored
Expand Down

0 comments on commit 41bcd2e

Please sign in to comment.