-
Notifications
You must be signed in to change notification settings - Fork 407
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
Interoperability between static and dynamic rank views #295
Comments
The DynRankView is supposed to be a temporary workaround (hack) until Intrepid2 can be refactored to remove the requirement for dynamic rank view. |
That's part of the reason why you need interoperability. Only parts of the code are refactored, so you need a way to convert between the two. Even so, the DynRankView will have general utility, so it would be a shame to get rid of it after Intrepid2 (and the codes that use it) have been refactored. |
Oh... I thought that the dynamic rank view is a permanent solution that everybody uses the same container among different packages, i.e., panzer, intrepid, drekar and albany. I don't think that we remove dynrankview after refactoring; introducing dynrankview is part of refactoring. assignment between dynrankview and view may not be possible. but deep_copy should be okay if kokkos supports it. |
I too was under the impression that DynRankView is a permanent thing. I certainly believe that the bracket operator should be removed once the intrepid conversion is done, but as Eric said, DynRankView is very useful. |
When assigning a view to a dynamic rank view, make sure padding carries through. |
Brief update: @hcedwar @crtrott @rppawlo @etphipp @kyungjoo-kim |
@etphipp @rppawlo DynRankView redesigned to be its own View implementation
Important! sacado-mod-drvredesign-7.patch |
The patch didn't seem to go through, one more try... |
With the DynRankView and View now being used in a bunch of code together, interoperability between the two is becoming an issue. In particular some code only works with DynRankViews, other code only works with View's, and the user has a mixture of the two. Thus it would be nice if you could:
The text was updated successfully, but these errors were encountered: