Skip to content

[SYCL] Change internal host vec representation #13596

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

Conversation

steffenlarsen
Copy link
Contributor

This commit changes the internal representation of sycl::vec<sycl::half, N> to use sycl::half directly instead of the wrapper implementation used inside them. This avoids strict alias violation in the operator[] for the host implementation.

This commit changes the internal representation of
sycl::vec<sycl::half, N> to use sycl::half directly instead of the
wrapper implementation used inside them. This avoids strict alias
violation in the operator[] for the host implementation.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

ABI-breaking patch for merging the uint16_t host-implementation half wrapper into sycl::host here: #13597

@steffenlarsen steffenlarsen marked this pull request as ready for review April 30, 2024 17:07
@steffenlarsen steffenlarsen requested a review from a team as a code owner April 30, 2024 17:07
Copy link
Contributor

@uditagarwal97 uditagarwal97 left a comment

Choose a reason for hiding this comment

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

LGTM!

@uditagarwal97
Copy link
Contributor

@intel/llvm-gatekeepers the PR is ready!

@aelovikov-intel aelovikov-intel merged commit 5df262f into intel:sycl Apr 30, 2024
13 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