Skip to content

[SYCL] Provide length when converting to string view in preview mode#19212

Closed
jchlanda wants to merge 2 commits intointel:syclfrom
jchlanda:jakub/string_view
Closed

[SYCL] Provide length when converting to string view in preview mode#19212
jchlanda wants to merge 2 commits intointel:syclfrom
jchlanda:jakub/string_view

Conversation

@jchlanda
Copy link
Copy Markdown
Contributor

No description provided.

@jchlanda
Copy link
Copy Markdown
Contributor Author

This was discovered in RTC testing and was triggered from within make_kernel_bundle_from_source call.

@jchlanda jchlanda marked this pull request as ready for review June 30, 2025 13:02
@jchlanda jchlanda requested a review from a team as a code owner June 30, 2025 13:02
@jchlanda jchlanda requested a review from aelovikov-intel June 30, 2025 13:02
@jchlanda
Copy link
Copy Markdown
Contributor Author

Looks like strlen is constexpr only from c++ 20, will have to move to a loop.

Copy link
Copy Markdown
Contributor

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

Why is existing data member len wrong?

@jchlanda
Copy link
Copy Markdown
Contributor Author

jchlanda commented Jul 1, 2025

Why is existing data member len wrong?

You're right, that was a knee-jerk reaction to a different problem. Closing now.

@jchlanda jchlanda closed this Jul 1, 2025
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.

2 participants