[all-commits] [llvm/llvm-project] b16aad: [OpenMP] Introduce aligned synchronization into th...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Oct 27 16:22:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b16aadf0a79a2796c9ac68d1bfc8853ccf25c459
      https://github.com/llvm/llvm-project/commit/b16aadf0a79a2796c9ac68d1bfc8853ccf25c459
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Synchronization.h
    M openmp/libomptarget/DeviceRTL/src/Kernel.cpp
    M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
    M openmp/libomptarget/DeviceRTL/src/State.cpp
    M openmp/libomptarget/DeviceRTL/src/Synchronization.cpp

  Log Message:
  -----------
  [OpenMP] Introduce aligned synchronization into the new device RT

We will later use the fact that a barrier is aligned to reason about
thread divergence. For now we introduce the assumption and some more
documentation.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D112153


  Commit: 5102c3c61e266b533619644bb8eb27cecd26bfca
      https://github.com/llvm/llvm-project/commit/5102c3c61e266b533619644bb8eb27cecd26bfca
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp

  Log Message:
  -----------
  [OpenMP][FIX] Do not adjust the level after the environment was popped

Exiting a data environment will reset all values, it is wrong to adjust
them afterwards.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D112144


  Commit: 48877525cfe85104b5f7d53a045bc22abd66bd20
      https://github.com/llvm/llvm-project/commit/48877525cfe85104b5f7d53a045bc22abd66bd20
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/include/Interface.h
    M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
    M openmp/libomptarget/deviceRTLs/common/src/parallel.cu
    M openmp/libomptarget/deviceRTLs/interface.h

  Log Message:
  -----------
  [OpenMP] Remove obsolete external interface for device RT

We do not generate _serialized_parallel calls in device mode, no
need for an external API.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D112145


  Commit: 8a4551b893b780db55ce25acc8eaf7a2921ed766
      https://github.com/llvm/llvm-project/commit/8a4551b893b780db55ce25acc8eaf7a2921ed766
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    A llvm/test/Transforms/OpenMP/attributor_pointer_offset_crash.ll

  Log Message:
  -----------
  [Attributor][FIX] Use right address space to avoid assertion

When we strip and accumulate constant offsets we need to pick the right
address space such that the offset APInt has the right bit width.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D112544


Compare: https://github.com/llvm/llvm-project/compare/e32b1eee6aab...8a4551b893b7


More information about the All-commits mailing list