aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/SourceMgrTest.cpp
diff options
context:
space:
mode:
authorShilei Tian <i@tianshilei.me>2025-10-17 11:39:43 -0400
committerGitHub <noreply@github.com>2025-10-17 11:39:43 -0400
commitbde0a8cd632ec714ea26e04dea0b7bd0f3231cfa (patch)
tree98047a2be052c2d68731aa5107bdb9965e2deecb /llvm/unittests/Support/SourceMgrTest.cpp
parent997560090e791558ca41ff3e5f4eec717102046c (diff)
downloadllvm-bde0a8cd632ec714ea26e04dea0b7bd0f3231cfa.zip
llvm-bde0a8cd632ec714ea26e04dea0b7bd0f3231cfa.tar.gz
llvm-bde0a8cd632ec714ea26e04dea0b7bd0f3231cfa.tar.bz2
[Clang][HIP][CUDA] Add `__cluster_dims__` and `__no_cluster__` attribute (#156686)
This PR adds basic frontend support for `__cluster_dims__` and `__no_cluster__` attribute. In CUDA/HIP programming, the ``__cluster_dims__`` attribute can be applied to a kernel function to set the dimensions of a thread block cluster. The ``__no_cluster__`` attribute can be applied to a kernel function to indicate that the thread block cluster feature will not be enabled at both compile time and kernel launch time. Note that `__no_cluster__` is a LLVM/Clang only attribute. Co-authored-by: Yaxun (Sam) Liu <yaxun.liu@amd.com> Co-authored-by: Jay Foad <jay.foad@amd.com>
Diffstat (limited to 'llvm/unittests/Support/SourceMgrTest.cpp')
0 files changed, 0 insertions, 0 deletions