C# Class NiceHashMiner.Devices.ComputeDevice

Datei anzeigen Open project: nicehash/NiceHashMiner Class Usage Examples

Public Properties

Property Type Description
AffinityMask ulong
Codename string
DeviceGroupType DeviceGroupType
DeviceType DeviceType
Enabled bool
ID int
InfSection string
IsEtherumCapale bool
IsOptimizedVersion bool
MEMORY_3GB ulong
Name string
NameCount string
Threads int
UUID string

Public Methods

Method Description
ComputeDevice ( AmdGpuDevice amdDevice, int GPUCount, bool isDetectionFallback ) : System
ComputeDevice ( CudaDevice cudaDevice, DeviceGroupType group, int GPUCount ) : System
ComputeDevice ( int id ) : System
ComputeDevice ( int id, string group, string name, int threads, ulong affinityMask, int CPUCount ) : System
CopyBenchmarkSettingsFrom ( ComputeDevice copyBenchCDev ) : void
GetAlgorithmDeviceConfig ( ) : DeviceBenchmarkConfig
GetComputeDeviceConfig ( ) : ComputeDeviceConfig
GetFullName ( ) : string
SetAlgorithmDeviceConfig ( DeviceBenchmarkConfig config ) : void
SetFromComputeDeviceConfig ( ComputeDeviceConfig config ) : void

Private Methods

Method Description
GetUUID ( int id, string group, string name, DeviceGroupType deviceGroupType ) : string

Method Details

ComputeDevice() public method

public ComputeDevice ( AmdGpuDevice amdDevice, int GPUCount, bool isDetectionFallback ) : System
amdDevice AmdGpuDevice
GPUCount int
isDetectionFallback bool
return System

ComputeDevice() public method

public ComputeDevice ( CudaDevice cudaDevice, DeviceGroupType group, int GPUCount ) : System
cudaDevice CudaDevice
group DeviceGroupType
GPUCount int
return System

ComputeDevice() public method

public ComputeDevice ( int id ) : System
id int
return System

ComputeDevice() public method

public ComputeDevice ( int id, string group, string name, int threads, ulong affinityMask, int CPUCount ) : System
id int
group string
name string
threads int
affinityMask ulong
CPUCount int
return System

CopyBenchmarkSettingsFrom() public method

public CopyBenchmarkSettingsFrom ( ComputeDevice copyBenchCDev ) : void
copyBenchCDev ComputeDevice
return void

GetAlgorithmDeviceConfig() public method

public GetAlgorithmDeviceConfig ( ) : DeviceBenchmarkConfig
return NiceHashMiner.Configs.Data.DeviceBenchmarkConfig

GetComputeDeviceConfig() public method

public GetComputeDeviceConfig ( ) : ComputeDeviceConfig
return NiceHashMiner.Configs.Data.ComputeDeviceConfig

GetFullName() public method

public GetFullName ( ) : string
return string

SetAlgorithmDeviceConfig() public method

public SetAlgorithmDeviceConfig ( DeviceBenchmarkConfig config ) : void
config NiceHashMiner.Configs.Data.DeviceBenchmarkConfig
return void

SetFromComputeDeviceConfig() public method

public SetFromComputeDeviceConfig ( ComputeDeviceConfig config ) : void
config NiceHashMiner.Configs.Data.ComputeDeviceConfig
return void

Property Details

AffinityMask public_oe property

public ulong AffinityMask
return ulong

Codename public_oe property

public string Codename
return string

DeviceGroupType public_oe property

public DeviceGroupType DeviceGroupType
return DeviceGroupType

DeviceType public_oe property

public DeviceType DeviceType
return DeviceType

Enabled public_oe property

public bool Enabled
return bool

ID public_oe property

public int ID
return int

InfSection public_oe property

public string InfSection
return string

IsEtherumCapale public_oe property

public bool IsEtherumCapale
return bool

IsOptimizedVersion public_oe property

public bool IsOptimizedVersion
return bool

MEMORY_3GB public_oe static_oe property

public static ulong MEMORY_3GB
return ulong

Name public_oe property

public string Name
return string

NameCount public_oe property

public string NameCount
return string

Threads public_oe property

public int Threads
return int

UUID public_oe property

public string UUID
return string