SWDEV-279885 - correct HIP doc for managed memory

Change-Id: I94bb307dbe12692eb60cce744424fb18deea28ba


[ROCm/hip commit: 52b4faef3b]
This commit is contained in:
jujiang
2021-06-02 17:15:22 -04:00
committed by Julia Jiang
parent 3cdb801201
commit c7e528e360
2 changed files with 13 additions and 3 deletions
@@ -172,8 +172,8 @@ Previously, it was essential to declare dynamic shared memory using the HIP_DYNA
Now, the HIP-Clang compiler provides support for extern shared declarations, and the HIP_DYNAMIC_SHARED option is no longer required..
### `__managed__`
Managed memory, including the `__managed__` keyword, are supported in HIP combined host/device compilation.
Support of `__managed__` keyword in hipRTC and dynamically loaded code objects is under development.
Managed memory, except the `__managed__` keyword, are supported in HIP combined host/device compilation.
Support of `__managed__` keyword is under development.
### `__restrict__`
The `__restrict__` keyword tells the compiler that the associated memory pointer will not alias with any other pointer in the kernel or function. This feature can help the compiler generate better code. In most cases, all pointer arguments must use this keyword to realize the benefit.