This directory contains example scripts demonstrating how to use the pyzes module.
IMPORTANT: The usage instructions below apply to pyzes installed via pip. If you've cloned this repository locally, you should run the examples directly from the test/ directory in the repository root instead.
These instructions are for users who installed pyzes via pip:
After installing pyzes via pip:
pip install pyzesYou can run examples directly:
python3 -m examples.pyzes_example
python3 -m examples.pyzes_black_box_test -hIf you cloned the level-zero repository locally, run the examples directly from the repository:
cd bindings/sysman/python/source/examples
python3 pyzes_example.py
python3 pyzes_black_box_test.py -hThe examples in this source/examples/ directory are packaged for pip distribution only.
- Python 3.10+
- Intel GPU with Level-Zero drivers installed
- pyzes module