-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] Update adapter and backend to use new level zero ext table #27095
[]NPU] Update adapter and backend to use new level zero ext table #27095
Conversation
cdde2ea
to
fad034e
Compare
build_jenkins |
fad034e
to
f4dc40c
Compare
f4dc40c
to
463ae4f
Compare
463ae4f
to
c3b4aa3
Compare
@@ -41,46 +41,46 @@ LevelZeroCompilerAdapter::LevelZeroCompilerAdapter(std::shared_ptr<IEngineBacken | |||
|
|||
switch (graphExtVersion) { | |||
case ZE_GRAPH_EXT_VERSION_1_3: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Graph Extension 1.9? The plan is that driver pushes the change with 1.9 and drop the previous one from Driver extension properties list. It means that 1.8 is not expose any longer by driver and 1.9 is available together with 1.2 up to 1.7 graph extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That change is not available in the graph-ext version we use in this PR. We agreed to leave that for another PR, where we would also fix the total_mem_size property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for explanation
9b9af66
to
a74d1ec
Compare
a74d1ec
to
5d1638e
Compare
…envinotoolkit#27095) ### Details: - *use ze_graph_dditable_ext_t to replace local ze_graph_dditable_ext_last_t* - *use ze_graph_ext_version_t as template parameter instead of ze_graph_dditable_ext_1_x* - *update commit of level-zero-ext to use one ddi table* Plugin with current driver and driver released later, will use ze_graph_dditable_ext_t and ZE_extension_graph, the version is ZE_GRAPH_EXT_VERSION_CURRENT inside current level-zero-ext commit, 1.8 now Plugin with old driver, will use ze_graph_dditable_ext_t to reinterpret old ddi table, use largest version supported by driver, , backend work on ze_graph_ext_version_t, compiler will work based on ze_graph_ext_version_t. Fpr example, largest ext version supported by driver is 1.7. plugin will use 1.7. ### Tickets: - *155313*
Details:
Plugin with current driver and driver released later, will use ze_graph_dditable_ext_t and ZE_extension_graph, the version is ZE_GRAPH_EXT_VERSION_CURRENT inside current level-zero-ext commit, 1.8 now
Plugin with old driver, will use ze_graph_dditable_ext_t to reinterpret old ddi table, use largest version supported by driver, , backend work on ze_graph_ext_version_t, compiler will work based on ze_graph_ext_version_t. Fpr example, largest ext version supported by driver is 1.7. plugin will use 1.7.
Tickets: