[all-commits] [llvm/llvm-project] 3274bf: [OpenMP] Make each atomic helper take an atomic sc...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 20 19:58:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3274bf6b4282a0dafd4b5a2efa09824e5ca417d0
      https://github.com/llvm/llvm-project/commit/3274bf6b4282a0dafd4b5a2efa09824e5ca417d0
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M offload/DeviceRTL/include/Synchronization.h
    M offload/DeviceRTL/src/Synchronization.cpp

  Log Message:
  -----------
  [OpenMP] Make each atomic helper take an atomic scope argument (#122786)

Summary:
Right now we just default to device for each type, and mix an ad-hoc
scope with the one used by the compiler's builtins. Unify this can make
each version take the scope optionally.

For @ronlieb, this will remove the need for `add_system` in the fork as
well as the extra `cas` with system scope, just pass `system`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list