Skip to content

Conversation

@nrspruit
Copy link
Contributor

No description provided.

@nrspruit nrspruit force-pushed the fix_optional_invalid_ddi branch from 0be9363 to 18b3d0f Compare December 18, 2025 20:26
rwmcguir
rwmcguir previously approved these changes Dec 18, 2025
@nrspruit nrspruit force-pushed the fix_optional_invalid_ddi branch from 4b34a1b to 8cab8a3 Compare December 19, 2025 02:39
Copy link
Contributor

@rwmcguir rwmcguir left a comment

Choose a reason for hiding this comment

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

Much better explanation. Thank you.

@nrspruit nrspruit requested a review from Copilot December 19, 2025 16:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request modifies the driver initialization logic to properly handle optional DDI (Device Driver Interface) tables. The change allows optional tables to fail gracefully without stopping the initialization process, while still failing fast on required table errors. This is achieved by ignoring return values from optional table loading functions and resetting the result to SUCCESS, ensuring the initialization continues to load remaining tables.

Key Changes:

  • Modified initialization functions across multiple loader files to treat optional DDI tables differently from required ones
  • Updated the template file to generate code that handles optional tables conditionally based on namespace
  • Version bumped from 1.26.2 to 1.26.3

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
source/loader/zet_ldrddi.cpp Added documentation and modified init function to ignore failures from optional DDI tables (Exp variants)
source/loader/zes_ldrddi.cpp Added documentation and modified init function to ignore failures from optional DDI tables, removed error handling for specific optional tables
source/loader/zer_ldrddi.cpp Added comprehensive documentation for the init function behavior
source/loader/ze_ldrddi.cpp Added documentation and modified init function to ignore failures from optional DDI tables (Exp and RTAS variants)
scripts/templates/ldrddi.cpp.mako Updated template to conditionally generate error handling based on whether table is optional
PRODUCT_GUID.txt Updated version from 1.26.2 to 1.26.3 and refreshed GUID
CMakeLists.txt Updated project version from 1.26.2 to 1.26.3
CHANGELOG.md Added v1.26.3 entry documenting the fix for optional DDI table handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nrspruit nrspruit merged commit 354190c into oneapi-src:master Dec 19, 2025
50 checks passed
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