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

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Oct 16 13:49:36 PDT 2025


  Branch: refs/heads/users/shiltian/cluster_dims_clang_support
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c19fd9814106a335efd9b02d05643d86e3db475
      https://github.com/llvm/llvm-project/commit/3c19fd9814106a335efd9b02d05643d86e3db475
  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: fa2eaf910553672f661245666f84bad5d8686651
      https://github.com/llvm/llvm-project/commit/fa2eaf910553672f661245666f84bad5d8686651
  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: 0d869e30b116523977662234467d3ed811878358
      https://github.com/llvm/llvm-project/commit/0d869e30b116523977662234467d3ed811878358
  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: f1f68d837181abcad551aa0dca841bf84a46cf29
      https://github.com/llvm/llvm-project/commit/f1f68d837181abcad551aa0dca841bf84a46cf29
  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: 39687ee724b178575fa285509b6e33f613786bb2
      https://github.com/llvm/llvm-project/commit/39687ee724b178575fa285509b6e33f613786bb2
  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: 548417ba632f3d5f9ff7970e7c59d49b54a97e9f
      https://github.com/llvm/llvm-project/commit/548417ba632f3d5f9ff7970e7c59d49b54a97e9f
  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: 256fbf29fb34b5acecb913d47c07c606b7492077
      https://github.com/llvm/llvm-project/commit/256fbf29fb34b5acecb913d47c07c606b7492077
  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: 5d525d028ff4cb8960fab8cc5254e81ae0411870
      https://github.com/llvm/llvm-project/commit/5d525d028ff4cb8960fab8cc5254e81ae0411870
  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: f5ecb45b1747dd06df23221d4bebab39f2d573c0
      https://github.com/llvm/llvm-project/commit/f5ecb45b1747dd06df23221d4bebab39f2d573c0
  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: c08c7f3ec3d6fce3fc1feae16e158fcd831ce61d
      https://github.com/llvm/llvm-project/commit/c08c7f3ec3d6fce3fc1feae16e158fcd831ce61d
  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: 28af7fa877bd3be69d4d2296b5ed78fbb30b838b
      https://github.com/llvm/llvm-project/commit/28af7fa877bd3be69d4d2296b5ed78fbb30b838b
  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: 981d23debdc505c9632451d3b03dccf059a93328
      https://github.com/llvm/llvm-project/commit/981d23debdc505c9632451d3b03dccf059a93328
  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: 2ff7b16a24c5889bb454a7d8b423eaff2c5a3b3a
      https://github.com/llvm/llvm-project/commit/2ff7b16a24c5889bb454a7d8b423eaff2c5a3b3a
  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


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

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