Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
func (Device) AssertMigEnabled ¶
func (Device) WalkGpuInstances ¶
func (device Device) WalkGpuInstances(f func(nvml.GpuInstance, int, nvml.GpuInstanceProfileInfo) error) error
type GpuInstance ¶
type GpuInstance struct {
nvml.GpuInstance
}
func (GpuInstance) WalkComputeInstances ¶
func (gi GpuInstance) WalkComputeInstances(f func(ci nvml.ComputeInstance, ciProfileId int, ciEngProfileId int, ciProfileInfo nvml.ComputeInstanceProfileInfo) error) error
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func (Interface) GpuInstance ¶
func (I Interface) GpuInstance(gi nvml.GpuInstance) GpuInstance
Click to show internal directories.
Click to hide internal directories.