-
Notifications
You must be signed in to change notification settings - Fork 104
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
Reshape method #1760
Reshape method #1760
Conversation
@MrBurmark , @rhornung67 I think the example for the reshape method can be simplified. I just pushed up a new version. I was a bit worried the previous version might have too much going on. |
Just pushed up an iteration which ties Reshape to the permuted layout usage in view. |
I like this idea: it makes permutations and layouts much easier to use. However, I think it should be called something like |
That's actually a good point. What about |
Maybe we can debate this at the RAJA Hackathon, this falls in line with documentation and our desire to perform general clean up. |
Coming up with good, intuitive names is hard. |
I second make_permuted_view. That's more in line with our existing API. I assume reshape as a name comes from the function in eigen? |
Another idea would be to add this functionality as partial specializations of the existing |
Thank you all, through teamwork we have improved the API and implementation details. I believe we are ready for another review. |
@MrBurmark, if you have a second can you provide a review here? I think we are good to go once you take a look. |
Summary
This PR adds helper methods to views to create Reshape methods with compile time options C and Fortran style indexing