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.
- Configure cmake with the following additional option:
-DGPU_RT_TYPE=L0
- Build OpenVINO
cmake --build . --config Release
- Set
OV_VERBOSE=1environment variable - Run workload
- Find what variant of stream is reported in the logs (
ze_streamorocl_stream)- Example output for Level Zero runtime:
ze_stream: [GPU] Created L0 stream
- Example output for Level Zero runtime: