1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-12 15:58:05 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Philip Kaufmann
7dfac0fab7 queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too 2012-02-09 15:37:00 +01:00
Con Kolivas
041d6689bc Diakgcn should be using the modified PreVal4 which includes T1. 2012-02-08 21:03:20 +11:00
ckolivas
53d33c753f First working port of the diakgcn kernel. 2012-02-08 15:40:10 +11:00
ckolivas
a6c6866a0d Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 2012-02-08 13:45:56 +11:00
Con Kolivas
04b6ec948f Curses needs to be included before stdbool to compile properly with pdcurses on mingw32. 2012-02-06 18:41:15 +11:00
Con Kolivas
1dff4297fa Don't send a ping to a dynamic device if it's not enabled as that will just enable it for one pass and then disable it again. 2012-02-06 17:43:24 +11:00
Con Kolivas
22526399d4 Remove unused header include. 2012-02-06 09:22:01 +11:00
Con Kolivas
36d2fa485c Silence unused parameter warnings. 2012-02-05 22:39:28 +11:00
ckolivas
a4f47812ff Iterate over all platforms displaying their information and number of devices when --ndevs is called. 2012-02-04 14:47:23 +11:00
ckolivas
cda798d91b Only enable curses on failure if curses is desired. 2012-02-04 13:05:28 +11:00
zefir
e0b0a6c030 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).
2012-02-04 10:23:06 +11:00