Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GpuInfo ¶
type GpuInfo struct { ID string `json:"UUID"` Model string `json:"Model"` Path string `json:"Path"` Memory MemoryInfo `json:"Memory"` PCI PciInfo `json:"PCI"` Topology []TopologyInfo `json:"Topology"` Found bool `json:"-"` Index int `json:"-"` InUse bool `json:"-"` TopoDone bool `json:"-"` Name string `json:"-"` }
type GpusInfo ¶
type GpusInfo struct { Version VersionInfo `json:"Version"` Gpus []GpuInfo `json:"Devices"` }
func GetDevices ¶
type MemoryInfo ¶
type MemoryInfo struct {
Global int64 `json:"Global"`
}
type TopologyInfo ¶
type VersionInfo ¶
Click to show internal directories.
Click to hide internal directories.