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.
Click to show internal directories.
Click to hide internal directories.