A hot fix for OpenMP backend; + "exit" condition for recursion of "__parallel_reduce_body"
Details
Details
- Reviewers
ldionne jdoerfert nadiasvertex - Group Reviewers
Restricted Project - Commits
- rG8f5cb64c7147: [pstl] A hot fix for a reduction parallel pattern of OpenMP backend
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
A hot performance fix for parallel reduce pattern of OpenMP backend. The recursion should be limited by a grain size - __default_chunk_size.
Comment Actions
Thank you! I fixed that bug once, but in the various changes I missed it the last time.
clang-format: please reformat the code