Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const ( // GpuDeviceIDType is the assigned device ID type for GPU devices. GpuDeviceIDType = "gpu" // DeviceIDTypeLegacy is the legacy assigned device ID type for vPCI devices. DeviceIDTypeLegacy = "vpci" // DeviceIDType is the assigned device ID type for vPCI instance IDs. DeviceIDType = "vpci-instance-id" )
Variables ¶
This section is empty.
Functions ¶
func GetDeviceInfoFromPath ¶
GetDeviceInfoFromPath takes a device path and parses it into the PCI ID and virtual function index if one is specified.
func IsValidDeviceType ¶
IsValidDeviceType returns true if the device type is valid i.e. supported by the runtime.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.