-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for
any_resource
(#2309)
* Add documentation for `any_resource` * Apply suggestions from code review Co-authored-by: Bernhard Manfred Gruber <[email protected]> --------- Co-authored-by: Bernhard Manfred Gruber <[email protected]>
- Loading branch information
1 parent
942f59f
commit 7d4be26
Showing
4 changed files
with
80 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. _cudax-memory-resource: | ||
|
||
Memory Resources | ||
================= | ||
|
||
.. toctree:: | ||
:glob: | ||
:maxdepth: 3 | ||
|
||
${repo_docs_api_path}/*any__resource* | ||
|
||
The ``<cuda/experimental/memory_resource.cuh>`` header provides: | ||
- :ref:`any_resource <cudax-memory-resource-any-resource>` and | ||
:ref:`async_any_resource <cudax-memory-resource-async-any-resource>` type erased memory resources similar to | ||
``std::any``. In contrast to :ref:`resource_ref <libcudacxx-extended-api-memory-resources-resource-ref>` they | ||
own the contained resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters