[flang-commits] [clang] [flang] [Flang][Driver] Introduce -fopenmp-targets offloading option (PR #100152)
Anastasia Stulova via flang-commits
flang-commits at lists.llvm.org
Thu Jul 25 02:49:17 PDT 2024
AnastasiaStulova wrote:
Adding ``--offload-target=<target triple>`` seems like a good idea since it will be consistent with ``--target=<target triple>``.
One related question I have - does Flang compile for one offload model or can it mix those (let's say compile sources with mixed OpenACC and OpenMP pragmas)? If mixing is allowed then it may also make sense to add a way of setting the target per programming model. But generic flag ``--offload-target`` could then set the target for all the models that are not set explicitly otherwise.
Btw does the offload target triple have identical format to the main triple?
https://github.com/llvm/llvm-project/pull/100152
More information about the flang-commits
mailing list