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

Reply via email to