v1

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec struct {
	// contains filtered or unexported fields
}

func CastSpec

func CastSpec(data []byte) Spec

func (Spec) DeviceMax

func (s Spec) DeviceMax() int

func (Spec) DeviceMemoryBufferSize

func (s Spec) DeviceMemoryBufferSize(idx int) uint64

func (Spec) DeviceMemoryContextSize

func (s Spec) DeviceMemoryContextSize(idx int) uint64

func (Spec) DeviceMemoryLimit

func (s Spec) DeviceMemoryLimit(idx int) uint64

func (Spec) DeviceMemoryModuleSize

func (s Spec) DeviceMemoryModuleSize(idx int) uint64

func (Spec) DeviceMemoryOffset

func (s Spec) DeviceMemoryOffset(idx int) uint64

func (Spec) DeviceMemoryTotal

func (s Spec) DeviceMemoryTotal(idx int) uint64

func (Spec) DeviceNum

func (s Spec) DeviceNum() int

func (Spec) DeviceSmUtil

func (s Spec) DeviceSmUtil(idx int) uint64

func (Spec) DeviceUUID

func (s Spec) DeviceUUID(idx int) string

func (Spec) GetPriority

func (s Spec) GetPriority() int

func (Spec) GetRecentKernel

func (s Spec) GetRecentKernel() int32

func (Spec) GetUtilizationSwitch

func (s Spec) GetUtilizationSwitch() int32

func (Spec) IsValidUUID

func (s Spec) IsValidUUID(idx int) bool

func (Spec) LastKernelTime

func (s Spec) LastKernelTime() int64

func (Spec) SetRecentKernel

func (s Spec) SetRecentKernel(v int32)

func (Spec) SetUtilizationSwitch

func (s Spec) SetUtilizationSwitch(v int32)

Jump to

Keyboard shortcuts

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