AMD Sends Out Latest Patches For HMM-Based SVM Memory Manager
Written by Michael Larabel in Radeon on 23 March 2021 at 09:11 AM EDT. 9 Comments
RADEON --
Published back in January was the initial work on a HMM-based SVM memory manager for the open-source Radeon compute stack. A second version of that work is now available as it continues working towards the mainline kernel.

This Shared Virtual Memory (SVM) memory manager implementation makes use of the Linux kernel's modern Heterogeneous Memory Management (HMM) code. As part of working on continuing to advance their ROCm compute stack and preparing for their big HPC/super-computer deployments using a combination of AMD EPYC CPUs and Radeon GPUs, this SVM memory manager is being worked on. This work is critical for heterogeneous computing in letting the GPU transparently access program addresses coherently with the CPU.

With the "v2" implementation of the AMD kernel driver's HMM-based SVM memory manager there is a lot of changed code over the past three months and addressing some of the earlier shortcomings / work-in-progress areas from the initial patches. The code as well has been cleaned up.

The 44 patches providing this HMM-based SVM memory manager for the AMDKFD kernel code can be found on the mailing list. From there is also branched in-development ROCm user-space code for exercising the new kernel interface.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week