Skip to content

Commit

Permalink
use nvcc in path, skip sm80; need to set this stuff in the configure …
Browse files Browse the repository at this point in the history
…script
  • Loading branch information
dacase committed Jan 13, 2022
1 parent 037199f commit 9ad49c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xray/cuda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ include ../../../config.h

.SUFFIXES: .cpp .cu .o

#CUDA Specific build flags
NVCC=/usr/local/cuda/bin/nvcc \
#CUDA Specific build flags -- use nvcc in the PATH for now;
# may want to set with configure later
NVCC=nvcc \
-gencode arch=compute_52,code=sm_52 \
-gencode arch=compute_53,code=sm_53 \
-gencode arch=compute_60,code=sm_60 \
-gencode arch=compute_60,code=sm_70 \
-gencode arch=compute_60,code=sm_75 \
-gencode arch=compute_80,code=sm_80 \
-Wno-deprecated-declarations -use_fast_math -O3 \
-I/usr/local/cuda/include -IB40C $(CUDAFLAGS) --std c++14

Expand Down

0 comments on commit 9ad49c1

Please sign in to comment.