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

Minor fix 2024 12 03 #3697

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/how-to/hip_runtime_api/multi_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ By adding peer-to-peer access to the example referenced in
.. tab-item:: with peer-to-peer

.. code-block:: cpp
:emphasize-lines: 31-36, 50-54
:emphasize-lines: 31-37, 51-55

#include <hip/hip_runtime.h>
#include <iostream>
Expand Down
9 changes: 5 additions & 4 deletions docs/programming_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
HIP programming guide introduction
********************************************************************************

This topic provides key HIP programming concepts and links to more detailed information.
This topic provides key HIP programming concepts and links to more detailed
information.

Write GPU Kernels for Parallel Execution
================================================================================
Expand Down Expand Up @@ -56,8 +57,8 @@ Synchronize CPU and GPU Workloads
================================================================================

Tasks on the host and devices run asynchronously, so proper synchronization is
needed when dependencies between those tasks exist. The asynchronous execution of
tasks is useful for fully utilizing the available resources. Even when only a
needed when dependencies between those tasks exist. The asynchronous execution
of tasks is useful for fully utilizing the available resources. Even when only a
single device is available, memory transfers and the execution of tasks can be
overlapped with asynchronous execution.

Expand All @@ -80,4 +81,4 @@ Large-scale applications that need more compute power can use multiple GPUs in
the system. This requires distributing workloads across multiple GPUs to balance
the load to prevent GPUs from being overutilized while others are idle.

For more information, see :ref:`multi-device` .
For more information, see :ref:`multi-device` .
Loading