Skip to content
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

Add documentation for HIP graphs #3585

Open
wants to merge 3 commits into
base: docs/develop
Choose a base branch
from
Open

Conversation

MKKnorr
Copy link

@MKKnorr MKKnorr commented Aug 28, 2024

This PR adds the "how-to" chapter for HIP graphs.

Note, that it currently is set to be merged with understand-hip-graphs, as it depends on its content, and it already has a PR #3571

@randyh62
Copy link

I sent comments through Teams.

@@ -34,6 +34,8 @@ subtrees:
title: Unified memory
- file: how-to/virtual_memory
title: Virtual memory
- file: how-to/hipgraph
title: HIP graph

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

title: Using HIP graph

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left the title as is, as it will be merged into the HIP Runtime API how-to, and this document currently does more than just explain how to use them

@MKKnorr MKKnorr changed the base branch from understand-hip-graphs to docs/develop September 23, 2024 08:52
@MKKnorr MKKnorr changed the title Add how-to chapter for HIP graphs Add documentation for HIP graphs Sep 23, 2024
@MKKnorr MKKnorr force-pushed the how-to-hip-graphs branch 2 times, most recently from 4318aea to 60f8a71 Compare September 23, 2024 09:15
@MKKnorr
Copy link
Author

MKKnorr commented Sep 23, 2024

I won't fix the linting failing on a possessive 's, that can (and should) be fixed in the linter in rocm-docs-core

docs/how-to/hipgraph.rst Outdated Show resolved Hide resolved
docs/how-to/hipgraph.rst Outdated Show resolved Hide resolved
These memory allocations can also be set up to allow access from multiple GPUs,
just like normal allocations. HIP then takes care of allocating and mapping the
memory to the GPUs. When capturing a graph from a stream, the node sets the
accessibility according to ``hipMemPoolSetAccess`` at the time of capturing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use cpp:func here too? Referemce reorganize will make this work.

docs/how-to/hipgraph.rst Outdated Show resolved Hide resolved
docs/how-to/hipgraph.rst Outdated Show resolved Hide resolved
docs/how-to/hipgraph.rst Show resolved Hide resolved
@MKKnorr MKKnorr force-pushed the how-to-hip-graphs branch 5 times, most recently from a76c91a to bacdf53 Compare September 23, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants