Skip to content

Commit

Permalink
Merge pull request #6851 from fwyzard/IB/CMSSW_12_0_X/master_CUDA_kee…
Browse files Browse the repository at this point in the history
…p_PTX

Keep the PTX in CUDA binaries, so it can be JIT'ted for newer devices
  • Loading branch information
smuzaffar authored Apr 30, 2021
2 parents 851acd1 + a622ce3 commit bd26e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuda-flags.file
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
%define cuda_flags_3 --extended-lambda

# build support for the various compute architectures
%define cuda_flags_4 %(echo $(for ARCH in %cuda_arch; do echo "-gencode arch=compute_$ARCH,code=sm_$ARCH"; done)) -Wno-deprecated-gpu-targets
%define cuda_flags_4 %(echo $(for ARCH in %cuda_arch; do echo "-gencode arch=compute_$ARCH,code=[sm_$ARCH,compute_$ARCH]"; done)) -Wno-deprecated-gpu-targets

# disable warnings about attributes on defaulted methods
%define cuda_flags_5 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored
Expand Down

0 comments on commit bd26e28

Please sign in to comment.