[all-commits] [llvm/llvm-project] 4fb953: [AMDGPU] Make `__GCC_DESTRUCTIVE_SIZE` 128 on AMDG...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Nov 7 05:00:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fb953ac348d888541efe515439e0d844cdd7fbf
      https://github.com/llvm/llvm-project/commit/4fb953ac348d888541efe515439e0d844cdd7fbf
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M clang/lib/Basic/Targets/AMDGPU.h
    M clang/test/Driver/amdgpu-macros.cl

  Log Message:
  -----------
  [AMDGPU] Make `__GCC_DESTRUCTIVE_SIZE` 128 on AMDGPU (#115241)

Summary:
The cache line size on AMDGPU varies between 64 and 128 (The lowest L2
cache also goes to 256 on some architectures.) This macro is intended to
present a size that will not cause destructive interference, so we
choose the larger of those values.



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