gpumemory

package
v0.5.47 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GPUMemPlugin

type GPUMemPlugin struct {
	sync.Mutex
	*baseplugin.BasePlugin
}

func (*GPUMemPlugin) Allocate

func (*GPUMemPlugin) GetTopologyAwareAllocatableResources

func (p *GPUMemPlugin) GetTopologyAwareAllocatableResources(ctx context.Context) (*gpuconsts.AllocatableResource, error)

func (*GPUMemPlugin) GetTopologyAwareResources

func (p *GPUMemPlugin) GetTopologyAwareResources(ctx context.Context, podUID, containerName string) (*pluginapi.GetTopologyAwareResourcesResponse, error)

func (*GPUMemPlugin) GetTopologyHints

func (p *GPUMemPlugin) GetTopologyHints(ctx context.Context, req *pluginapi.ResourceRequest) (resp *pluginapi.ResourceHintsResponse, err error)

func (*GPUMemPlugin) ResourceName

func (p *GPUMemPlugin) ResourceName() string

Jump to

Keyboard shortcuts

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