[Openmp-commits] [PATCH] D51889: Fix performance issue from 376.kdtree

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 10 14:03:19 PDT 2018


hbae created this revision.
hbae added reviewers: AndreyChurbanov, tlwilmar, jlpeyton.
hbae added a project: OpenMP.
Herald added a subscriber: jfb.

This change improves the performance of 376.kdtree by giving the compiler an
opportunity to do inlining and other optimizations for the call path,
`__kmpc_omp_task_complete_if0()->__kmp_task_finish()`, which is one of the hot
paths in the program; some functions in `kmp_taskdeps.cpp` were moved to the new
header file, `kmp_taskdeps.h` to achieve this.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51889

Files:
  runtime/src/kmp.h
  runtime/src/kmp_taskdeps.cpp
  runtime/src/kmp_taskdeps.h
  runtime/src/kmp_tasking.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51889.164748.patch
Type: text/x-patch
Size: 10623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180910/afaf3f4f/attachment-0001.bin>


More information about the Openmp-commits mailing list