Documentation ¶
Index ¶
- type Device
- type GPUUtilization
- type LinuxDevice
- type LinuxNvmlClient
- func (client *LinuxNvmlClient) DeviceGetHandleByIndex(index uint) (Device, error)
- func (client *LinuxNvmlClient) DeviceGetMemoryInfo(device Device) (Memory, error)
- func (client *LinuxNvmlClient) DeviceGetUtilizationRates(device Device) (GPUUtilization, error)
- func (client *LinuxNvmlClient) GetDeviceCount() (uint, error)
- func (client *LinuxNvmlClient) Init() error
- func (client *LinuxNvmlClient) Shutdown() error
- type Memory
- type NvmlClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPUUtilization ¶
type LinuxDevice ¶
type LinuxDevice = nvml_linux.Device
type LinuxNvmlClient ¶
type LinuxNvmlClient struct { }
func New ¶
func New() (*LinuxNvmlClient, error)
func (*LinuxNvmlClient) DeviceGetHandleByIndex ¶
func (client *LinuxNvmlClient) DeviceGetHandleByIndex(index uint) (Device, error)
func (*LinuxNvmlClient) DeviceGetMemoryInfo ¶
func (client *LinuxNvmlClient) DeviceGetMemoryInfo(device Device) (Memory, error)
func (*LinuxNvmlClient) DeviceGetUtilizationRates ¶
func (client *LinuxNvmlClient) DeviceGetUtilizationRates(device Device) (GPUUtilization, error)
func (*LinuxNvmlClient) GetDeviceCount ¶
func (client *LinuxNvmlClient) GetDeviceCount() (uint, error)
func (*LinuxNvmlClient) Init ¶
func (client *LinuxNvmlClient) Init() error
func (*LinuxNvmlClient) Shutdown ¶
func (client *LinuxNvmlClient) Shutdown() error
Click to show internal directories.
Click to hide internal directories.