[all-commits] [llvm/llvm-project] 6e98ec: [OpenMP] libomp: fix ittnotify usage.
Andrey Churbanov via All-commits
all-commits at lists.llvm.org
Wed Oct 13 10:49:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e98ec9b2099475c057612a7af680a27c0b91a24
https://github.com/llvm/llvm-project/commit/6e98ec9b2099475c057612a7af680a27c0b91a24
Author: AndreyChurbanov <andrey.churbanov at intel.com>
Date: 2021-10-13 (Wed, 13 Oct 2021)
Changed paths:
M openmp/runtime/src/kmp_itt.cpp
M openmp/runtime/src/kmp_itt.h
M openmp/runtime/src/kmp_itt.inl
M openmp/runtime/src/kmp_runtime.cpp
Log Message:
-----------
[OpenMP] libomp: fix ittnotify usage.
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 not change).
The patch fixes https://bugs.llvm.org/show_bug.cgi?id=48644.
Differential Revision: https://reviews.llvm.org/D111580
More information about the All-commits
mailing list