[OpenMP] libomp: fixed implementation of OMP 5.1 inoutset task dependence type
authorAndreyChurbanov <andrey.churbanov@intel.com>
Wed, 16 Jun 2021 11:47:29 +0000 (14:47 +0300)
committerAndreyChurbanov <andrey.churbanov@intel.com>
Wed, 16 Jun 2021 11:47:29 +0000 (14:47 +0300)
commit610fea65e296e5e9aad9c90903c2e40eaa4f03ac
tree5f7597d469b081757d91609925292f0746033a53
parent0ad051b5fc22b4e7334635b2bdc54eca8ee7c4c4
[OpenMP] libomp: fixed implementation of OMP 5.1 inoutset task dependence type

Refactored code of dependence processing and added new inoutset dependence type.
Compiler can set dependence flag to 0x8 when call __kmpc_omp_task_with_deps.
All dependence flags library gets so far and corresponding dependence types:
1 - IN, 2 - OUT, 3 - INOUT, 4 - MUTEXINOUTSET, 8 - INOUTSET.

Differential Revision: https://reviews.llvm.org/D97085
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_taskdeps.cpp
openmp/runtime/src/kmp_taskdeps.h
openmp/runtime/test/tasking/hidden_helper_task/common.h
openmp/runtime/test/tasking/hidden_helper_task/depend.cpp
openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp
openmp/runtime/test/tasking/omp51_task_dep_inoutset.c [new file with mode: 0644]