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

Shilei Tian via All-commits all-commits at lists.llvm.org
Tue Oct 14 10:55:27 PDT 2025


  Branch: refs/heads/users/shiltian/cluster_dims_clang_support
  Home:   https://github.com/llvm/llvm-project
  Commit: a01f9f9f781a364a79ae581bcb4839861b6acd76
      https://github.com/llvm/llvm-project/commit/a01f9f9f781a364a79ae581bcb4839861b6acd76
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 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: 182dab2973f6d6539b0308e6482586311d716602
      https://github.com/llvm/llvm-project/commit/182dab2973f6d6539b0308e6482586311d716602
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

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


  Commit: 89525ac7f601a071012be41dba11db30e814b54d
      https://github.com/llvm/llvm-project/commit/89525ac7f601a071012be41dba11db30e814b54d
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 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: 721bdc0062ecc11e97be223c62c0fb68d9111034
      https://github.com/llvm/llvm-project/commit/721bdc0062ecc11e97be223c62c0fb68d9111034
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

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


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

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

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


  Commit: 8bc0917839be51296d63f66fc68169e9332f1aed
      https://github.com/llvm/llvm-project/commit/8bc0917839be51296d63f66fc68169e9332f1aed
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 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: 3e54dbd753301dfa2810f48dacde4396ed84cd75
      https://github.com/llvm/llvm-project/commit/3e54dbd753301dfa2810f48dacde4396ed84cd75
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

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


  Commit: 977ff90174a5c7d6af0680ee9c7cf868551cb111
      https://github.com/llvm/llvm-project/commit/977ff90174a5c7d6af0680ee9c7cf868551cb111
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

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

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


  Commit: 52fe22bbb9585028b18e765967e5017df5280a11
      https://github.com/llvm/llvm-project/commit/52fe22bbb9585028b18e765967e5017df5280a11
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 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: 7ed59d889f46a1de04b3fb3ac91669313fc325b8
      https://github.com/llvm/llvm-project/commit/7ed59d889f46a1de04b3fb3ac91669313fc325b8
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-10-14 (Tue, 14 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


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

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