AMDGPU XGMI SUPPORT(9)
π AMDGPU XGMI Support π
okay so this is the Kernel API Manual page for AMDGPU XGMI Support(9) β and bestie, itβs giving βGPUs holding hands in a shared memory hiveβ energy. πβ¨
XGMI is a high speed interconnect that joins multiple GPU cards into a homogeneous memory space. That space is organized by a collective hive ID and individual node IDs, and both of those are 64-bit numbers. no cap. π₯
The file xgmi_device_id contains the unique per GPU device ID, and it lives in the /sys/class/drm/card${cardno}/device/ directory. π
Inside the device directory thereβs a sub-directory called 'xgmi_hive_info' β it gets created and contains the hive ID plus the list of nodes. π
The hive ID is stored in: /sys/class/drm/card${cardno}/device/xgmi_hive_info/xgmi_hive_id
The node info is stored in numbered directories: /sys/class/drm/card${cardno}/device/xgmi_hive_info/node${nodeno}/xgmi_device_id
Each device has their own xgmi_hive_info direction β yes, the original literally says βdirectionβ π β with a mirror set of node sub-directories. πͺ
The XGMI memory space is built by contiguously adding the power of two padded VRAM space from each node to each other. periodt. π§
π SEE ALSO π
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c β go read it, iykyk. ππ
mwah π this cutie came from ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and itβs the AMDGPU XGMI Support(9) manual page. slay. ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms