-
Notifications
You must be signed in to change notification settings - Fork 9
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
dG Dependencies: iteration policy, edge accessor #436
base: issue-517
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch? |
2 similar comments
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
+ added specfem::edge::index to be similar to specfem::point::index + chunk_edge policy now uses View<specfem::edge::index> instead of two separate views for ispec and edge::type = modified test accordingly
test this please |
+ compatibility with devel merge + chunk_edge test is now templated for medium + accessor_tests now load a mesh database - removed build_demo_assembly
retest this please |
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.
LGTM, minor comments
}; | ||
} // namespace iterator | ||
|
||
// TODO all above this is same as chunk.hpp |
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.
Remnant?
return iterator_type(my_indices, ngll); | ||
} | ||
|
||
private: |
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.
protected?
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.
LGTM! But I'd like you to compile and test this with OpenMP enabled and on GPU before we merge.
Description
Please describe the changes/features in this pull request.
Note: instead of merging to devel, consider a push to a different issue branch dedicated to dG dependencies
Adds the following to stage for merging dG into SPECFEM++:
chunk_edge
team policy (each edge iterates ngll nodes along that edge)chunk_edge
field accessorspecfem::compute::load_on_...
routines forchunk_edge
We additionally create an
accessor
unit test directory, which could also be shared withpoint
,chunk_element
, etc. in the future. As for now,point
fields are "tested" to validate thechunk_edge
team policy.Issue Number
If there is an issue created for these changes, link it here
Checklist
Please make sure to check developer documentation on specfem docs.