Skip to content

[SYCL] Fix -Wstring-concatenation in integration headers #15197

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 1 commit into from
Sep 3, 2024

Conversation

al42and
Copy link
Contributor

@al42and al42and commented Aug 26, 2024

A sentinel value added in #15175 fixed the problem of empty arrays, but for non-empty arrays was just concatenated to the last valid value. This produced warnings when compiling SYCL applications, and also meant that there is no sentinel value in the non-empty arrays.

A sentinel value added in intel#15175 fixed the problem of empty arrays, but
for non-empty arrays was just concatenated to the last valid value.
This produced warnings when compiling SYCL applications, and also
meant that there is no sentinel value in the non-empty arrays.
@al42and al42and requested a review from a team as a code owner August 26, 2024 18:20
@al42and
Copy link
Contributor Author

al42and commented Aug 27, 2024

Ping @premanandrao

Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

Thank you!

@al42and
Copy link
Contributor Author

al42and commented Aug 29, 2024

@intel/llvm-gatekeepers, could you please start the CI?

@al42and
Copy link
Contributor Author

al42and commented Sep 3, 2024

@intel/llvm-gatekeepers, this PR seems ready, could you please merge?

@premanandrao
Copy link
Contributor

@intel/llvm-gatekeepers, there is some urgency with this change as it needs to go into a product branch.

@aelovikov-intel aelovikov-intel merged commit 45b2ce3 into intel:sycl Sep 3, 2024
13 checks passed
@al42and al42and deleted the improve-sentinel branch September 3, 2024 17:13
AlexeySachkov pushed a commit to AlexeySachkov/llvm that referenced this pull request Nov 26, 2024
A sentinel value added in intel#15175 fixed the problem of empty arrays, but
for non-empty arrays was just concatenated to the last valid value. This
produced warnings when compiling SYCL applications, and also meant that
there is no sentinel value in the non-empty arrays.
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