AMD Working To Upstream New AMDGPU/AMDKFD Compute Debugger API

Written by Michael Larabel in Radeon on 25 January 2023 at 04:30 PM EST. Add A Comment
AMD sent out a set of 32 kernel patches today for their AMDKFD/AMDGPU kernel driver code in providing upstream support for debugging of their GPU compute instruction set architecture (ISA).

There is currently a ROCm GDB interface for compute ISA debugging that is out-of-tree as part of the ROCm code while they are working now on having an upstream kernel solution for dealing with the debugging of the compute ISA.

In addition to the 32 kernel patches sent out today that are for their kernel driver, they also have branched code in the ROCm space for implementing the new debugging API within the user-space AMD Debugger API (ROCdbgapi) and ROCT Thunk interface.

ROCm logo

Those interested in this work-in-progress effort for upstream Linux kernel support for handling the debugging of their compute ISA with ROCm can see this patch series for all the details.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week