Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cndev ¶
type Cndev interface { Init() error Release() error GetDeviceCount() (uint, error) GetDeviceSN(idx uint) (string, error) GetDeviceModel(idx uint) string GetDeviceClusterCount(idx uint) (uint, error) GetDeviceTemperature(idx uint) (uint, []uint, error) GetDeviceHealth(idx uint) (uint, error) GetDeviceMemory(idx uint) (uint, uint, error) GetDevicePower(idx uint) (uint, error) GetDeviceCoreNum(idx uint) (uint, error) GetDeviceUtil(idx uint) (uint, []uint, error) GetDeviceFanSpeed(idx uint) (uint, error) GetDevicePCIeID(idx uint) (string, error) GetDeviceVersion(idx uint) (string, string, error) }
func NewCndevClient ¶
func NewCndevClient() Cndev
Click to show internal directories.
Click to hide internal directories.