Set default schedule for parallel for loops to schedule(static, 1) when using SPMD mode on the NVPTX device offloading toolchain to ensure coalescing.
Details
Details
- Reviewers
ABataev Hahnfeld caomhin - Commits
- rG8233af90e1e4: [OpenMP] Make default parallel for schedule in NVPTX target regions in SPMD…
rL343260: [OpenMP] Make default parallel for schedule in NVPTX target regions in SPMD…
rC343260: [OpenMP] Make default parallel for schedule in NVPTX target regions in SPMD…
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | ||
---|---|---|
4103 | Use getContext().getTypeSize(S.getIterationVariable()->getType()) |
Use getContext().getTypeSize(S.getIterationVariable()->getType())