Con Kolivas
83dde50f9d
Updates to diakgcn kernel courtesy of Philip Kaufmann <phil.kaufmann@t-online.de>
13 years ago
ckolivas
6693898710
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.
13 years ago
Con Kolivas
7d3635c7a4
Add message explaining 2nd thread disabling for dynamic mode and how to tune it.
13 years ago
ckolivas
c235c7e373
Allow the refresh interval to be adjusted in dynamic intensity with a --gpu-dyninterval parameter.
13 years ago
ckolivas
c531f1bd04
Use the max_hashes variable to determine when to abandon work.
13 years ago
ckolivas
b36d857d9b
Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value.
13 years ago
ckolivas
29f0b2714c
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.
13 years ago
Con Kolivas
49c28b3929
Use PreVal4addT1 instead of PreVal4 in poclbm kernel.
13 years ago
Con Kolivas
5c4df1309a
Import PreVal4 and PreVal0 into poclbm kernel.
13 years ago
Con Kolivas
f5c296785f
Import more prepared constants into poclbm kernel.
...
Conflicts:
poclbm120213.cl
13 years ago
Con Kolivas
60f8ccb313
Use local and group id on poclbm kernel as well.
13 years ago
Con Kolivas
56907db2d6
Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
13 years ago
zefir
713e8be629
move CPU chipset specific optimization into device-cpu
13 years ago
Con Kolivas
52bb99c3ea
Fix double definition of A0 B0 to zeroA zeroB.
13 years ago
Con Kolivas
405a2120f8
Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
13 years ago
Luke Dashjr
543265d66a
Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
13 years ago
Con Kolivas
3d4c78ca89
Leave diakgcn and diablo kernels as silent options for now since they don't work.
13 years ago
ckolivas
59d3d0112b
Implement diablo kernel support and try to make it work.
13 years ago
ckolivas
95a989da4d
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.
13 years ago
Philip Kaufmann
17feecac8c
queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
13 years ago
Con Kolivas
80cf0fd407
Diakgcn should be using the modified PreVal4 which includes T1.
13 years ago
ckolivas
033913ca8e
First working port of the diakgcn kernel.
13 years ago
ckolivas
cb7145b179
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
13 years ago
ckolivas
2270b4e053
Implement diablo kernel support and try to make it work.
13 years ago
ckolivas
02c94272b4
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.
13 years ago
Philip Kaufmann
7dfac0fab7
queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
13 years ago
Con Kolivas
041d6689bc
Diakgcn should be using the modified PreVal4 which includes T1.
13 years ago
ckolivas
53d33c753f
First working port of the diakgcn kernel.
13 years ago
ckolivas
a6c6866a0d
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
13 years ago
Con Kolivas
04b6ec948f
Curses needs to be included before stdbool to compile properly with pdcurses on mingw32.
13 years ago
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.
13 years ago
Con Kolivas
22526399d4
Remove unused header include.
13 years ago
Con Kolivas
36d2fa485c
Silence unused parameter warnings.
13 years ago
ckolivas
a4f47812ff
Iterate over all platforms displaying their information and number of devices when --ndevs is called.
13 years ago
ckolivas
cda798d91b
Only enable curses on failure if curses is desired.
13 years ago
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).
13 years ago