SWDEV-461621 - Merge PR#3473 from Github HIP to Gerrit staging

Change-Id: Ibd2bb6c7beef4e7c3f99644904394bbca8a361b9
Этот коммит содержится в:
Julia Jiang
2024-05-10 15:58:16 -04:00
коммит произвёл Julia Jiang
родитель 23c35a80a3
Коммит 1e6088c35f
21 изменённых файлов: 19 добавлений и 19 удалений
+8 -8
Просмотреть файл
@@ -34,7 +34,7 @@ The thread hierarchy inherent to how AMD GPUs operate is depicted in
.. _inherent_thread_hierarchy:
.. figure:: ../data/programming_model/reference/thread_hierarchy.svg
.. figure:: ../data/understand/programming_model_reference/thread_hierarchy.svg
:alt: Diagram depicting nested rectangles of varying color. The outermost one
titled "Grid", inside sets of uniform rectangles layered on one another
titled "Block". Each "Block" containing sets of uniform rectangles
@@ -83,9 +83,9 @@ of. It relaxes some restrictions of the :ref:`inherent_thread_model`
imposed by the strict 1:1 mapping of architectural details to the programming
model.
The rich set of APIs introduced by Cooperative Groups allow the programmer to
define their own set of thread groups which may fit their user-cases better than
those defined by the hardware. The set of implicit groups by kernel launch
The rich set of APIs introduced by Cooperative Groups allow the programmer to
define their own set of thread groups which may fit their user-cases better than
those defined by the hardware. The set of implicit groups by kernel launch
parameters are still available.
The thread hierarchy abstraction of Cooperative Groups manifest as depicted in
@@ -93,7 +93,7 @@ The thread hierarchy abstraction of Cooperative Groups manifest as depicted in
.. _coop_thread_hierarchy:
.. figure:: ../data/programming_model/reference/thread_hierarchy_coop.svg
.. figure:: ../data/understand/programming_model_reference/thread_hierarchy_coop.svg
:alt: Diagram depicting nested rectangles of varying color. The outermost one
titled "Grid", inside sets of different sized rectangles layered on
one another titled "Block". Each "Block" containing sets of uniform
@@ -102,7 +102,7 @@ The thread hierarchy abstraction of Cooperative Groups manifest as depicted in
Cooperative group thread hierarchy.
Multi Grid
Multi Grid
An abstraction of potentially multiple simultaneous launches of
the same kernel over multiple devices. Grids inside a multi device kernel
launch need not be of uniform size, thus allowing taking into account
@@ -110,7 +110,7 @@ Multi Grid
.. deprecated:: 5.0
Grid
Grid
Same as the :ref:`inherent_thread_model` Grid entity. The ability to
synchronize over a grid requires the kernel to be launched using the
Cooperative Groups API.
@@ -134,7 +134,7 @@ how they relate to the various levels of the threading model.
.. _memory_hierarchy:
.. figure:: ../data/programming_model/reference/memory_hierarchy.svg
.. figure:: ../data/understand/programming_model_reference/memory_hierarchy.svg
:alt: Diagram depicting nested rectangles of varying color. The outermost one
titled "Grid", inside on the upper half a rectangle titled "Cluster".
Inside it are two identical rectangles titled "Block", inside them are