[PATCH 7/9] gpu/cuda: extend NVIDIA GPU device ID list
Thomas Monjalon
thomas at monjalon.net
Wed Mar 4 15:06:04 CET 2026
04/03/2026 14:28, Maurice Green:
> On Wed, 17 Sep 2025, Thomas Monjalon wrote:
> > I feel we can scratch all these patches and do 1 well synchronized,
> > and documenting a sync command as code comment.
>
> Agreed. I also noticed 0x1df6 in this patch is already present in
> main. I would be happy to submit a replacement patch doing a full
> sync with the NVIDIA open kernel modules device list if that is useful.
> Having the updated device IDs for this driver would really help.
>
> Maurice Green <maurice.green at mauricegreenjr.com>
I had started to work on it.
An abstract to see how it looks like:
+#define NVIDIA_GPU_GV100GL_TESLA_SXM2_16 0x1db0 /* Tesla V100 SXM2 16GB */
+#define NVIDIA_GPU_GV100GL_TESLA_SXM2_16_LS 0x1db1 /* Tesla V100 SXM2 16GB LS / GRID V100X */
+#define NVIDIA_GPU_GV100GL_TESLA_DGXS_16 0x1db2 /* Tesla V100 DGXS 16GB */
+#define NVIDIA_GPU_GV100GL_TESLA_FHHL_16 0x1db3 /* Tesla V100 FHHL 16GB / GRID V100L */
+#define NVIDIA_GPU_GV100GL_TESLA_PCIE_16_LS 0x1db4 /* Tesla V100 PCIe 16GB LS / GRID V100 */
+#define NVIDIA_GPU_GV100GL_TESLA_SXM2_32_LS 0x1db5 /* Tesla V100 SXM2 32GB LS / GRID V100DX */
+#define NVIDIA_GPU_GV100GL_TESLA_PCIE_32 0x1db6 /* Tesla V100 PCIe 32GB / GRID V100D */
+#define NVIDIA_GPU_GV100GL_TESLA_DGXS_32 0x1db7 /* Tesla V100 DGXS 32GB */
+#define NVIDIA_GPU_GV100GL_TESLA_SXM3_32_H 0x1db8 /* Tesla V100 SXM3 32GB H */
And others with partial name:
+#define NVIDIA_GPU_GA100 0x20b8 /* A100X 80GB DPU */
+#define NVIDIA_GPU_GA100 0x20b9 /* A30X 24GB DPU */
+#define NVIDIA_GPU_GA100 0x20bb /* DRIVE A100 PROD */
+#define NVIDIA_GPU_GA100 0x20bd /* A800 SXM4 40GB */
+#define NVIDIA_GPU_GA100 0x20be /* GRID A100A */
+#define NVIDIA_GPU_GA100 0x20bf /* GRID A100B */
+#define NVIDIA_GPU_GA100 0x20c2 /* CMP 170HX */
+#define NVIDIA_GPU_GA100 0x20f0 /* A100 PG506-207 */
+#define NVIDIA_GPU_GA100 0x20f1 /* A100 PCIe 40GB / GRID A100 */
+#define NVIDIA_GPU_GA100 0x20f2 /* A100 PG506-217 */
+#define NVIDIA_GPU_GA100 0x20f3 /* A800 SXM4 80GB / GRID A800DX */
+#define NVIDIA_GPU_GA100 0x20f5 /* A800 80GB PCIe / GRID A800D */
+#define NVIDIA_GPU_GA100 0x20f6 /* A800 40GB PCIe / GRID A800 */
+#define NVIDIA_GPU_GA100 0x20fd /* AX800 Converged Accelerator */
[...]
+#define NVIDIA_GPU_GH100 0x232c /* H20 HBM3e */
+#define NVIDIA_GPU_GH100 0x2330 /* H100 SXM5 80GB */
+#define NVIDIA_GPU_GH100 0x2331 /* H100 PCIe */
+#define NVIDIA_GPU_GH100 0x2335 /* H200 SXM 141GB */
As you can see it requires knowledge to get the right name for each ID.
Not everything is in https://pci-ids.ucw.cz/
https://github.com/NVIDIA/open-gpu-kernel-modules is a good source but not perfect as well.
More information about the dev
mailing list