Skip to content

[SYCL] Fix underlying type for std::byte when multi_ptr is used #4705

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 2 commits into from
Oct 12, 2021

Conversation

maximdimakov
Copy link
Contributor

@maximdimakov maximdimakov commented Oct 5, 2021

sycl::nd_item/group::async_work_group_copy() does not working when sycl::multi_ptr with std::byte is passed to this function due to device can't operate with std::byte. Underlying realization of this type for device is changed to unsigned char.
The test for std::byte : intel/llvm-test-suite#496
Signed-off-by: mdimakov [email protected]

@maximdimakov maximdimakov requested a review from a team as a code owner October 5, 2021 12:47
@s-kanaev
Copy link
Contributor

@cperkinsintel , could you, please, review?

Copy link
Contributor

@s-kanaev s-kanaev left a comment

Choose a reason for hiding this comment

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

LGTM

@bader bader merged commit cb388aa into intel:sycl Oct 12, 2021
@maximdimakov maximdimakov deleted the fix_multi_ptr_byte branch March 24, 2022 13:59
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