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

[NPU] Use different graph init #26903

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

Conversation

pereanub
Copy link
Contributor

@pereanub pereanub commented Oct 3, 2024

Details:

  • Use different graph init in case graph file schema or elf is used

Tickets:

  • ticket-id

@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label Oct 3, 2024
properties.stype = ZE_STRUCTURE_TYPE_GRAPH_PROPERTIES;
_graph_ddi_table_ext.pfnGetProperties2(_graph, &properties);

switch (properties.initStageRequired) {

Choose a reason for hiding this comment

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

This is a bitfield, the logic should be changed to test for each enum value (e.g. if (properties.initStageRequired & ZE_GRAPH_STAGE_INITIALIZE)) and call the appropriate initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants