Add Unified Memory
Send some comments via direct message. The short summary:
- Add the list of missing CUDA features
- Add system requirements for Unified Memory
- Add Performance improvements tips
- Allocation APIs for System-Allocated Memory? Is this supported?
- Tutorial is not needed, example is enough.
@matyas-streamhpc Please rebase your branch on docs/develop
@matyas-streamhpc rebased the branch.
@neon60 Looks good. Some editorial tweaks:
- Change the title to Unified Memory Management (UMM)
Document structure
- Introduction (instead of Concept)
- System requirements
- Unified memory programming models
- Using Unified memory management
- Example
We have not explained Explicit memory management in the document. It would be good to list the differences between EMM and UMM. Could you consider adding the description after the visual?
@neon60 Could you please provide the context for the Compiler Hints for Better Performance section? How does it relate to UMM? Do you mean C++ Compiler hints for better performance?
@matyas-streamhpc Can we update the visual to include APU for context as an example of UMM architecture?
@matyas-streamhpc @yhuiYH added some comments from a user standpoint. Please feel free to use or ignore them. Let me know if they are not technically applicable or relevant.
@matyas-streamhpc @yhuiYH added some comments from a user standpoint. Please feel free to use or ignore them. Let me know if they are not technically applicable or relevant.
@Rmalavally @yhuiYH Thank you very much for your feedback. I updated the page, accordingly.
Please fix the following rst issues:
HIP\docs\reference\unified_memory_reference.rst:12: WARNING: Duplicate C++ declaration, also defined at reference/unified_memory_reference:10.
Declaration is '.. cpp:function:: hipError_t hipMallocManaged (void **dev_ptr, size_t size, unsigned int flags)'.
HIP\docs\reference/unified_memory_reference.rst:8: CRITICAL: Duplicate ID: "group___memory_m_1gaadf4780d920bb6f5cc755880740ef7dc".
HIP\docs\reference/unified_memory_reference.rst:8: WARNING: Duplicate explicit target name: "group___memory_m_1gaadf4780d920bb6f5cc755880740ef7dc".
HIP\docs\reference/unified_memory_reference.rst:15: WARNING: doxygenfunction: Cannot find function "hipMemoryAdvise" in doxygen xml output for project "HIP 6.2.0 Documentation" from directory: HIP\docs\doxygen\xml
HIP\docs\reference/unified_memory_reference.rst:17: WARNING: doxygenfunction: Cannot find function "hipMemRangeAttribute" in doxygen xml output for project "HIP 6.2.0 Documentation" from directory: HIP\docs\doxygen\xm