-
Notifications
You must be signed in to change notification settings - Fork 69
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
Update strided_index_range to strided_slice #231
Conversation
Its confusing extents<> with the function exetents()
using offset_type = OffsetType; | ||
using extent_type = ExtentType; | ||
using stride_type = StrideType; | ||
|
||
OffsetType offset; | ||
ExtentType extent; | ||
StrideType stride; | ||
|
||
static_assert(is_integral<OffsetType>::value || __mdspan_is_integral_constant<OffsetType>::value); |
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.
Thanks for adding the Mandates! : - )
Optionally, given that the P2630 implementation only needs to support C++17, would you consider using is_integral_v<T>
instead of is_integral<T>::value
?
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.
I think I got confused with the error message for is_integra_constant_v which doesn't exist :-)
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.
changed that back.
80354a2
to
5702ddc
Compare
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.
Looks pretty straightforward to me
Don't unconditionally include <execution>. Fixes kokkos#231.
No description provided.