Documentation
¶
Index ¶
- Variables
- func GetGPUCount(req *pluginapi.ResourceRequest, deviceNames []string) (float64, sets.String, error)
- func GetNUMANodesCountToFitGPUReq(gpuReq float64, cpuTopology *machine.CPUTopology, ...) (int, int, error)
- func IsNUMAAffinityDevice(device string, deviceTopology *machine.DeviceTopology, ...) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAvailableGPUMemoryHints = pkgerrors.New("no available gpu memory hints")
Functions ¶
func GetGPUCount ¶
func GetGPUCount(req *pluginapi.ResourceRequest, deviceNames []string) (float64, sets.String, error)
GetGPUCount extracts GPU count from resource request
func GetNUMANodesCountToFitGPUReq ¶
func GetNUMANodesCountToFitGPUReq( gpuReq float64, cpuTopology *machine.CPUTopology, gpuTopology *machine.DeviceTopology, ) (int, int, error)
func IsNUMAAffinityDevice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.