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

[SYCL][NativeCPU] Fix kernel argument passing. #16995

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Feb 12, 2025

We were reading the kernel arguments at kernel execution time, but kernel arguments are allowed to change between enqueuing and executing. Make sure to create a copy of kernel arguments ahead of time.

This was previously approved as a unified-runtime PR: oneapi-src/unified-runtime#2700

@hvdijk hvdijk requested a review from a team as a code owner February 12, 2025 22:16
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 841df61 to 65e085a Compare February 12, 2025 22:21
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 65e085a to b6809f3 Compare February 12, 2025 22:44
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from b6809f3 to 6cb6f2d Compare February 13, 2025 00:47
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 6cb6f2d to 53101cd Compare February 13, 2025 01:03
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 53101cd to 1b9a2f8 Compare February 13, 2025 03:51
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 1b9a2f8 to 1cabcee Compare February 13, 2025 16:30
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from 1cabcee to b24b8ff Compare February 18, 2025 23:44
@hvdijk hvdijk requested a review from a team as a code owner February 18, 2025 23:44
We were reading the kernel arguments at kernel execution time, but kernel
arguments are allowed to change between enqueuing and executing. Make
sure to create a copy of kernel arguments ahead of time.
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch from b24b8ff to 10ccd68 Compare February 18, 2025 23:46
@hvdijk
Copy link
Contributor Author

hvdijk commented Feb 19, 2025

@intel/llvm-gatekeepers This is ready to merge, thanks.

@ldrumm ldrumm merged commit 45d6f0e into intel:sycl Feb 19, 2025
30 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