Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPU ¶ added in v1.0.4
type GPU struct { // Self-reported index of the device in the system Index uint64 // Model name of the GPU e.g. Tesla T4 Name string // Total GPU memory in mebibytes (MiB) Memory uint64 }
func GetSystemGPUs ¶ added in v1.0.4
type PhysicalCapacityProvider ¶
type PhysicalCapacityProvider struct { }
func NewPhysicalCapacityProvider ¶
func NewPhysicalCapacityProvider() *PhysicalCapacityProvider
func (*PhysicalCapacityProvider) GetAvailableCapacity ¶
Click to show internal directories.
Click to hide internal directories.