Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RocmDevice ¶
type RocmDevice struct { UUID string `json:"Unique ID"` CardSKU string `json:"Card SKU"` CardVendor string `json:"Card vendor"` CardModel string `json:"Card model"` PCIBus string `json:"PCI Bus"` Index int }
RocmDevice metadata.
func GetRocmDeviceByUUID ¶
func GetRocmDeviceByUUID(uuid string) *RocmDevice
GetRocmDeviceByUUID gets a RocmDevice by UUID from the singleton discovered Rocm devices.
Click to show internal directories.
Click to hide internal directories.