[all-commits] [llvm/llvm-project] a1f550: [OpenMP] libomp: implement OpenMP 5.1 inoutset tas...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Mon Jun 7 11:43:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1f550e052543f75acac9089b760cbc61729131f
      https://github.com/llvm/llvm-project/commit/a1f550e052543f75acac9089b760cbc61729131f
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/depobj_codegen.cpp
    M clang/test/OpenMP/target_enter_data_depend_codegen.cpp
    M clang/test/OpenMP/target_exit_data_depend_codegen.cpp
    M clang/test/OpenMP/target_update_depend_codegen.cpp
    M clang/test/OpenMP/task_codegen.c
    M clang/test/OpenMP/task_codegen.cpp
    M clang/test/OpenMP/task_if_codegen.cpp
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_taskdeps.cpp
    M openmp/runtime/src/kmp_taskdeps.h
    M openmp/runtime/test/tasking/bug_nested_proxy_task.c
    M openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c
    M openmp/runtime/test/tasking/hidden_helper_task/common.h
    M openmp/runtime/test/tasking/hidden_helper_task/depend.cpp
    M openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp
    A openmp/runtime/test/tasking/omp51_task_dep_inoutset.c

  Log Message:
  -----------
  [OpenMP] libomp: implement OpenMP 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.
Size of type of the dependence flag changed from 1 to 4 bytes in clang.
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




More information about the All-commits mailing list