Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions cuda-flags.file
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,8 @@
## INCLUDE cpp-standard
# define the CUDA compilation flags in a way that can be shared by SCRAM-based and regular tools

# on X86 and Power, build support for Pascal, Volta and Turing
%ifarch x86_64 ppc64le
%define cuda_arch 60 70 75
%endif

# on ARM, build support for Volta, Xavier SoC and Turing
%ifarch aarch64
%define cuda_arch 70 72 75
%endif

# build support for Pascal (6.x), Volta (7.0), Turing (7.5), Ampere (8.x) and Lovelace (8.9)
%define cuda_arch 60 70 75 80 89

# LLVM style for listing the supported CUDA compute architectures
%define llvm_cuda_arch %(echo $(for ARCH in %cuda_arch; do echo "$ARCH"; done) | sed -e"s/ /,/g")
Expand Down