|
01659bcc
|
2012-02-05T14:35:45
|
|
Abstract out tests for whether work has come from a block that has been seen before and whether a string is from a previously seen block.
|
|
0ebc0c9d
|
2012-02-04T17:49:49
|
|
Add last share's pool info in cgpu_info
|
|
53c1e9ae
|
2012-02-04T15:15:57
|
|
Allow the OpenCL platform ID to be chosen with --gpu-platform.
|
|
cda798d9
|
2012-02-04T13:05:28
|
|
Only enable curses on failure if curses is desired.
|
|
e0b0a6c0
|
2012-01-30T23:11:39
|
|
Modularize code: main.c -> device-cpu + device-gpu
This patch is an initial attempt to re-structure cgminer source
code from its monolithic design (with nearly all code being
concentrated in main.c) to a more modular one.
In this first stage, the conditionally compiled functions for
GPU and CPU mining were extracted into dedicated files:
* device-cpu.h and device-cpu.c covering WANT_CPUMINE functions
* device-gpu.h and device-gpu.c covering HAVE_OPENCL functions
The main.c file is left untouched as reference, while the
remainder without the extracted parts is located in cgminer.c.
The Makefile.am has been updated to use the re-structured
source files for the build.
Above pure re-structuring *NO* functional modifications were
made. The sources were tested to compile and run on on a
current Linux system with working CPU and GPU mining
(Bitforce not tested due to loack of hardware).
|