[PATCH] D124292: [OpenMP] Use CUDA's non-RDC mode when LTO has whole program visibility

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 22 12:49:33 PDT 2022


tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.

LGTM with a minor test nit.



================
Comment at: clang/test/Driver/linker-wrapper.c:41
 
-// LTO: ptxas{{.*}}-m64 -o {{.*}}.cubin -O2 --gpu-name sm_70 -c {{.*}}.s
-// LTO: nvlink{{.*}}-m64 -o {{.*}}.out -arch sm_70 {{.*}}.cubin
+// LTO: ptxas{{.*}}-m64 -o {{.*}}.cubin -O2 --gpu-name sm_70 {{.*}}.s
----------------
// LTO-NOT: nvlink



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124292



More information about the cfe-commits mailing list