Skip to content

[UR][L0v2] Bump Level Zero and use stable graph API#22489

Merged
kswiecicki merged 10 commits into
intel:syclfrom
KFilipek:12-graph_api_direct
Jul 13, 2026
Merged

[UR][L0v2] Bump Level Zero and use stable graph API#22489
kswiecicki merged 10 commits into
intel:syclfrom
KFilipek:12-graph_api_direct

Conversation

@KFilipek

Copy link
Copy Markdown
Contributor

This PR bumps the Level Zero to the 1.32.0 and use the stable Level Zero graph API.

@KFilipek KFilipek self-assigned this Jun 30, 2026
Comment thread unified-runtime/source/adapters/level_zero/common.cpp Outdated
@KFilipek KFilipek force-pushed the 12-graph_api_direct branch from 2ebbe2d to b051432 Compare June 30, 2026 13:28
@KFilipek KFilipek force-pushed the 12-graph_api_direct branch from b051432 to 442882e Compare June 30, 2026 13:30
Comment thread unified-runtime/source/adapters/level_zero/v2/graph.cpp
Comment thread unified-runtime/source/adapters/level_zero/platform.cpp Outdated
Comment thread unified-runtime/source/adapters/level_zero/platform.cpp
@mateuszpn mateuszpn requested a review from kswiecicki July 8, 2026 14:36
@mateuszpn mateuszpn force-pushed the 12-graph_api_direct branch from d6b19c1 to 5ff5644 Compare July 8, 2026 15:12
@@ -8,17 +8,18 @@
//===----------------------------------------------------------------------===//

#include "graph.hpp"
#include "../external/driver_experimental/zex_graph.h"
// #include "../external/driver_experimental/zex_graph.h"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove

#include "../ur_interface_loader.hpp"
#include "common.hpp"
#include "context.hpp"
#include <level_zero/ze_api.h>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

move this include to the top of the list

@kswiecicki

Copy link
Copy Markdown
Contributor

@mateuszpn, I guess that CI tests either only the experimental or stable path, could you check locally whether both paths are working.

@mateuszpn mateuszpn force-pushed the 12-graph_api_direct branch 2 times, most recently from 2a50a02 to 1b7eb49 Compare July 9, 2026 11:51
@mateuszpn mateuszpn force-pushed the 12-graph_api_direct branch from 1b7eb49 to 058180e Compare July 9, 2026 11:59
@mateuszpn

mateuszpn commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@mateuszpn, I guess that CI tests either only the experimental or stable path, could you check locally whether both paths are working.

Both paths are working (checked on CI with NEO released driver — experimental path and locally with closed driver 39158 — stable path).

The only problem is a bug in the driver (both NEO and closed, but surfaced only in the latter). The DDI table reports version 1_16, while functions like zeCommandListBeginGraphCaptureExt require 1_17. The loader rejects these calls with UNSUPPORTED_VERSION before they reach the driver, which is incorrect — the driver does support these functions. This prevents the functions from running, and there are e2e graph tests which fail for this reason. Old path omits the validation.
Still, this is not adapter regression.

@mateuszpn

Copy link
Copy Markdown
Contributor

@kswiecicki @KFilipek Both paths work locally. Quick patch from driver team + today's commit to the PR solved all issues.

@mateuszpn mateuszpn requested a review from bratpiorka July 10, 2026 13:20
@mateuszpn mateuszpn marked this pull request as ready for review July 10, 2026 13:21
@mateuszpn mateuszpn requested review from a team as code owners July 10, 2026 13:21
@kswiecicki

kswiecicki commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

CI Windows failure is caused by #22293, the macOS failure is caused by an issue with the runner platform.

@kswiecicki kswiecicki merged commit 0f6b3b6 into intel:sycl Jul 13, 2026
79 of 87 checks passed
@KFilipek KFilipek deleted the 12-graph_api_direct branch July 13, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants