[all-commits] [llvm/llvm-project] 17b544: [Libomptarget] Add a wavefront sync builtin for th...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Oct 25 12:27:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17b5445996c993057824b7142905b48ed67292b3
      https://github.com/llvm/llvm-project/commit/17b5445996c993057824b7142905b48ed67292b3
  Author: Joseph Huber <35342157+jhuber6 at users.noreply.github.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

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

  Log Message:
  -----------
  [Libomptarget] Add a wavefront sync builtin for the AMDGPU implementation (#70228)

Summary:
While this is technically a no-op for AMDGPU hardware, in cases where
the user would see fit to add an explicit wavefront sync on Nvidia
hardware, we should also inform the LLVM optimizer that this control
flow is convergent so we do not reorder blocks.




More information about the All-commits mailing list