accelerator

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGpuEnergyPerGPU

func GetGpuEnergyPerGPU() []uint32

func GetGpus

func GetGpus() []interface{}

func GetProcessResourceUtilizationPerDevice

func GetProcessResourceUtilizationPerDevice(device interface{}, since time.Duration) (map[uint32]accelerator_source.ProcessUtilizationSample, error)

func Init

func Init() error

Init() only returns the erro regarding if the gpu collector was suceffully initialized or not The gpu.go file has an init function that starts and configures the gpu collector However this file is only included in the build if kepler is run with gpus support. This is necessary because nvidia libraries are not available on all systems

func IsGPUCollectionSupported

func IsGPUCollectionSupported() bool

func SetGPUCollectionSupported

func SetGPUCollectionSupported(supported bool)

func Shutdown

func Shutdown() bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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