Skip to content

[SYCL][NATIVECPU] fix for urEnqueueUSMFill when pattern size is equal to fill size #18366

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 5 commits into from
May 9, 2025

Conversation

uwedolinsky
Copy link
Contributor

@uwedolinsky uwedolinsky commented May 8, 2025

This PR makes urEnqueueUSMFill in the NativeCPU adapter to correctly return UR_RESULT_SUCCESS when the pattern size is equal to the fill size (previously returned UR_RESULT_ERROR_INVALID_SIZE).

This fixes at least test-e2e/Basic/memop/memop_no_unnamed_lambda.cpp on NativeCPU.

This PR also removes an unneeded multiply in that function.

@uwedolinsky uwedolinsky requested a review from a team as a code owner May 8, 2025 15:48
@uwedolinsky
Copy link
Contributor Author

@intel/llvm-gatekeepers this looks ready to merge. Thank you!

@againull againull merged commit 037cc7b into intel:sycl May 9, 2025
32 of 33 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.

3 participants