Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶ added in v0.7.9
type Device struct { HabanaDeviceHandler interface{} NVMLDeviceHandler interface{} GPUID int // GPU Entity ID or Parent GPU ID if MIG slice IsMig bool ParentGpuID int // GPU Entity ID or Parent GPU ID if MIG slice MIGSMRatio float64 // Ratio of MIG SMs / Total GPU SMs to be used to normalize the MIG metrics }
Device can hold nvml GPU or MIG slice handler
Click to show internal directories.
Click to hide internal directories.