Versions in this module Expand all Collapse all v1 v1.0.0 Apr 24, 2017 v0 v0.8.0 Feb 7, 2017 v0.6.0 Nov 4, 2016 v0.5.0 Oct 4, 2016 Changes in this version + const STRING_BUFFER_SIZE + func DeviceCount() (int, error) + func DeviceFanSpeed(dh DeviceHandle) (uint, error) + func DeviceName(dh DeviceHandle) (string, error) + func DeviceTemperature(dh DeviceHandle) (uint, error) + func ErrorString(r Result) string + func Init() error + func NewResult(r C.nvmlReturn_t) error + func Shutdown() error + type ClockType uint + type ComputeMode C.nvmlComputeMode_t + func DeviceComputeMode(dh DeviceHandle) (ComputeMode, error) + type DeviceHandle struct + func DeviceGetHandleByIndex(idx int) (DeviceHandle, error) + type DriverModel uint + type ECCBitType uint + type ECCCounterType uint + type Feature uint + type InformObject uint + type MemoryInformation struct + Free uint64 + Total uint64 + Used uint64 + func DeviceMemoryInformation(dh DeviceHandle) (MemoryInformation, error) + type PCIInformation struct + Bus uint + BusId string + Device uint + DeviceId uint + Domain uint + SubSystemId uint + func DevicePCIInformation(dh DeviceHandle) (PCIInformation, error) + type PState C.nvmlPstates_t + func DevicePerformanceState(dh DeviceHandle) (PState, error) + type Result struct + func (r Result) Error() string + func (r Result) String() string + func (r Result) SuccessQ() bool