Skip to content

[UR][Offload] update args for olCreateEvent and olLaunchKernel#22640

Merged
kswiecicki merged 1 commit into
intel:syclfrom
311Volt:ur-update-offload-adapter
Jul 17, 2026
Merged

[UR][Offload] update args for olCreateEvent and olLaunchKernel#22640
kswiecicki merged 1 commit into
intel:syclfrom
311Volt:ur-update-offload-adapter

Conversation

@311Volt

@311Volt 311Volt commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

In upstream LLVM, olCreateEvent gained a Flags param - update UR adapter to pass OL_EVENT_FLAGS_NONE, matching the old behavior.

Concurrently, olLaunchKernel switched to a pointer array for the kernel launch args. Luckily the adapter already tracks the information needed for the new API, which can be passed directly.

This patch is concerned with resolving build errors with current upstream LLVM and retaining existing functionality, not with feature-completeness against new liboffload features.

In upstream LLVM, olCreateEvent gained a `Flags` param - update UR
adapter to pass OL_EVENT_FLAGS_NONE, matching the old behavior.

Concurrently, olLaunchKernel switched to a pointer array for the kernel
launch args. Luckily the adapter already tracks the information needed
for the new API, which can be passed directly.

This patch is concerned with resolving build errors with current
upstream LLVM and retaining existing functionality, not with
feature-completeness against new liboffload features.
@311Volt
311Volt requested a review from a team as a code owner July 15, 2026 09:17
@kswiecicki
kswiecicki merged commit b9d460f into intel:sycl Jul 17, 2026
39 of 40 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.

4 participants