Skip to content

Commit ebd12e5

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 2137
1 parent de2e6bf commit ebd12e5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

pulls/2137/_sources/user_guides/environment_variables.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ If we have ``ZE_FLAT_DEVICE_HIERARCHY`` set to ``FLAT``, we can have a ``ZE_AFFI
8787
If the system has four dual-tile GPUs installed, this would be the second tile in the first GPU. In ``FLAT`` mode, the numbers use a system-wide-sub-device-number from a flat numbering perspective.
8888
Therefore, we could use the second tile in each of four dual-tile GPUs with ``ZE_AFFINITY_MASK=1,3,5,7``.
8989

90-
If we have ``ZE_FLAT_DEVICE_HIERARCHY`` set to ``COMBINED``, the way tiles and composite devices are exposed depends on the physical devices present and the value of ``ZE_AFFINITY_MASK``:
90+
| If we have ``ZE_FLAT_DEVICE_HIERARCHY`` set to ``COMBINED``, the way tiles and composite devices are exposed depends on the physical devices present and the value of ``ZE_AFFINITY_MASK``:
9191
| **If all exposed tiles (as determined by ``ZE_AFFINITY_MASK``) belong to the same physical device:**
9292
| - That composite device is available to the application, and each tile is accessible as a component device of that composite device.
9393

pulls/2137/objects.inv

0 Bytes
Binary file not shown.

pulls/2137/user_guides/environment_variables.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -886,9 +886,11 @@ <h2>Variable <code class="docutils literal notranslate"><span class="pre">ZE_AFF
886886
<p>If we have <code class="docutils literal notranslate"><span class="pre">ZE_FLAT_DEVICE_HIERARCHY</span></code> set to <code class="docutils literal notranslate"><span class="pre">FLAT</span></code>, we can have a <code class="docutils literal notranslate"><span class="pre">ZE_AFFINITY_MASK</span></code> of “1” for our application to only see the second tile in the system as logical device #0.
887887
If the system has four dual-tile GPUs installed, this would be the second tile in the first GPU. In <code class="docutils literal notranslate"><span class="pre">FLAT</span></code> mode, the numbers use a system-wide-sub-device-number from a flat numbering perspective.
888888
Therefore, we could use the second tile in each of four dual-tile GPUs with <code class="docutils literal notranslate"><span class="pre">ZE_AFFINITY_MASK=1,3,5,7</span></code>.</p>
889-
<p>If we have <code class="docutils literal notranslate"><span class="pre">ZE_FLAT_DEVICE_HIERARCHY</span></code> set to <code class="docutils literal notranslate"><span class="pre">COMBINED</span></code>, the way tiles and composite devices are exposed depends on the physical devices present and the value of <code class="docutils literal notranslate"><span class="pre">ZE_AFFINITY_MASK</span></code>:
890-
| <strong>If all exposed tiles (as determined by ``ZE_AFFINITY_MASK``) belong to the same physical device:</strong>
891-
| - That composite device is available to the application, and each tile is accessible as a component device of that composite device.</p>
889+
<div class="line-block">
890+
<div class="line">If we have <code class="docutils literal notranslate"><span class="pre">ZE_FLAT_DEVICE_HIERARCHY</span></code> set to <code class="docutils literal notranslate"><span class="pre">COMBINED</span></code>, the way tiles and composite devices are exposed depends on the physical devices present and the value of <code class="docutils literal notranslate"><span class="pre">ZE_AFFINITY_MASK</span></code>:</div>
891+
<div class="line"><strong>If all exposed tiles (as determined by ``ZE_AFFINITY_MASK``) belong to the same physical device:</strong></div>
892+
<div class="line">- That composite device is available to the application, and each tile is accessible as a component device of that composite device.</div>
893+
</div>
892894
<div class="line-block">
893895
<div class="line"><strong>If the exposed tiles belong to different physical devices:</strong></div>
894896
<div class="line">- A composite device is available for each physical device, and the tiles are accessible as component devices of their respective composite device.</div>

0 commit comments

Comments
 (0)