[clang] [OpenMP] Introduce -fopenmp-force-usm flag (PR #75468)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 14 06:01:07 PST 2023


================
@@ -3381,6 +3381,8 @@ def fopenmp_cuda_blocks_per_sm_EQ : Joined<["-"], "fopenmp-cuda-blocks-per-sm=">
   Flags<[NoArgumentUnused, HelpHidden]>, Visibility<[ClangOption, CC1Option]>;
 def fopenmp_cuda_teams_reduction_recs_num_EQ : Joined<["-"], "fopenmp-cuda-teams-reduction-recs-num=">, Group<f_Group>,
   Flags<[NoArgumentUnused, HelpHidden]>, Visibility<[ClangOption, CC1Option]>;
+def fopenmp_force_usm : Flag<["-"], "fopenmp-force-usm">, Group<f_Group>,
+  Flags<[NoArgumentUnused, HelpHidden]>, Visibility<[CC1Option]>;
----------------
jhuber6 wrote:

`-f` options tend to have a `-fno` variant as well.

https://github.com/llvm/llvm-project/pull/75468


More information about the cfe-commits mailing list