Philip Kaufmann
0fe8b60783
instead of uint *, int * was used as type for the output buffer (self-made bug from a former commmit)
2012-02-09 21:30:01 +01:00
Philip Kaufmann
68e36c6573
made code a bit more consistent and removed 2 unneeded brackets
2012-02-09 19:59:35 +01:00
Philip Kaufmann
7dfac0fab7
queue_phatk_kernel now uses CL_SET_VARG() for base-nonce(s), too
2012-02-09 15:37:00 +01:00
Philip Kaufmann
ed7210af6c
added OpenCL >= 1.1 detection code, in preparation of OpenCL 1.1 global offset parameter support
2012-02-09 15:15:03 +01:00
Con Kolivas
b2f81c955b
Merge branch 'diakgcn' of https://github.com/Diapolo/cgminer into diakgcn
2012-02-10 00:48:23 +11:00
Con Kolivas
2c7baa49ca
Merge branch 'diakgcn' of https://github.com/ckolivas/cgminer into diakgcn
2012-02-10 00:48:03 +11:00
Philip Kaufmann
6d997d4567
renamed all rot-functions to rotr to be clear that it is a rotate right
2012-02-09 14:21:47 +01:00
Philip Kaufmann
05c74b05e0
changed base-nonce generation for non GOFFSET paths to use get_local_size(0) and left shift
2012-02-09 14:08:55 +01:00
Philip Kaufmann
ecd2b0db6b
leave out kernel parameter "const u base", if GOFFSET (not yet implemented) is defined
2012-02-09 14:01:59 +01:00
Philip Kaufmann
0834250842
changed format of output buffer from ulong * to uint * to be cgminer compatible
2012-02-09 13:58:27 +01:00
Philip Kaufmann
f25075c889
First commit - only changed date in diakgcn120208.cl
2012-02-09 13:36:07 +01:00
Con Kolivas
6e3ad7ad25
Logic fail on queue request.
2012-02-09 22:40:33 +11:00
Con Kolivas
d40979d173
No point discarding a share even if opt_fail is enabled.
2012-02-09 22:28:59 +11:00
Con Kolivas
435e5c85f6
Work items have a tendency to expire at exactly the same time and we don't queue extra items when there are plenty in the queue, regardless of age.
...
Allow extra work items to be queued if adequate time has passed since we last requested work even if over the limit.
2012-02-09 22:27:20 +11:00
Con Kolivas
ffbf15ad82
Discard work when failover-only is enabled and the work has come from a different pool.
2012-02-09 22:00:04 +11:00
Con Kolivas
b54d462c85
Missing include to build on newer mingw32.
2012-02-09 21:56:07 +11:00
Con Kolivas
5b4761003c
Move from the thread safe localtime_r to regular localtime which is the only one supported on newer pthread libraries on mingw32 to make it compile with
...
the newer ming. Thread safety is of no importance where localtime is used in this code.
2012-02-09 21:54:23 +11:00
Con Kolivas
041d6689bc
Diakgcn should be using the modified PreVal4 which includes T1.
2012-02-08 21:03:20 +11:00
Kano
e5b856be4e
Remove extra not needed trash :)
2012-02-08 20:08:01 +11:00
Kano
dab9b7e477
Define in_addr_t in windows if required
2012-02-08 19:55:29 +11:00
Kano
95e1e195ac
sys/wait.h not required in windows
2012-02-08 19:07:41 +11:00
Kano
f19e67fe3a
Allow API to restrict access by IP address
2012-02-08 19:06:24 +11:00
ckolivas
5904976580
Reinstate original code as much as possible for comparison.
2012-02-08 18:13:32 +11:00
ckolivas
c5142b7f12
Convert to Unix EOL.
2012-02-08 16:45:37 +11:00
ckolivas
7a069b93af
Use K array explicitly to make it clear what is being added.
2012-02-08 16:24:46 +11:00
ckolivas
5eab0e76aa
Use correct variable on output in diakgcn kernel.
2012-02-08 16:02:05 +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
ckolivas
3596e3752e
Import diakgcn kernel.
2012-02-08 10:25:45 +11:00
Kano
93f4e991ae
Add pool switching to example miner.php
2012-02-07 23:51:53 +11:00
Luke Dashjr
f7a9897e13
Display X-Reject-Reason, when provided
2012-02-06 09:44:42 -05:00
Con Kolivas
63777c9d30
Bump version to 2.2.3 with NEWS.
2012-02-06 21:37:22 +11:00
Con Kolivas
e0540bd44a
Revert "Rewrite the convoluted get_work() function to be much simpler and roll work as much as possible with each new work item."
...
This reverts commit dec99ab739d16f2dd4f48482e713a25ebaef8e66.
This seems to cause a race on work in free_work(). Presumably other threads are still accessing the structure.
2012-02-06 21:35:24 +11:00
Con Kolivas
2db367e732
Bump version to 2.2.2
2012-02-06 18:41:50 +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
aa8552a146
Update NEWS.
2012-02-06 18:24:38 +11:00
Con Kolivas
4301351402
Merge pull request #104 from kanoi/master
...
Return last accepted share pool/time for devices
2012-02-05 23:22:52 -08:00
Con Kolivas
de4c6c29d7
Provide support for the submitold extension on a per-pool basis based on the value being detected in a longpoll.
2012-02-06 18:12:22 +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
dec99ab739
Rewrite the convoluted get_work() function to be much simpler and roll work as much as possible with each new work item.
2012-02-06 17:36:51 +11:00
Con Kolivas
a3e77937c8
Roll as much work as possible from the work returned from a longpoll.
2012-02-06 16:11:53 +11:00
Con Kolivas
eff9fe43b2
Rolling work on each loop through the mining thread serves no purpose.
2012-02-06 10:42:52 +11:00
Con Kolivas
d42d0c8ebd
Allow to stage more than necessary work items if we're just rolling work.
2012-02-06 10:41:05 +11:00
Con Kolivas
b9612715aa
Replace divide_work with reuse_work function used twice.
2012-02-06 10:40:04 +11:00
Con Kolivas
0307f9bb4e
Give rolled work a new ID to make sure there is no confusion in the hashtable lookups.
2012-02-06 10:37:29 +11:00
Con Kolivas
22526399d4
Remove unused header include.
2012-02-06 09:22:01 +11:00
Con Kolivas
d991a09e53
Remove now-defunct hash_div variables.
2012-02-06 08:00:09 +11:00
Con Kolivas
e57ac0177f
Remove unused get_dondata function.
2012-02-05 22:43:42 +11:00
Con Kolivas
c72a8b8cc9
Silence ADL warnings.
2012-02-05 22:41:37 +11:00
Con Kolivas
36d2fa485c
Silence unused parameter warnings.
2012-02-05 22:39:28 +11:00