Skip to content

Commit b32f2dd

Browse files
committed
Fix CU and WGP mode effect on warpSize
There is no effect on warpSize
1 parent d0cf32a commit b32f2dd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/how-to/hip_cpp_language_extensions.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ warpSize
411411
================================================================================
412412

413413
The ``warpSize`` constant contains the number of threads per warp for the given
414-
target device. It can differ between different architectures, and on RDNA
415-
architectures it can even differ between kernel launches, depending on whether
416-
they run in CU or WGP mode. See the
414+
target device. It can differ between different architectures, see the
417415
:doc:`hardware features <../reference/hardware_features>` for more
418416
information.
419417

docs/reference/hardware_features.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,12 @@ page.
240240
- 106
241241
- 104
242242

243-
.. [1] RDNA architectures have a configurable wavefront size. The native
244-
wavefront size is 32, but they can run in "CU mode", which has an effective
245-
wavefront size of 64. This affects the number of resident wavefronts and
246-
blocks per compute Unit.
243+
.. [1] The RDNA architectures feature an experimental compiler option called
244+
``mwavefrontsize64``, which determines the wavefront size for kernel code
245+
generation. When this option is disabled, the native wavefront size of 32 is
246+
used, when enabled wavefront size 64 is used. This option is not supported by
247+
the HIP runtime.
248+
247249
.. [2] RDNA architectures expand the concept of the traditional compute unit
248250
with the so-called work group processor, which effectively includes two
249251
compute units, within which all threads can cooperate.

0 commit comments

Comments
 (0)