Method | Description | |
---|---|---|
GpuMiner ( IMinerContext context, |
Initializes a new instance.
|
|
Start ( ) : void |
Starts a single thread to pull and process work.
|
|
Stop ( ) : void |
Stops the miner from running.
|
Method | Description | |
---|---|---|
InitializeOpenCL ( ) : void |
Attempts to initialize OpenCL for the selected GPU.
|
|
PrepareWork ( Work work, byte &round1Blocks, uint &round1State, byte &round2Blocks, uint &round2State ) : void |
Prepares the buffers for processing a work item.
|
|
Progress ( Work work, long hashes ) : bool |
Reports progress and checks for whether we should terminate the current work item.
|
|
Work ( Work work ) : void |
Attempts to solve the given work with the specified solver. Returns
|
|
WorkThread ( ) : void |
Entry point for a standard work thread.
|
public GpuMiner ( IMinerContext context, |
||
context | IMinerContext | |
gpu | ||
return | System |