Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU] Add L0 instruction (#34727)

Jakub Kasprzak114dc1e09a25
diff --git a/src/plugins/intel_gpu/docs/gpu_plugin_with_level_zero.md b/src/plugins/intel_gpu/docs/gpu_plugin_with_level_zero.md
new file mode 100644
index 00000000000..19dfa7d5d6b
--- /dev/null
+++ b/src/plugins/intel_gpu/docs/gpu_plugin_with_level_zero.md
@@ -0,0 +1,17 @@
+# GPU plugin Level Zero support
+
+OpenVINO GPU plugin can be compiled with **experimental** Level Zero support. When enabled, plugin will use Level Zero as GPU compute API instead of OpenCL.
+
+## How to build with Level Zero support
+
+1. Configure cmake with the following additional option:
+ - `-DGPU_RT_TYPE=L0`
+2. Build OpenVINO
+ - `cmake --build . --config Release`
+
+## How to check what runtime is used
+
+1. Set `OV_VERBOSE=1` environment variable
+2. Run workload
+3. Find what variant of stream is reported in the logs (`ze_stream` or `ocl_stream`)
+ - Example output for Level Zero runtime: `ze_stream: [GPU] Created L0 stream`