[flang-commits] [clang] [flang] [Flang][Driver] Introduce -fopenmp-targets offloading option (PR #100152)
Johannes Doerfert via flang-commits
flang-commits at lists.llvm.org
Thu Jul 25 15:00:36 PDT 2024
jdoerfert wrote:
> 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.
I'm fine with supporting OpenACC and OpenMP offload at the same time, they use the same runtime and the semantics they impose might not conflict too much. That said, one target per "model" is not clear to me, both in terms of meaning and use case.
https://github.com/llvm/llvm-project/pull/100152
More information about the flang-commits
mailing list