-
Notifications
You must be signed in to change notification settings - Fork 5
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
Use Kokkos 4.4.01 with mdspan coming from Kokkos #651
Conversation
bdfa078
to
0672aa0
Compare
6c80bc1
to
d3ad777
Compare
@tpadioleau Did you open an issue on Kokkos about this? |
Not yet, we should do it at some point. It is not critical now that we have found a workaround. |
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 good to me except for minor changes. I also have some questions
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 the review
c16ad68
to
49c8924
Compare
49c8924
to
3d803f3
Compare
@acalloo do you still want to do a review or should I merge ? Edit: Ansar is ok to merge |
std::experimental::mdspan
toKokkos::mdspan
,layout_[left|right]_padded
returned bysubmdspan
tolayout_stride
,The reason I use the strategy 3. is that
submdspan
may return alayout_left_padded
/layout_right_padded
layout. Although these layouts should map to KokkosLayoutLeft
/LayoutRight
, I could not find in Kokkos 4.4.01 any public API to construct a Kokkos layout with the padding value.