Con Kolivas
|
853aa28ffc
Merge branch 'master' into async
|
12 years ago |
Con Kolivas
|
2834eb8d6d
Kill off threads that have failed using hash_sole_work instead of just disabling them.
|
12 years ago |
Con Kolivas
|
f80c900336
Merge branch 'master' into async
|
12 years ago |
Con Kolivas
|
f8e28f251d
Try switching pools if for some reason we end up with only idle pools and have ended up current_pool set to an idle one.
|
12 years ago |
Con Kolivas
|
3b527f14d0
Check a pool is stable for >5 mins before switching back to it.
|
12 years ago |
Con Kolivas
|
7318eceef9
Make the devlock a cglock in usbutils and only grab the write lock for fundamental changes allowing us to send and receive transfers concurrently without lock contention.
|
12 years ago |
Con Kolivas
|
8c0ea19e13
Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
|
12 years ago |
Con Kolivas
|
b6a97de687
Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
|
12 years ago |
ckolivas
|
6cd7f0f1be
Remove unmaintained broken ztex driver.
|
12 years ago |
Kano
|
51418f79e5
Klondike update code to current git
|
12 years ago |
Con Kolivas
|
a6a9407067
Use asynchronous transfers for all bulk transfers, allowing us to use our own timers and cancelling transfers that take too long.
|
12 years ago |
Con Kolivas
|
dbef95f77d
Submitting an ntime offset nonce needs to be done on a copy of the work instead of the original so abstract out shared components as much as possible, minimising strdups in copy_work and make submit_work_async work take copied work, cleaning up code in the process.
|
12 years ago |
Con Kolivas
|
4c79252dc8
Provide a way for drivers to submit work that it has internally rolled the ntime value by returning the amount it has ntime rolled to be added.
|
12 years ago |
ckolivas
|
052e434846
Remove unmaintained broken ztex driver.
|
12 years ago |
Kano
|
dc85abd9cd
Klondike update code to current git
|
12 years ago |
Con Kolivas
|
5e1ebd5070
Deuglify use of _PARSE_COMMANDS macro expansions.
|
12 years ago |
ckolivas
|
2ec601e123
There is no need to get the external prototypes for drivers in cgminer.c any more.
|
12 years ago |
ckolivas
|
f3294f7424
Remove unnecessary gpu_threads initialisation.
|
12 years ago |
ckolivas
|
6d7471237d
Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
|
12 years ago |
ckolivas
|
df54b76855
Add a noop function for driver detect when it's missing.
|
12 years ago |
ckolivas
|
8875197466
Create a macro list of drivers to enable easier addition of further drivers.
|
12 years ago |
Con Kolivas
|
7696f26a93
Abstract out work submission once it's been tested, to be used by drivers that do their own internal validity testing.
|
12 years ago |
Con Kolivas
|
76e688aee1
Store the hash2 array in struct work for further reuse.
|
12 years ago |
Con Kolivas
|
39c52b1fb4
Use the test_nonce function within submit_nonce and store the uint32 corresponding to hash2 37 for further use.
|
12 years ago |
Con Kolivas
|
c1aba05506
Only set share diff if we've confirmed it's a share first.
|
12 years ago |
Con Kolivas
|
9040cac924
restart_wait should return 0 if thr_restart is true.
|
12 years ago |
Con Kolivas
|
759e82bb98
Add in first draft for a serialised work model sending/receiving data for BF1 devices.
|
12 years ago |
Con Kolivas
|
2ab023f300
Add BF1 detection code to bitfury driver.
|
12 years ago |
Kano
|
b1a3b012dd
pool_active uninitialised_var rolltime
|
12 years ago |
Con Kolivas
|
466d3beca0
Provide a --disable-libcurl config option to build support for stratum mining only.
|
12 years ago |