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: scripts/runtime/PROG.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@ API Semantics and Considerations:
29
29
- By default, zer functions always use the driver at index 0 (after loader sorting). This can be overridden using :ref:`ZEL_DRIVERS_ORDER <driver-ordering>`.
30
30
- Level Zero loader will always route zer functions to first driver instance that it reports
31
31
- By default, the Level Zero loader ensures that drivers are prioritized as follows: Discrete GPU hardware solutions are reported at index 0 when available. If no discrete GPU is present, any GPU solution will be reported at index 0. This default ordering can be overridden using :ref:`ZEL_DRIVERS_ORDER <driver-ordering>`.
32
-
- In the default path, the Level Zero loader routes API calls directly to driver pointers, allowing applications to bypass the loader for lower latency
33
-
- When tools are enabled, the Level Zero loader routes API calls through the loader to allow interception by those tools
32
+
- When only one driver is present, the Level Zero loader populates the DDI table with driver function pointers directly, enabling API calls to reach the driver without traversing the loader's intercept layer; with multiple drivers, the loader's intercept layer is always active
33
+
- When tools such as the validation or tracing layer are enabled (via ``ZE_ENABLE_VALIDATION_LAYER`` or ``ZE_ENABLE_TRACING_LAYER``), the Level Zero loader inserts intercept functions into the DDI table so that API calls pass through those layers before reaching the driver
34
34
- After Level Zero Init during zeInitDrivers, the zer runtime initializes the default driver (index 0), the driver at index 0 cannot be changed after initialization is called in the process
35
35
- zer and ze API's use the same handle object types and can be used together
36
36
- zer getter APIs return the desired object directly whenever feasible
0 commit comments