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

[NativeCPU] Fix kernel argument passing. #2700

Closed
wants to merge 1 commit into from

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.

@hvdijk
Copy link
Contributor Author

hvdijk commented Feb 12, 2025

Corresponding DPC++ PR: intel/llvm#16995

@github-actions github-actions bot added the native-cpu Native CPU adapter specific issues label Feb 12, 2025
@hvdijk hvdijk force-pushed the nativecpu-kernel-arguments branch 4 times, most recently from d6ba46e to 4f6d465 Compare February 13, 2025 03:50
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 4f6d465 to 56dd513 Compare February 13, 2025 16:30
@hvdijk hvdijk added the ready to merge Added to PR's which are ready to merge label Feb 13, 2025
@hvdijk hvdijk closed this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native-cpu Native CPU adapter specific issues ready to merge Added to PR's which are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants