mps

package
v0.0.0-...-12e0a72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const DevicePluginConfigKeyFormat = "%s-%s"

Variables

This section is empty.

Functions

func NewActuator

func NewActuator(client client.Client, devicePluginCM types.NamespacedName, devicePluginDelay time.Duration) core.Actuator

func NewController

func NewController(
	scheme *runtime.Scheme,
	client client.Client,
	podBatcher util.Batcher[v1.Pod],
	clusterState *state.ClusterState,
	scheduler framework.Framework,
	devicePluginCM types.NamespacedName,
	devicePluginDelay time.Duration,
) gpupartitioner.Controller

func NewPartitionCalculator

func NewPartitionCalculator() core.PartitionCalculator

func NewPartitioner

func NewPartitioner(
	client client.Client,
	devicePluginCM types.NamespacedName,
	devicePluginDelay time.Duration,
) core.Partitioner

func NewPlanner

func NewPlanner(scheduler framework.Framework) core.Planner

func NewSliceCalculator

func NewSliceCalculator() gpu.SliceCalculator

func NewSliceFilter

func NewSliceFilter() gpu.SliceFilter

func NewSnapshotTaker

func NewSnapshotTaker() core.SnapshotTaker

func ToPluginConfig

func ToPluginConfig(partitioning state.NodePartitioning) (nvidiav1.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL