[Openmp-commits] [PATCH] D95816: [OpenMP] libomp: minor changes to improve library performance

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 8 14:26:26 PST 2021


jdoerfert added a comment.

In D95816#2549587 <https://reviews.llvm.org/D95816#2549587>, @protze.joachim wrote:

> From my perspective, compiler support for final mergeable tasks would have a more significant impact for applications like kdtree. There is a broad misconception among OpenMP programmers what if(0) means/does.
>
> The kdtree app could use `if(A) final(a) mergeable` in all cases which have `if(A)`. Unfortunately, no compiler provides sensible support for final mergeable tasks. Even just adding mergeable to the if does not avoid the task creation with current compilers. Avoiding task creation could cut down the runtime by more than 50%. Any recursive tasking application with serial cut-off could profit from sensible compiler support for mergeable.

That seems unrelated (to some degree), let's talk about that via email ;)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95816



More information about the Openmp-commits mailing list