Luke Dashjr
543265d66a
Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
2012-02-10 22:14:27 -05:00
Con Kolivas
8c609579f4
Merge pull request #107 from kanoi/master
...
Allow API to restrict access by IP address + other commits
2012-02-10 19:07:53 -08:00
Con Kolivas
d24ee7824a
Change message from recovered to alive since it is used on startup as well as when a pool has recovered.
2012-02-11 13:57:35 +11:00
Con Kolivas
8e682a2c32
Start mining as soon as any pool is found active and rely on the watchpool thread to bring up other pools.
2012-02-11 13:53:09 +11:00
Con Kolivas
82798f6f98
Merge pull request #111 from luke-jr/bugfix_bitforce_id
...
Bugfix: BitFORCE index needs to be static to count correctly
2012-02-10 18:42:58 -08:00
Con Kolivas
405fcd76ca
Delayed responses from testing pools that are down can hold up the watchdog thread from getting to its device testing code, leading to false detection
...
of the GPU not checking in, and can substantially delay auto gpu/auto fan management leading to overheating. Move pool watching to its own thread.
2012-02-11 13:38:17 +11:00
Luke Dashjr
5be4bf70fe
Bugfix: BitFORCE index needs to be static to count correctly
2012-02-10 21:33:26 -05:00
Con Kolivas
5ec684ce2b
Space out retrieval of extra work according to the number of mining threads.
2012-02-11 13:20:32 +11:00
Con Kolivas
37374bb44b
Make shutdown more robust.
...
Enable the input thread only after the other threads exist.
Don't kill off the workio thread and use it to exit main() only if there is an unexpected problem.
Use kill_work() for all anticipated shutdowns where possible.
Remove unused thread entry.
2012-02-11 13:11:56 +11:00
Con Kolivas
5fbd03459a
Merge branch 'kernels' of github.com:ckolivas/cgminer into kernels
...
Conflicts:
configure.ac
device-gpu.c
poclbm120203.cl
2012-02-11 12:11:30 +11:00
Con Kolivas
cad84c6f2c
Change poclbm version number.
2012-02-11 11:51:15 +11:00
Con Kolivas
3d4c78ca89
Leave diakgcn and diablo kernels as silent options for now since they don't work.
2012-02-11 11:48:58 +11:00
Con Kolivas
4f1676f67f
One array is faster than 2 separate arrays so change to that in poclbm kernel..
2012-02-11 11:48:58 +11:00
Con Kolivas
f5903e609d
Microoptimisations to poclbm kernel which increase throughput slightly.
2012-02-11 11:48:58 +11:00
ckolivas
f2d5db0c77
Use only working kernels by default.
2012-02-11 11:48:58 +11:00
ckolivas
b7fa2b50e0
Make vectors compile in diablokernel.
2012-02-11 11:48:12 +11:00
ckolivas
451b82df97
Convert #if to #ifdef in diablo .cl.
2012-02-11 11:48:12 +11:00
ckolivas
59d3d0112b
Implement diablo kernel support and try to make it work.
2012-02-11 11:48:12 +11:00
ckolivas
e2a9c667d6
Import diablominer kernel.
2012-02-11 11:48:12 +11:00
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.
2012-02-11 11:48:12 +11:00
ckolivas
604b2f7645
Set cl_amd_media_ops with the BITALIGN flag and allow non-bitselect devices to build.
2012-02-11 11:48:12 +11:00
ckolivas
e6cf96adfa
ALlow much longer filenames for kernels to load properly.
2012-02-11 11:48:12 +11:00
ckolivas
4822cca72b
Allow different kernels to be used by different devices and fix the logic fail of overcorrecting on last commit with !strstr.
2012-02-11 11:48:11 +11:00
Con Kolivas
196e8a0f76
Fix kernel selection process and build error.
2012-02-11 11:48:11 +11:00
Philip Kaufmann
ec2dfeacc1
instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit)
2012-02-11 11:48:11 +11:00
Philip Kaufmann
c91155ac55
made code a bit more consistent and removed 2 unneeded brackets
2012-02-11 11:48:11 +11:00
Philip Kaufmann
17feecac8c
queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
2012-02-11 11:48:11 +11:00
Philip Kaufmann
47a09ceab8
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
2012-02-11 11:48:11 +11:00
Philip Kaufmann
c43dd734cb
renamed all rot-functions to rotr to be clear that it is a rotate right
2012-02-11 11:48:11 +11:00
Philip Kaufmann
ab848057da
changed base-nonce generation for non GOFFSET paths to use get_local_size(0) and left shift
2012-02-11 11:48:11 +11:00
Philip Kaufmann
1398a805a7
leave out kernel parameter "const u base", if GOFFSET (not yet implemented) is defined
2012-02-11 11:48:11 +11:00
Philip Kaufmann
dcd286182e
changed format of output buffer from ulong * to uint * to be cgminer compatible
2012-02-11 11:48:11 +11:00
Philip Kaufmann
15cc3582d8
First commit - only changed date in diakgcn120208.cl
2012-02-11 11:48:11 +11:00
Con Kolivas
80cf0fd407
Diakgcn should be using the modified PreVal4 which includes T1.
2012-02-11 11:48:11 +11:00
ckolivas
cce08b6e6d
Reinstate original code as much as possible for comparison.
2012-02-11 11:48:11 +11:00
ckolivas
9e9db012fb
Convert to Unix EOL.
2012-02-11 11:48:11 +11:00
ckolivas
85e9a841d5
Use K array explicitly to make it clear what is being added.
2012-02-11 11:48:11 +11:00
ckolivas
49cff57098
Use correct variable on output in diakgcn kernel.
2012-02-11 11:48:11 +11:00
ckolivas
033913ca8e
First working port of the diakgcn kernel.
2012-02-11 11:48:11 +11:00
ckolivas
cb7145b179
Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places.
2012-02-11 11:48:11 +11:00
ckolivas
3af3cbe96a
Import diakgcn kernel.
2012-02-11 11:48:11 +11:00
Con Kolivas
2fa142d1ce
One array is faster than 2 separate arrays so change to that in poclbm kernel..
2012-02-11 02:12:34 +11:00
Con Kolivas
1355859742
Microoptimisations to poclbm kernel which increase throughput slightly.
2012-02-10 18:16:25 +11:00
ckolivas
cef90ab0ff
Merge branch 'kernels' into diablo
2012-02-10 17:02:26 +11:00
ckolivas
1bfa82c3ce
Revert "Search for nonce if it is not found to be correct as a debugging check."
...
This reverts commit d9e07385da
.
Purely a debugging exercise.
2012-02-10 17:02:13 +11:00
ckolivas
6776b0ea9d
Use only working kernels by default.
2012-02-10 16:45:35 +11:00
ckolivas
d9e07385da
Search for nonce if it is not found to be correct as a debugging check.
2012-02-10 15:19:45 +11:00
ckolivas
92283efd17
Make vectors compile in diablokernel.
2012-02-10 15:04:54 +11:00
ckolivas
467ba35275
Convert #if to #ifdef in diablo .cl.
2012-02-10 14:42:47 +11:00
ckolivas
2270b4e053
Implement diablo kernel support and try to make it work.
2012-02-10 14:33:40 +11:00