JonChesterfield added a comment.

Possible naming hazard here. march=native means target the local processor 
architecture, zen2 or whatever, and we have the host CPU as an offloading 
target already. So what I'd expect this to do is host offloading with the 
openmp runtime compiled for the local variant of x86 or aarch64, not for it to 
have a guess at a GPU target.

What you think of offload-arch=GPU for pick a plausible GPU? That distinguishes 
it from other things we might want to offload to. Open question whether it 
should create a vgpu instance if it can't detect a physical card.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141105/new/

https://reviews.llvm.org/D141105

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to