device-gpu.c


Log

Author Commit Date CI Message
ckolivas 033913ca 2012-02-08T15:40:10 First working port of the diakgcn kernel.
ckolivas cb7145b1 2012-02-08T13:45:56 Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
Con Kolivas 80cf0fd4 2012-02-08T21:03:20 Diakgcn should be using the modified PreVal4 which includes T1.
Con Kolivas 04b6ec94 2012-02-06T18:41:15 Curses needs to be included before stdbool to compile properly with pdcurses on mingw32.
Con Kolivas 1dff4297 2012-02-06T17:43:24 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.
Con Kolivas 22526399 2012-02-06T09:22:01 Remove unused header include.
Con Kolivas 36d2fa48 2012-02-05T22:39:28 Silence unused parameter warnings.
ckolivas a4f47812 2012-02-04T14:47:23 Iterate over all platforms displaying their information and number of devices when --ndevs is called.
ckolivas cda798d9 2012-02-04T13:05:28 Only enable curses on failure if curses is desired.
zefir 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).