Skip to content

Roll back to original usage of sycl::get_kernel_bundle #1935

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

Merged
merged 1 commit into from
Aug 19, 2025

Conversation

CuiYifeng
Copy link
Contributor

To solve #1121.

The original usage of sycl::get_kernel_bundle should not be device-specific. Since the fixing has landed on oneAPI 2025.2, kernel bundle is now created using only the kernel ID (kid) instead of both device and kernel ID, removing the workaround for device-specific kernel builds and associated comments.

@Copilot Copilot AI review requested due to automatic review settings August 15, 2025 03:52
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR rolls back the usage of sycl::get_kernel_bundle to its original device-agnostic form, removing a workaround that was needed for oneAPI versions prior to 2025.2. The change eliminates device-specific kernel bundle creation and the associated comments explaining the workaround.

  • Reverts sycl::get_kernel_bundle call to use only kernel ID instead of both device and kernel ID
  • Removes workaround comments that referenced a specific GitHub issue

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@CuiYifeng CuiYifeng added this pull request to the merge queue Aug 19, 2025
Merged via the queue into main with commit 83a1555 Aug 19, 2025
61 of 63 checks passed
@CuiYifeng CuiYifeng deleted the yifeng/get_kernel_bundle branch August 19, 2025 05:27
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.

3 participants