[all-commits] [llvm/llvm-project] b57c0b: [OpenMP] Update atomic helpers to just use headers...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Jan 9 11:58:02 PST 2025


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

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

  Log Message:
  -----------
  [OpenMP] Update atomic helpers to just use headers (#122185)

Summary:
Previously we had some indirection here, this patch updates these
utilities to just be normal template functions. We use SFINAE to manage
the special case handling for floats. Also this strips address spaces so
it can be used more generally.



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