Skip to content

Commit

Permalink
Merge pull request #9256 from cms-sw/iarspider-patch-2
Browse files Browse the repository at this point in the history
Supress CUDA warning about "module" keyword
  • Loading branch information
smuzaffar authored Jun 20, 2024
2 parents 5fab0c6 + 344c953 commit 9bd2f69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuda-flags.file
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

# various cuda diag-suppress flags e.g.
# 3012: suppress volatile destination type for a compound assignment expression is deprecated
%define nvcc_flags_cuda_diag_suppress -diag-suppress=3012
# 3189: suppress "module" is parsed as an identifier rather than a keyword because the tokens that follow it do not match those of a preprocessor directive
%define nvcc_flags_cuda_diag_suppress -diag-suppress=3012 -diag-suppress=3189

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

0 comments on commit 9bd2f69

Please sign in to comment.