You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pulls/2137/_sources/user_guides/environment_variables.rst.txt
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,11 @@ If the system has four dual-tile GPUs installed, this would be the second tile i
88
88
Therefore, we could use the second tile in each of four dual-tile GPUs with ``ZE_AFFINITY_MASK=1,3,5,7``.
89
89
90
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``:
91
-
**If all exposed tiles (as determined by ``ZE_AFFINITY_MASK``) belong to the same physical device:**
92
-
- That composite device is available to the application, and each tile is accessible as a component device of that composite device.
91
+
|**If all exposed tiles (as determined by ``ZE_AFFINITY_MASK``) belong to the same physical device:**
92
+
|- That composite device is available to the application, and each tile is accessible as a component device of that composite device.
93
93
94
-
**If the exposed tiles belong to different physical devices:**
95
-
- A composite device is available for each physical device, and the tiles are accessible as component devices of their respective composite device.
94
+
|**If the exposed tiles belong to different physical devices:**
95
+
|- A composite device is available for each physical device, and the tiles are accessible as component devices of their respective composite device.
96
96
97
97
Additional examples to illustrate this are in the detailed documentation for ``ZE_AFFINITY_MASK``, read more about it in `Level Zero Specification <https://oneapi-src.github.io/level-zero-spec/level-zero/latest/core/PROG.html#affinity-mask>`_.
If the system has four dual-tile GPUs installed, this would be the second tile in the first GPU. In <codeclass="docutils literal notranslate"><spanclass="pre">FLAT</span></code> mode, the numbers use a system-wide-sub-device-number from a flat numbering perspective.
888
888
Therefore, we could use the second tile in each of four dual-tile GPUs with <codeclass="docutils literal notranslate"><spanclass="pre">ZE_AFFINITY_MASK=1,3,5,7</span></code>.</p>
889
889
<p>If we have <codeclass="docutils literal notranslate"><spanclass="pre">ZE_FLAT_DEVICE_HIERARCHY</span></code> set to <codeclass="docutils literal notranslate"><spanclass="pre">COMBINED</span></code>, the way tiles and composite devices are exposed depends on the physical devices present and the value of <codeclass="docutils literal notranslate"><spanclass="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>
892
-
<p><strong>If the exposed tiles belong to different physical devices:</strong>
893
-
- A composite device is available for each physical device, and the tiles are accessible as component devices of their respective composite device.</p>
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>
892
+
<divclass="line-block">
893
+
<divclass="line"><strong>If the exposed tiles belong to different physical devices:</strong></div>
894
+
<divclass="line">- A composite device is available for each physical device, and the tiles are accessible as component devices of their respective composite device.</div>
895
+
</div>
894
896
<p>Additional examples to illustrate this are in the detailed documentation for <codeclass="docutils literal notranslate"><spanclass="pre">ZE_AFFINITY_MASK</span></code>, read more about it in <aclass="reference external" href="https://oneapi-src.github.io/level-zero-spec/level-zero/latest/core/PROG.html#affinity-mask">Level Zero Specification</a>.</p>
0 commit comments