Skip to content

feature: Add pyzes support for driver APIs - #523

Open
aviralni wants to merge 1 commit into
oneapi-src:masterfrom
aviralni:pyzes_driver
Open

aviralni wants to merge 1 commit into
oneapi-src:masterfrom
aviralni:pyzes_driver

Conversation

@aviralni

@aviralni aviralni commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor
  1. zesDriverGetProperties
  2. zesDriverGetExtensionProperties
  3. zesDriverGetExtensionFunctionAddress
  4. zesDriverEventListenEx
  5. zesDriverEventRegisterExt
  6. zesDriverEventListenExt

Add python bindings, unit tests, black box test coverage and README
entries for:
1. zesDriverGetProperties
2. zesDriverGetExtensionProperties
3. zesDriverGetExtensionFunctionAddress
4. zesDriverEventListenEx
5. zesDriverEventRegisterExt
6. zesDriverEventListenExt

Related-To: SYSM-433

Signed-off-by: Aviral Nigam <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Driver-scoped black-box tests must run independently of device enumeration.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds Python bindings, tests, examples, and documentation for six Sysman driver APIs.

Changes:

  • Adds driver structures, event flags, and API wrappers.
  • Adds unit and black-box test coverage.
  • Documents supported driver APIs.
File Review
bindings/​sysman/​python/​test/​unit_tests/​test_driver.py Adds unit tests for the new wrappers.
bindings/​sysman/​python/​source/​pyzes.py Adds driver API bindings and types.
bindings/​sysman/​python/​source/​examples/​pyzes_black_box_test.py Driver tests at lines 1536 and 1638 are incorrectly skipped when device enumeration fails or returns no devices.
bindings/​sysman/​python/​README.md Documents version 0.1.3 APIs while package and release metadata remain at 0.1.2.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

test_engine_modules(devices[device_idx], device_idx)

# Test driver properties, extensions, and events (driver scoped)
test_driver_module(drivers[driver_idx], driver_idx)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants