device-gpu.c


Log

Author Commit Date CI Message
ckolivas 71cbe8cd 2012-02-22T23:49:25 Move phatk kernel to offset vector based nonce bases as well.
ckolivas 08db2284 2012-02-22T19:40:05 Merge branch 'master' of https://github.com/ckolivas/cgminer
ckolivas 93efb726 2012-02-22T19:38:01 Allow multiple different kernels to be chosen per device.
Con Kolivas 96e68174 2012-02-22T00:04:59 Merge pull request #129 from Diapolo/master fix for diakgcn with vector offset
ckolivas a54f7606 2012-02-22T19:00:44 Fix multiple work size entry.
Philip Kaufmann bb51b628 2012-02-22T08:53:57 tried to fix vector offset with diakgcn
Con Kolivas 26c59fbf 2012-02-22T16:59:28 Allow the worksize to be set per-device.
Con Kolivas deff55c6 2012-02-22T16:54:06 Allow different vectors to be set per device.
Con Kolivas 8f08a775 2012-02-22T14:10:04 Use any() in kernel output code and revert breakage of diakgcn kernel.
Con Kolivas 145f3c0b 2012-02-22T11:48:49 Put the nonce for each vector offset in advance, avoiding one extra addition in the kernel.
Con Kolivas d1cddf8b 2012-02-21T22:23:07 Update licensing to GPL V3.
Con Kolivas 00290a3e 2012-02-21T21:31:31 Select diablo kernel on all but GCN+SDK 2.6.
Con Kolivas d85fc0f7 2012-02-21T20:28:10 Begin import of DiabloMiner kernel.
Con Kolivas 89b32b17 2012-02-20T09:28:01 Officially support diakgcn in code and docs.
Con Kolivas 02295c69 2012-02-19T20:19:47 Allow devices that are disabled due to overheating to be flagged as recovering instead of disabling them and re-enable them if they're below ideal temperatures and --no-restart has not been set.
Con Kolivas 810ad045 2012-02-18T23:16:08 More copyright updates.
Con Kolivas 83dde50f 2012-02-18T15:17:50 Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de>
ckolivas 66938987 2012-02-16T17:31:22 Fix diakgcn kernel working by passing it D1A variable and renaming it in the cl code accordingly. Renumber version consistent with change in code since it now works.
Con Kolivas 7d3635c7 2012-02-15T21:03:24 Add message explaining 2nd thread disabling for dynamic mode and how to tune it.
ckolivas c235c7e3 2012-02-15T14:35:13 Allow the refresh interval to be adjusted in dynamic intensity with a --gpu-dyninterval parameter.
ckolivas c531f1bd 2012-02-15T10:34:26 Use the max_hashes variable to determine when to abandon work.
ckolivas b36d857d 2012-02-15T10:03:18 Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value.
ckolivas 29f0b271 2012-02-15T08:51:59 The amount of work scanned can fluctuate when intensity changes and since we do this one cycle behind, we increment the work more than enough to prevent repeating work.
Con Kolivas 5c4df130 2012-02-14T23:28:46 Import PreVal4 and PreVal0 into poclbm kernel.
Con Kolivas f5c29678 2012-02-15T00:28:24 Import more prepared constants into poclbm kernel. Conflicts: poclbm120213.cl
Con Kolivas 49c28b39 2012-02-15T00:00:05 Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
Con Kolivas 60f8ccb3 2012-02-13T12:51:24 Use local and group id on poclbm kernel as well.
Con Kolivas 56907db2 2012-02-12T18:21:30 Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
zefir 713e8be6 2012-02-04T14:22:47 move CPU chipset specific optimization into device-cpu
Con Kolivas 52bb99c3 2012-02-11T21:42:02 Fix double definition of A0 B0 to zeroA zeroB.
Con Kolivas 405a2120 2012-02-11T20:11:18 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
Luke Dashjr 543265d6 2012-01-24T14:34:17 Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
Con Kolivas 3d4c78ca 2012-02-11T11:44:19 Leave diakgcn and diablo kernels as silent options for now since they don't work.
ckolivas 59d3d011 2012-02-10T14:33:40 Implement diablo kernel support and try to make it work.
ckolivas 95a989da 2012-02-10T13:18:16 Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
Philip Kaufmann 17feecac 2012-02-09T15:37:00 queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
Con Kolivas 80cf0fd4 2012-02-08T21:03:20 Diakgcn should be using the modified PreVal4 which includes T1.
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.
ckolivas 2270b4e0 2012-02-10T14:33:40 Implement diablo kernel support and try to make it work.
ckolivas 02c94272 2012-02-10T13:18:16 Conflicting entries of cl_kernel may have been causing problems, and automatically chosen kernel type was not being passed on. Rename the enum to cl_kernels and store the chosen kernel in each clState.
Philip Kaufmann 7dfac0fa 2012-02-09T15:37:00 queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
Con Kolivas 041d6689 2012-02-08T21:03:20 Diakgcn should be using the modified PreVal4 which includes T1.
ckolivas 53d33c75 2012-02-08T15:40:10 First working port of the diakgcn kernel.
ckolivas a6c6866a 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 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).