From 92111abc1b942c148c48d12c6de3ee5db3e898f7 Mon Sep 17 00:00:00 2001 From: Arthur Date: Fri, 6 Nov 2026 15:10:27 -0800 Subject: [PATCH] Recognize GB300 DGX Station GPU device ID 0x31c2 Some DGX Station GB300 systems report PCI device ID 0x31c2 for their SM103 GPU. Package export maps the capture device's PCI ID to a platform name and fails with "export naming requires the capture device identity" when the ID is unknown. Add 0x31c2 to GB300_DEVICES beside 0x31c3, and check every GB300 identifier in the platform table test, as the GB10 and GB202 tables are checked. Compatibility: 0x31c3 systems keep the gb300 platform name, and 0x31c2 systems now export under the same name. Validation: cargo test --manifest-path helios/Cargo.toml --features runtime-package --lib package::naming passed (6 tests) on a host without a GB300. Full-checkpoint Inkling-Small and Muse Glimmer exports on a DGX Station reporting 0x31c2 succeeded with this identifier in #191 and #192; they were not repeated from this branch. Design-Signed-Off-By: Claude Opus 5.5; design-review=4d3a Co-Authored-By: Claude Opus 5.5 Signed-off-by: Arthur --- helios/src/package/naming.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/helios/src/package/naming.rs b/helios/src/package/naming.rs index 6f46567b8..b9de0c9fb 100644 --- a/helios/src/package/naming.rs +++ b/helios/src/package/naming.rs @@ -26,8 +26,8 @@ pub const GB202_DEVICES: [u32; 9] = [ /// RTX Spark N1X part, which NVML reports for the same SM121 platform. pub const GB10_DEVICES: [u32; 2] = [0x2e12, 0x2e03]; -/// GB300 device identifiers. `0x31c3` is the SM103 GPU of DGX Station GB300. -pub const GB300_DEVICES: [u32; 1] = [0x31c3]; +/// GB300 device identifiers. `0x31c2` and `0x31c3` are SM103 GPUs of DGX Station GB300. +pub const GB300_DEVICES: [u32; 2] = [0x31c2, 0x31c3]; pub fn platform_from_pci(pci_id: u32) -> Option<&'static str> { if pci_id & 0xffff != 0x10de { @@ -179,7 +179,13 @@ mod tests { "{device:#06x}" ); } - assert_eq!(platform_from_pci(0x31c3_10de), Some("gb300")); + for device in GB300_DEVICES { + assert_eq!( + platform_from_pci(device << 16 | 0x10de), + Some("gb300"), + "{device:#06x}" + ); + } for device in GB202_DEVICES { assert_eq!( platform_from_pci(device << 16 | 0x10de),