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

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Oct 16 15:23:48 PDT 2025


  Branch: refs/heads/users/shiltian/cluster_dims_clang_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 367a570ec538e79f339929c1b0c39b2d11b47cf4
      https://github.com/llvm/llvm-project/commit/367a570ec538e79f339929c1b0c39b2d11b47cf4
  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: c72d2dba9c2591da7431d950661b90b8b801a109
      https://github.com/llvm/llvm-project/commit/c72d2dba9c2591da7431d950661b90b8b801a109
  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: 522803cf7ef59f990bce6b4aa95e60649811153f
      https://github.com/llvm/llvm-project/commit/522803cf7ef59f990bce6b4aa95e60649811153f
  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: f7c495c743101c747309452b30e1ff45e1ecb80a
      https://github.com/llvm/llvm-project/commit/f7c495c743101c747309452b30e1ff45e1ecb80a
  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: bb3ad330f3327dc40fdee6d8fc182d6ff07e6635
      https://github.com/llvm/llvm-project/commit/bb3ad330f3327dc40fdee6d8fc182d6ff07e6635
  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: ad3ab69f45f4d6470d008db6f1fc463b8401c7b7
      https://github.com/llvm/llvm-project/commit/ad3ab69f45f4d6470d008db6f1fc463b8401c7b7
  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: a90372b39ff6e42405ef1d786c61b89ee75293b9
      https://github.com/llvm/llvm-project/commit/a90372b39ff6e42405ef1d786c61b89ee75293b9
  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: 3512e3ad3ea9cb1945a1c8f19a5dd5348df72274
      https://github.com/llvm/llvm-project/commit/3512e3ad3ea9cb1945a1c8f19a5dd5348df72274
  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: 452e14cdbb2b0ed7372f9a99ad395c67933c78bf
      https://github.com/llvm/llvm-project/commit/452e14cdbb2b0ed7372f9a99ad395c67933c78bf
  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: 07f62e6dec4be19ea21f3a90babe02b2a4984980
      https://github.com/llvm/llvm-project/commit/07f62e6dec4be19ea21f3a90babe02b2a4984980
  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: 56b35cd61c7126deec85437600f8ace0b22284be
      https://github.com/llvm/llvm-project/commit/56b35cd61c7126deec85437600f8ace0b22284be
  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


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

  Changed paths:
    M clang/lib/CodeGen/Targets/AMDGPU.cpp

  Log Message:
  -----------
  remove unused code


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

  Changed paths:
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/SemaCUDA/cluster_dims.cu

  Log Message:
  -----------
  use attribute for diag msg


  Commit: fb807b7bd55c959979209b0f1a699ddec415f495
      https://github.com/llvm/llvm-project/commit/fb807b7bd55c959979209b0f1a699ddec415f495
  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:
  -----------
  refine docs


Compare: https://github.com/llvm/llvm-project/compare/2ff7b16a24c5...fb807b7bd55c

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