Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.10 Spec Changes for the L0 Loader #200

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

nrspruit
Copy link
Contributor

  • Generated code changes for the Loader supporting L0 v1.10.0
  • Added new metric handle generators
  • Add support for zeInitDrivers

@nrspruit
Copy link
Contributor Author

Hello @lisanna-dettwyler / @rwmcguir / @Jemale ,

This is the first draft of the v1.10 support, I still need to write tests for zeInitDrivers and expand the null driver for that testing, but this is the first working draft.

@@ -114,7 +114,7 @@ namespace ze_lib
// Check which drivers support the ze_driver_flag_t specified
// No need to check if only initializing sysman
bool requireDdiReinit = false;
result = zelLoaderDriverCheck(flags, &ze_lib::context->initialzeDdiTable.Global, &ze_lib::context->initialzesDdiTable.Global, &requireDdiReinit, sysmanOnly);
result = zelLoaderDriverCheck(flags, desc, &ze_lib::context->initialzeDdiTable.Global, &ze_lib::context->initialzesDdiTable.Global, &requireDdiReinit, sysmanOnly);
Copy link
Contributor

Choose a reason for hiding this comment

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

am I just now noticing that a lot of this function assumes ! DYNAMIC_LOAD_LOADER?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, if we enable that option there will need to be a refactor.

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