[OpenMP] libomp: add itt notifications for teams construct on host
authorAndreyChurbanov <andrey.churbanov@intel.com>
Fri, 17 Jul 2020 18:10:25 +0000 (21:10 +0300)
committerAndreyChurbanov <andrey.churbanov@intel.com>
Fri, 17 Jul 2020 18:10:25 +0000 (21:10 +0300)
commit62d88a1c79f58b7c9a8f9d21f24bb22802d3646b
treec1b78b0a252abddfd84e8584984b18e8fc40ecd3
parentefb5040262930908a88632ff91f3df3cba4a7c1d
[OpenMP] libomp: add itt notifications for teams construct on host

Add barrier/region notification for parallel inside teams construct
when number of teams is 1, as VTune only shows outer level regions for
simplicity.

Differential Revision: https://reviews.llvm.org/D84024
openmp/runtime/src/kmp_barrier.cpp
openmp/runtime/src/kmp_runtime.cpp