C# Class NiceHashMiner.Devices.ComputeDeviceManager.Avaliable

显示文件 Open project: nicehash/NiceHashMiner

Public Properties

Property Type Description
AMDOpenCLPlatformNum int
AllAvaliableDevices List
CPUsCount int
GPUsCount int
HasAMD bool
HasCPU bool
HasNVIDIA bool

Public Methods

Method Description
GetCurrentlySelectedComputeDevice ( int index, bool unique ) : ComputeDevice
GetDeviceWithUUID ( string uuid ) : ComputeDevice
GetSameDevicesTypeAsDeviceWithUUID ( string uuid ) : List

Method Details

GetCurrentlySelectedComputeDevice() public static method

public static GetCurrentlySelectedComputeDevice ( int index, bool unique ) : ComputeDevice
index int
unique bool
return ComputeDevice

GetDeviceWithUUID() public static method

public static GetDeviceWithUUID ( string uuid ) : ComputeDevice
uuid string
return ComputeDevice

GetSameDevicesTypeAsDeviceWithUUID() public static method

public static GetSameDevicesTypeAsDeviceWithUUID ( string uuid ) : List
uuid string
return List

Property Details

AMDOpenCLPlatformNum public_oe static_oe property

public static int AMDOpenCLPlatformNum
return int

AllAvaliableDevices public_oe static_oe property

public static List AllAvaliableDevices
return List

CPUsCount public_oe static_oe property

public static int CPUsCount
return int

GPUsCount public_oe static_oe property

public static int GPUsCount
return int

HasAMD public_oe static_oe property

public static bool HasAMD
return bool

HasCPU public_oe static_oe property

public static bool HasCPU
return bool

HasNVIDIA public_oe static_oe property

public static bool HasNVIDIA
return bool