Skip to content

Commit

Permalink
Fix list styling.
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 committed Jun 17, 2024
1 parent 55bd1d1 commit 329410b
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions docs/how-to/unified_memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,16 @@ depends on your architecture. For further details, visit :ref:`unified memory
system requirements` and :ref:`checking unified memory management support`.

- **HIP Managed Memory Allocation API**:
The ``hipMallocManaged()`` is a dynamic memory allocator that is available on
all GPUs with unified memory support. For more details, visit :doc:`reference
page <reference/unified_memory_reference>`.

The ``hipMallocManaged()`` is a dynamic memory allocator that is available on all GPUs with unified memory support. For more details, visit :doc:`reference page <reference/unified_memory_reference>`.

- **HIP Managed Variables**:
The ``__managed__`` declaration specifier, which serves as its counterpart, is
supported on all modern AMD cards and can be utilized for static allocation.

The ``__managed__`` declaration specifier, which serves as its counterpart, is supported on all modern AMD cards and can be utilized for static allocation.

- **System Allocation API**:
Starting with the MI300 series, the ``malloc()`` system allocator allows you
to reserve unified memory. The system allocator is more versatile, and it
offers an easy transition from a CPU written C++ code to a HIP code as the same
system allocation API is used.

Starting with the MI300 series, the ``malloc()`` system allocator allows you to reserve unified memory. The system allocator is more versatile, and it offers an easy transition from a CPU written C++ code to a HIP code as the same system allocation API is used.

.. _checking unified memory management support:

Expand Down Expand Up @@ -330,18 +327,16 @@ and a GPU, which would require large memory transfers. Here are some areas
where UMM can be beneficial:

- **Simplification of Memory Management**:
UMM can help to simplify the complexities of memory management. This can make
it easier for developers to write code without worrying about memory allocation
and deallocation details.

- **Data Migration**:
UMM allows for efficient data migration between the host (CPU) and the device
(GPU). This can be particularly useful for applications that need to move data
back and forth between the device and host.
UMM can help to simplify the complexities of memory management. This can make it easier for developers to write code without worrying about memory allocation and deallocation details.

- **Data Migration**:

UMM allows for efficient data migration between the host (CPU) and the device (GPU). This can be particularly useful for applications that need to move data back and forth between the device and host.

- **Improved Programming Productivity**:
As a positive side effect, the use of UMM can reduce the lines of code,
thereby improving programming productivity.

As a positive side effect, the use of UMM can reduce the lines of code, thereby improving programming productivity.

In HIP, pinned memory allocations are coherent by default. Pinned memory is
host memory mapped into the address space of all GPUs, meaning that the pointer
Expand Down

0 comments on commit 329410b

Please sign in to comment.