gpu

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotFoundErr = errorImpl{/* contains filtered or unexported fields */}
	GenericErr  = errorImpl{/* contains filtered or unexported fields */}
)

Functions

func IsMigPartitioningEnabled

func IsMigPartitioningEnabled(node v1.Node) bool

IsMigPartitioningEnabled returns true if the node is enabled for automatic MIG GPU partitioning, false otherwise

func IsNotFound

func IsNotFound(err error) bool

Types

type Error

type Error interface {
	error
	IsNotFound() bool
}

func IgnoreNotFound

func IgnoreNotFound(err Error) Error

func NewGenericError

func NewGenericError(err error) Error

type ErrorList

type ErrorList []Error

func (ErrorList) Error

func (l ErrorList) Error() string

type PartitioningKind

type PartitioningKind string
const (
	PartitioningKindMig         PartitioningKind = "mig"
	PartitioningKindTimeSlicing PartitioningKind = "time-slicing"
	PartitioningKindHybrid      PartitioningKind = "hybrid"
)

func (PartitioningKind) String

func (p PartitioningKind) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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