-
Notifications
You must be signed in to change notification settings - Fork 794
[NFC][SYCL] Reduce dependencies of sycl/multi_ptr.hpp
#20073
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,18 +8,18 @@ | |
|
|
||
| #pragma once | ||
|
|
||
| #include <sycl/access/access.hpp> // for address_space, decorated | ||
| #include <sycl/aliases.hpp> // for half | ||
| #include <sycl/access/access.hpp> | ||
| #include <sycl/detail/address_space_cast.hpp> | ||
| #include <sycl/detail/defines_elementary.hpp> // for __SYCL2020_DEPRECATED | ||
| #include <sycl/detail/defines_elementary.hpp> | ||
| #include <sycl/detail/fwd/accessor.hpp> | ||
| #include <sycl/detail/fwd/half.hpp> | ||
| #include <sycl/detail/fwd/multi_ptr.hpp> | ||
| #include <sycl/detail/type_traits.hpp> // for const_if_const_AS | ||
| #include <sycl/half_type.hpp> // for BIsRepresentationT | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...and this are being removed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and yet we are adding new includes to other files? builtins.hpp is being changed to now include multi_ptr.hpp ;-) If it makes a difference in the compile times, I'm 100% supporting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't :) This PR is in the draft state because its first commit is being reviewed separately at #20074. That is where the addition is being done. |
||
| #include <sycl/detail/type_traits.hpp> | ||
|
|
||
| #include <cstddef> // for nullptr_t, ptrdiff_t, size_t | ||
| #include <iterator> // for random_access_iterator_tag | ||
| #include <type_traits> // for enable_if_t, add_pointer_t | ||
| #include <cstddef> | ||
| // Compile-time "heavy", but necessary for `for random_access_iterator_tag`: | ||
| #include <iterator> | ||
| #include <type_traits> | ||
|
|
||
| namespace sycl { | ||
| inline namespace _V1 { | ||
|
|
||
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.
This...