Follow the more general patch for now, do not try to SPMDize the kernel
if the variable is used and local.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D101911
[OPENMP]Fix PR48851: the locals are not globalized in SPMD mode. ClosedPublic Authored by ABataev on May 5 2021, 8:04 AM.
Details Summary Follow the more general patch for now, do not try to SPMDize the kernel
Diff Detail
Event TimelineComment Actions
Tested this on gfx906 and v100, the main reproducer now passes. This revision is now accepted and ready to land.May 7 2021, 5:55 PM This revision was landed with ongoing or failed builds.May 10 2021, 6:43 AM Closed by commit rG230953d5771f: [OPENMP]Fix PR48851: the locals are not globalized in SPMD mode. (authored by ABataev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 344045 clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/nvptx_SPMD_codegen.cpp
|