-
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
added documentation for IndexLayout #1583
Conversation
a5fe48b
to
d18558a
Compare
Index Layout | ||
^^^^^^^^^^^^ | ||
|
||
``RAJA::IndexLayout`` is a layout that uses an indexing strategy for each |
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.
``RAJA::IndexLayout`` is a layout that uses an indexing strategy for each | |
``RAJA::IndexLayout`` is a layout that potentially uses a different indexing strategy for each | |
In reality, all RAJA Layouts use an "index strategy" to index into an array of data. The distinguishing characteristic of IndexLayout
is the fact that the indexing can be different for each dimension, 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.
I think the distinguishing feature should actually be that it can use an index list (or lists) that map input indices to some entry in a view. I don't really think that the fact that you can assign different indexing 'strategies' for each dimension is the central point here. I tried rewording this paragraph to convey that.
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.
I agree that is the main thing. Having to set one for each dimension is not something you had to do before though so it seems noteworthy as well.
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.
I re-worded the first paragraph to convey both of the above points. Let me know if you think more clarification or elaboration on those main points is needed.
dcc9bd2
to
d73db63
Compare
…ndexLayout unit test
Co-authored-by: Jason Burmark <MrBurmark@users.noreply.github.com>
c13399d
to
dbaa1c3
Compare
This PR is for documenting the IndexLayout.