gpu

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedPlatform = errors.New("the platform is not currently supported to expose GPU devices")
)

Functions

func GetGPUDevices

func GetGPUDevices() ([]*sonm.GPUDevice, error)

GetGPUDevices returns a list of available GPU devices on the machine.

func GetGPUDevicesUsingOpenCL

func GetGPUDevicesUsingOpenCL() ([]*sonm.GPUDevice, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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