Skip to content

Commit

Permalink
Merge pull request #8767 from fwyzard/IB/CMSSW_13_3_X/master_update_c…
Browse files Browse the repository at this point in the history
…uda_arch

Update CUDA to support Pascal, Volta, Turing, Ampere and Lovelace GPUs
  • Loading branch information
smuzaffar authored Oct 20, 2023
2 parents 1ef7b36 + b93cfa0 commit fe6c909
Showing 1 changed file with 2 additions and 10 deletions.
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

0 comments on commit fe6c909

Please sign in to comment.