[all-commits] [llvm/llvm-project] 894e8b: [Clang][HIP][CUDA] Add `__cluster_dims__` and `__n...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Oct 16 11:40:31 PDT 2025


  Branch: refs/heads/users/shiltian/cluster_dims_clang_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 894e8b7515b5de233ec2c6f2f4329ab726c112de
      https://github.com/llvm/llvm-project/commit/894e8b7515b5de233ec2c6f2f4329ab726c112de
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Headers/__clang_hip_runtime_wrapper.h
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/CodeGenCUDA/Inputs/cuda.h
    A clang/test/CodeGenCUDA/cluster_dims.cu
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/test/SemaCUDA/Inputs/cuda.h
    A clang/test/SemaCUDA/cluster_dims.cu

  Log Message:
  -----------
  [Clang][HIP][CUDA] Add `__cluster_dims__` and `__no_cluster__` attribute

This PR adds basic frontend support for `__cluster_dims__` and `__no_cluster__` attribute.

Co-authored-by: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Co-authored-by: Jay Foad <jay.foad at amd.com>


  Commit: 118ff85603bee1b5137dc3e62093583f0dee89b3
      https://github.com/llvm/llvm-project/commit/118ff85603bee1b5137dc3e62093583f0dee89b3
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  add documentation


  Commit: 0ae111127cc2582cfeaa4c93ce7a2209a48de930
      https://github.com/llvm/llvm-project/commit/0ae111127cc2582cfeaa4c93ce7a2209a48de930
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  fix comments


  Commit: 273047e03479c6865e916c8412f2415a1bd990c1
      https://github.com/llvm/llvm-project/commit/273047e03479c6865e916c8412f2415a1bd990c1
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  minor improvements


  Commit: f830f188e1598f03e4d5e5e030d47510859f91a0
      https://github.com/llvm/llvm-project/commit/f830f188e1598f03e4d5e5e030d47510859f91a0
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/lib/Sema/SemaDeclAttr.cpp

  Log Message:
  -----------
  fix an error


  Commit: 656ed706b1b8ac85a5b6181047c2741ad6d7f018
      https://github.com/llvm/llvm-project/commit/656ed706b1b8ac85a5b6181047c2741ad6d7f018
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test

  Log Message:
  -----------
  fix another comment


  Commit: 6ecf720144ee70a22aeb966070f440a37b05e9d1
      https://github.com/llvm/llvm-project/commit/6ecf720144ee70a22aeb966070f440a37b05e9d1
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  more information on no_dims


  Commit: ada2f0d8b48a91a294a63e64ff3c52669b608887
      https://github.com/llvm/llvm-project/commit/ada2f0d8b48a91a294a63e64ff3c52669b608887
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td

  Log Message:
  -----------
  drop `__` in `Declspec`


  Commit: 120ca45987e404bf7f912bf0779480896f8ca825
      https://github.com/llvm/llvm-project/commit/120ca45987e404bf7f912bf0779480896f8ca825
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp

  Log Message:
  -----------
  fix comments


  Commit: 0a6d7675dae3f17a889d923d7a36ea34ce1f1952
      https://github.com/llvm/llvm-project/commit/0a6d7675dae3f17a889d923d7a36ea34ce1f1952
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/Targets/AMDGPU.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaCUDA/cluster_dims.cu

  Log Message:
  -----------
  refine target feature lookup; fix comments


  Commit: b5d4c966c1b6f546787720438248f39e95f01e83
      https://github.com/llvm/llvm-project/commit/b5d4c966c1b6f546787720438248f39e95f01e83
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp

  Log Message:
  -----------
  fix more comments


Compare: https://github.com/llvm/llvm-project/compare/7ed59d889f46...b5d4c966c1b6

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