@@ -7548,12 +7548,12 @@ A managed variable can be accessed in both device and host code.
75487548def CUDAClusterDimsAttrDoc : Documentation {
75497549 let Category = DocCatDecl;
75507550 let Content = [{
7551- In CUDA/HIP programming, the ``cluster_dims`` attribute, conventionally exposed as
7551+ In CUDA/HIP programming, the ``cluster_dims`` attribute, conventionally exposed as the
75527552``__cluster_dims__`` macro, can be applied to a kernel function to set the dimensions of a
75537553thread block cluster, which is an optional level of hierarchy and made up of thread blocks.
75547554``__cluster_dims__`` defines the cluster size as ``(X, Y, Z)``, where each value is the number
7555- of thread blocks in that dimension. The ``__cluster_dims__ `` and `__no_cluster__ `` attributes
7556- are mutually exclusive.
7555+ of thread blocks in that dimension. The ``cluster_dims `` and `no_cluster `` attributes are
7556+ mutually exclusive.
75577557
75587558.. code::
75597559
@@ -7567,14 +7567,14 @@ are mutually exclusive.
75677567def CUDANoClusterAttrDoc : Documentation {
75687568 let Category = DocCatDecl;
75697569 let Content = [{
7570- In CUDA/HIP programming, a kernel function can still be launched with the cluster feature
7571- enabled at runtime, even without the ``__cluster_dims__`` attribute . The LLVM/Clang-exclusive
7572- ``no_cluster`` attribute, conventionally exposed as ``__no_cluster__`` macro, can be applied
7573- to a kernel function to explicitly indicate that the cluster feature will not be enabled either
7574- at compile time or at kernel launch time. This allows the compiler to apply certain optimizations
7575- without assuming that clustering could be enabled at runtime. It is undefined behavior to launch
7576- a kernel with the ``__no_cluster__`` attribute if the cluster feature is enabled at runtime.
7577- The ``__cluster_dims__ `` and ``__no_cluster__ `` attributes are mutually exclusive.
7570+ In CUDA/HIP programming, a kernel function can still be launched with the cluster feature enabled
7571+ at runtime, even without being annotated with ``__cluster_dims__``. The LLVM/Clang-exclusive
7572+ ``no_cluster`` attribute, conventionally exposed as the ``__no_cluster__`` macro, can be applied to
7573+ a kernel function to explicitly indicate that the cluster feature will not be enabled either at
7574+ compile time or at kernel launch time. This allows the compiler to apply certain optimizations
7575+ without assuming that clustering could be enabled at runtime. It is undefined behavior to launch a
7576+ kernel annotated with ``__no_cluster__`` if the cluster feature is enabled at runtime.
7577+ The ``cluster_dims `` and ``no_cluster `` attributes are mutually exclusive.
75787578
75797579.. code::
75807580
0 commit comments