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] Fix regression introduced in https://github.com/intel/llvm/pull/11517 #12002

Merged
merged 7 commits into from
Nov 27, 2023

Conversation

dm-vodopyanov
Copy link
Contributor

@dm-vodopyanov dm-vodopyanov commented Nov 23, 2023

This patch fixes a regression caused by refactoring of split_string function in #11517.
The regression is the following: the delimiter is a space, input string is "A B C " - which has a space at the end.
Before #11517 split_string returned {"A", "B", "C"} but with #11517 it returns {"A", "B", "C", ""}.
This regression affects multiple CTS tests, verified the fix locally, and also unit tests for split_string function were added to this patch. This log shows that one of the unit tests failed before applying the fix: https://github.com/intel/llvm/actions/runs/6974175043/job/18979466747#step:11:372. With the fix it passes.

Fixes #11996

@dm-vodopyanov dm-vodopyanov marked this pull request as ready for review November 23, 2023 21:30
@dm-vodopyanov dm-vodopyanov requested a review from a team as a code owner November 23, 2023 21:30
@dm-vodopyanov
Copy link
Contributor Author

@cperkinsintel @intel/llvm-reviewers-runtime - friendly ping

@dm-vodopyanov dm-vodopyanov merged commit 6708610 into intel:sycl Nov 27, 2023
10 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.

#11517 introduces "Attempting to use a built-in kernel. They are not fully supported" errors in SYCL-CTS
2 participants