================
@@ -1115,14 +1117,13 @@ def fno_convergent_functions : Flag<["-"], 
"fno-convergent-functions">,
 
 // Common offloading options
 let Group = offload_Group in {
-def offload_arch_EQ : Joined<["--"], "offload-arch=">, Flags<[NoXarchOption]>,
----------------
Artem-B wrote:

Also, `-Xarch` has grown non-obvious usage nuances that should probably be 
mentioned in clang docs. We do mention them in openmp docs at the moment, but 
this is something that should be exposed somewhat more prominently, as this is 
pretty much the only mechanism we have for granular control of the offload 
build parameters. 

It's not uncommon to need different optimization options for different GPU 
variants. E.g. we want to compile with host-side debug info only, or specify 
different inlining/unrolling thresholds for different GPUs. All of those are 
effectively end-user facing options and should be documented.

https://github.com/llvm/llvm-project/pull/125421
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to