-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update View documentation #21
Conversation
@@ -41,8 +41,10 @@ Template parameters other than `DataType` are optional, but ordering is enforced | |||
### Enums | |||
|
|||
* `rank`: rank of the view (i.e. the dimensionality). | |||
* `Rank`: rank of the view (i.e. the dimensionality) (use `rank` instead). |
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.
Do you really want to document something we don't want people to use?
reference_type operator[] (const IntType& i) const | ||
``` | ||
Returns a value of `reference_type` which may or not be referenceable itself. | ||
See notes on `reference_type` for properties of the return type. |
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.
Say it is only available for rank-1 views
* `HostMirror`: compatible view type with the same `DataType` and `LayoutType` stored in host accessible memory space. | ||
* `non_const_type`: this view type with all template parameters explicitly defined. | ||
* `host_mirror_type`: compatible view type with the same `DataType` and `LayoutType` stored in host accessible memory space. | ||
* `HostMirror`: compatible view type with the same `DataType` and `LayoutType` stored in host accessible memory space (use `host_mirror_type` instead). |
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.
Same question about documenting deprecated things
please update this so that you use the sphinx branch |
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.
Target the new directories.
Closing in favor of #155 |
No description provided.