-
Notifications
You must be signed in to change notification settings - Fork 1
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
Transfer array from Singe #48
Conversation
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.
Big picture I think this is a great addition and would like to see this included. Given discussion with @mauneyc-LANL and @rbberger I think we cna merge without CI actually running, so long as you ran tests locally and we can wait for the great test rewrite from @rbberger .
A few comments/questions/requested changes below. Feel free to push back on anything.
Oh also there should be at least a mention this exists in the docs. |
I was digging around a bit and found this NVIDIA/libcudacxx#51 (comment) TLDR: 1) Would this make a hand-rolled |
👍 This is what we do in parthenon. But is that fully portable? |
Most of |
that's a satisfying explanation for me. 👍 |
19ac3d4
to
6984c52
Compare
6984c52
to
f4ebbfb
Compare
This is ready for another review |
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 great! Only one concern in the tests otherwise I think this is good to go.
8992b07
to
c5646ac
Compare
#include <iterator> | ||
#include <tuple> | ||
|
||
namespace PortsOfCall { |
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.
@Yurlungur, is this namespacing correct?
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.
Yep 👍
PR Summary
An implementation of
std::array
that works on both the CPU and the GPU.PR Checklist