It Turns Out AMDGPU KFD Compute Support Can Work On 64-bit ARM

Written by Michael Larabel in Radeon on 3 January 2019 at 12:25 AM EST. 11 Comments
RADEON
Up to now the AMDKFD kernel driver needed for running the ROCm user-space has only worked on x86_64 CPUs, but with some simple changes, it turns out this Radeon compute kernel driver can work on 64-bit ARM as well.

The motivation for getting the AMDKFD driver working on 64-bit ARM isn't entirely clear so it could be for a reason as simple as an ARM employee discovering it could work fairly trivially or it could be something more interesting. Posted by one the AMDKFD patch wrangler at AMD on Wednesday was this patch allowing the "Kernel Fusion Driver" to build on ARM64 (AArch64). The changes were just a few lines to include allowing the kernel Kconfig option to display for ARM64 and then also dealing with a few x86_64-specific lines of code.

Copied on that patch was Mark Nutter, a principal research engineer at Arm, but no comments in the patch to indicate if there was an ulterior motive for getting AMDKFD working on AArch64.

So far the patch is just sitting on the kernel mailing list and not yet queued, so it's too late for this current cycle. But assuming it's accepted fine, this would then allow the AMDKFD kernel driver to be built on 64-bit ARM should you have a 64-bit ARM board with PCIe x16 connecting to a Radeon GPU and wishing to run GPU compute workloads.
Related News
About The Author
Michael Larabel

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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week