mirror of
https://github.com/clearml/go-nvlib
synced 2025-06-26 18:28:08 +00:00
44a5440a0abe8cd17f7d00d7a52d1b80e6f0667c
When constructing NvidiaPCIDevice objects for each 'parent' device in the
'/sys/class/mdev_bus' directory, use the default PCI devices root
'/sys/bus/pci/devices'. All devices in '/sys/class/mdev_bus' will have
a corresponding directory at '/sys/bus/pci/devices'.
Starting with bf3f431fc8
the construction of the NvidiaPCIDevice object will fail when attempting to detect the physfn.
When SRIOV is used, all the VFs will show up under '/sys/class/mdev_bus', but the physfn will
only show up under '/sys/bus/pci/devices'.
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
The go-nvlib project
This repository holds a collection of go packages to ease the development of
NVIDIA GPU management software. Many of its abstractions build and expand upon
the base go-nvml package which provides
a comprehensive wrapper around the official NVIDIA Management
Library.
Description
Languages
Go
97.1%
Makefile
2.9%