Skip to content

[SYCL] Return trivial default constructor to half type #4631

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 13 commits into from
Oct 4, 2021

Conversation

maximdimakov
Copy link
Contributor

@maximdimakov maximdimakov commented Sep 24, 2021

Return trivial default constructor to half type. Without default constructor it is impossible to create union with half type.
Changed implementation of marray and half_vec constructors for optimizing them to use half with trivial default constructor.
Update files accordingly to returned half trivial default constructor.
This patch corrects #4518

Signed-off-by: mdimakov [email protected]

Copy link
Contributor

@vladimirlaz vladimirlaz left a comment

Choose a reason for hiding this comment

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

This difference was introduced intentionally to resolve mangling issues with different compilers. Please do not merge until resolving all mangling concerns

vladimirlaz
vladimirlaz previously approved these changes Sep 27, 2021
vladimirlaz
vladimirlaz previously approved these changes Sep 27, 2021
@maximdimakov
Copy link
Contributor Author

@AlexeySachkov could you, please, review?

@romanovvlad romanovvlad merged commit 909a824 into intel:sycl Oct 4, 2021
@maximdimakov maximdimakov deleted the half_default 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.

4 participants