-
Notifications
You must be signed in to change notification settings - Fork 738
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
[NFC][SYCL] Switch to std:: equivalents for utilities in stl_type_traits.hpp #7668
[NFC][SYCL] Switch to std:: equivalents for utilities in stl_type_traits.hpp #7668
Conversation
|
||
// Custom type traits. | ||
// FIXME: Those doesn't seem to be a part of any published/future C++ standard | ||
// so should probably be moved to a different place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably can drop stl_
prefix from the file name to avoid confusion. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have detail/type_traits.hpp
already that has lots of custom stuff (and remove_pointer
that seems to behave differently than std::
version). I think that the best would be to move this code to detail/type_traits.hpp
.
As for this file, I'm planning to add C++20's remove_cvref_t
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following up on the previous comment - sycl::detail::remove_pointer
difference comes from sycl::multi_ptr
support, I think.
known, #7634. |
are known - #7634. @intel/llvm-gatekeepers , this PR is ready. |
…type_traits.hpp (intel#7668)" This reverts commit f4fc927. We found issues when trying to build the project on RHEL7 systems that we need in our OS support matrix.
…its.hpp Re-commits intel#7628 and intel#7668 that were previously reverted due to build issues on RHEL systems. The issues were fixed by introducing `SYCL_LIBDEVICE_GCC_TOOLCHAIN` cmake configuration option in intel#7771.
No description provided.