config

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	A100_SXM4_40GB types.DeviceID = 0x20B010DE
)

Variables

This section is empty.

Functions

func GetKnownMigConfigGroups

func GetKnownMigConfigGroups() types.MigConfigGroups

func NewA100_SXM4_40GB_MigConfigGroup

func NewA100_SXM4_40GB_MigConfigGroup() types.MigConfigGroup

Types

type LoopControl added in v0.4.0

type LoopControl int
const (
	Continue LoopControl = iota
	Break
)

type Manager

type Manager interface {
	GetMigConfig(gpu int) (types.MigConfig, error)
	SetMigConfig(gpu int, config types.MigConfig) error
	ClearMigConfig(gpu int) error
}

func NewMockNvmlMigConfigManager added in v0.4.0

func NewMockNvmlMigConfigManager(nvml nvml.Interface) Manager

func NewNvmlMigConfigManager

func NewNvmlMigConfigManager() Manager

Jump to

Keyboard shortcuts

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