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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits