This patch changes SPMDization to not trigger for regions with no
parallelism. Otherwise, this will introduce unnecessary barriers that
will slow the single-threaded region down.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG, one nit
llvm/lib/Transforms/IPO/OpenMPOpt.cpp | ||
---|---|---|
602 | doxygen documentation, maybe mayContainParallelRegion |
Comment Actions
This broke stuff because the Mode is now replaced with SPMD while we actually don't change the _exec_mode of the kernel. Will fix it.
Comment Actions
@jhuber6 Can you revert this one for now. Easiest is a new mode I guess. I don't see a good alternative right now.
doxygen documentation, maybe mayContainParallelRegion