[flang-commits] [clang] [flang] [flang][OpenMP] Upstream first part of `do concurrent` mapping (PR #126026)
Michael Klemm via flang-commits
flang-commits at lists.llvm.org
Tue Feb 18 00:24:18 PST 2025
================
@@ -6910,6 +6910,10 @@ defm loop_versioning : BoolOptionWithoutMarshalling<"f", "version-loops-for-stri
def fhermetic_module_files : Flag<["-"], "fhermetic-module-files">, Group<f_Group>,
HelpText<"Emit hermetic module files (no nested USE association)">;
+
+def do_concurrent_parallel_EQ : Joined<["-"], "fdo-concurrent-parallel=">,
----------------
mjklemm wrote:
Shall we have a single option `-fdo-concurrent-parallel=` and have the decision of whether to use OpenMP or OpenACC via `-fopenmp` and `-fopenacc`? `-fdo-concurrent-parallel` does not make much sense without one of the latter options. I guess it's a matter of proper documentation. If we have different flavors of this option, we would run into error cases that we'd have to handle such as `-fopenacc -fdo-concurrent-to-openmp`.
https://github.com/llvm/llvm-project/pull/126026
More information about the flang-commits
mailing list