[all-commits] [llvm/llvm-project] 02d3e6: [HIP][Clang] Remove __AMDGCN_WAVEFRONT_SIZE macros...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Mon Sep 15 00:33:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02d3e6ac75e776041fb1782efc4dfccfe6b46218
      https://github.com/llvm/llvm-project/commit/02d3e6ac75e776041fb1782efc4dfccfe6b46218
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M clang/docs/AMDGPUSupport.rst
    M clang/docs/HIPSupport.rst
    M clang/lib/Basic/Targets/AMDGPU.cpp
    M clang/test/CodeGenHIP/maybe_undef-attr-verify.hip
    M clang/test/CodeGenOpenCL/builtins-amdgcn-wave32.cl
    M clang/test/CodeGenOpenCL/builtins-amdgcn-wave64.cl
    M clang/test/Driver/amdgpu-macros.cl
    M clang/test/Driver/hip-macros.hip
    R clang/test/Driver/hip-wavefront-size-deprecation-diagnostics.hip
    M clang/test/Preprocessor/predefined-arch-macros.c

  Log Message:
  -----------
  [HIP][Clang] Remove __AMDGCN_WAVEFRONT_SIZE macros (#157463)

Remove definitions, test uses, and documentation of the macros, which were
deprecated in November 2024 with PR #112849 / #115507.

Where required, the wavefront size should instead be queried via means provided
by the HIP runtime: the (non-constexpr) `warpSize` variable in device code, or
`hipGetDeviceProperties` in host code.

This change passed AMD-internal testing.

Implements SWDEV-522062.



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