[Openmp-commits] [PATCH] D111580: [OpenMP] libomp: fix ittnotify usage.

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 11 14:39:54 PDT 2021


AndreyChurbanov created this revision.
AndreyChurbanov added reviewers: hbae, jlpeyton, Nawrin, tlwilmar.
AndreyChurbanov added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
AndreyChurbanov requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.

Replaced storing of ittnotify domain array index into location info structure (which is now read-only) with
storing of location info address + ittnotify domain + team size into hash map.

Replaced __kmp_itt_barrier_domains and __kmp_itt_imbalance_domains arrays with __kmp_itt_barrier_domains hash map;
__kmp_itt_region_domains and __kmp_itt_region_team_size arrays with __kmp_itt_region_domains hash map.

Basic functionality did not change (at least tried to).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111580

Files:
  openmp/runtime/src/kmp_itt.cpp
  openmp/runtime/src/kmp_itt.h
  openmp/runtime/src/kmp_itt.inl
  openmp/runtime/src/kmp_runtime.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111580.378798.patch
Type: text/x-patch
Size: 21828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211011/a647df24/attachment-0001.bin>


More information about the Openmp-commits mailing list