pci

package
v0.12.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DeviceVendorID = "10de"

DeviceVendorID defines the vendor ID of NVIDIA devices. e.g., lspci -nn | grep -i "10de.*" ref. https://devicehunt.com/view/type/pci/vendor/10DE

Variables

This section is empty.

Functions

func ListPCIGPUs

func ListPCIGPUs(ctx context.Context) ([]string, error)

ListPCIGPUs returns all "lspci" lines that represents NVIDIA GPU devices.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL