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.
|
2013-09-28 15:11:06 +10:00 |
|
ckolivas
|
741b74309e
|
Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
|
2013-09-28 14:00:18 +10:00 |
|
ckolivas
|
8875197466
|
Create a macro list of drivers to enable easier addition of further drivers.
|
2013-09-28 10:25:48 +10:00 |
|
Kano
|
a9faec4a4b
|
change drivers to use usb_interface() - required for multi interface change
|
2013-09-14 18:15:08 +10:00 |
|
Kano
|
5520206a47
|
bflsc ensure getinfo cannot overflow it's storage buffer
|
2013-08-31 22:52:21 +10:00 |
|
Con Kolivas
|
69a2078e5d
|
Revert to old custom tolines function since strtok_r is not portable.
|
2013-08-31 15:13:57 +10:00 |
|
Kano
|
42bb607ad4
|
bflsc remove unused commented out code
|
2013-08-31 14:03:57 +10:00 |
|
Kano
|
3aefcce41c
|
logging - code mistake
|
2013-08-31 13:56:50 +10:00 |
|
Kano
|
0d4edbe9c1
|
logging - applogsiz() for large messages
|
2013-08-31 13:41:37 +10:00 |
|
Con Kolivas
|
1c66459c80
|
Include string.h in bflsc driver.
|
2013-08-30 23:58:15 +10:00 |
|
Con Kolivas
|
4c451adcb8
|
Get rid of linear removal of spaces in bflsc text parsing and use strstr throughout instead.
|
2013-08-30 23:46:32 +10:00 |
|
Con Kolivas
|
a503ba8ba4
|
Use reentrant strtok in tolines() function in bflsc to avoid racing on contextless calls.
|
2013-08-30 23:03:03 +10:00 |
|
Con Kolivas
|
8d99a44993
|
Show how small a too small result in bflsc is.
|
2013-08-30 22:38:56 +10:00 |
|
Con Kolivas
|
83a8c1328c
|
Duplicate the buffer in process_results in bflsc since strtok modifies it making debugging output limited to one line.
|
2013-08-30 21:42:38 +10:00 |
|
Con Kolivas
|
1403f4dd08
|
Only process nonces in bflsc is the breakdown function succeeds.
|
2013-08-30 21:40:10 +10:00 |
|
Con Kolivas
|
34d977c819
|
Revert "Ignore inprocess message when retrieved out of sync in bflsc while processing nonces."
This reverts commit 791a8f65ba .
|
2013-08-30 21:17:42 +10:00 |
|
Con Kolivas
|
791a8f65ba
|
Ignore inprocess message when retrieved out of sync in bflsc while processing nonces.
|
2013-08-30 21:11:20 +10:00 |
|
Con Kolivas
|
2853a5d9d5
|
Temporarily revert inprocess parsing in bflsc pending fixes.
|
2013-08-30 20:39:23 +10:00 |
|
Con Kolivas
|
8aa50e19fa
|
Ignore zero count messages in bflsc instead of trying to parse them.
|
2013-08-30 20:34:40 +10:00 |
|
Con Kolivas
|
2061e97c0f
|
Return ok in tolines when it doesn't match inprocess message for bflsc.
|
2013-08-30 20:31:57 +10:00 |
|
Con Kolivas
|
0f712d5191
|
Remove inprocess line instead of deleting all following responses in bflsc.
|
2013-08-30 20:29:00 +10:00 |
|
Con Kolivas
|
9a86702955
|
Ignore responses from bflsc as INPROCESS
|
2013-08-30 20:24:29 +10:00 |
|
Con Kolivas
|
cb914ab53f
|
Change ok testing logic in breakdown() in bflsc and return if not ok at any stage.
|
2013-08-30 16:26:00 +10:00 |
|
Con Kolivas
|
6ff7893fdd
|
Check the return value of tolines in bflsc driver.
|
2013-08-30 16:14:25 +10:00 |
|
Con Kolivas
|
b0fe14d4b3
|
Use strtok to parse lines in bflsc driver.
|
2013-08-30 16:13:01 +10:00 |
|
Kano
|
6055a378d9
|
bflsc xlinkstr use snprintf
|
2013-08-28 07:59:09 +10:00 |
|
Con Kolivas
|
e17a945277
|
Use take_queued_work_bymidstate in the bflsc driver to avoid the rare chance repeated results come back from the same work item.
|
2013-08-27 20:31:33 +10:00 |
|
Con Kolivas
|
eeac9d81fc
|
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
|
2013-08-20 19:23:49 +10:00 |
|
Con Kolivas
|
bedd8eeead
|
Revert "Sleep for half a work period only in bflsc_get_results if no dev is suitable."
This reverts commit 9743194547 .
Fine now that sleep works properly with the longer sleep.
|
2013-08-19 21:52:07 +10:00 |
|
Con Kolivas
|
fb66e8b7b7
|
Only grab a queued work item if we successfully grab the lock to submit work in bflsc_send_work
|
2013-08-19 21:13:23 +10:00 |
|
Con Kolivas
|
dddc2d1e60
|
Revert "Reuse times extracted from the clock in bflsc_get_results."
This reverts commit 1d8235334d .
Monotonic clock does not return the same times as gettimeofday.
|
2013-08-19 17:59:59 +10:00 |
|
Con Kolivas
|
1d8235334d
|
Reuse times extracted from the clock in bflsc_get_results.
|
2013-08-19 17:55:32 +10:00 |
|
Con Kolivas
|
9743194547
|
Sleep for half a work period only in bflsc_get_results if no dev is suitable.
|
2013-08-19 16:36:01 +10:00 |
|
Con Kolivas
|
a61e41a070
|
Check for thr->work_restart in restart_wait.
|
2013-08-19 15:58:22 +10:00 |
|
Con Kolivas
|
89f571f527
|
We should be using que_low to decrease scan sleep time in bflsc.
|
2013-08-19 15:51:14 +10:00 |
|
Con Kolivas
|
09dbd616e2
|
Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
|
2013-08-19 13:57:36 +10:00 |
|
Con Kolivas
|
09e9091dd7
|
Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
|
2013-08-19 13:54:56 +10:00 |
|
Con Kolivas
|
e56c9a5d3b
|
Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads.
|
2013-08-18 16:49:15 +10:00 |
|
Con Kolivas
|
3c707202cf
|
Use 100ms delay between checking for results on all bflsc devices as the buffering of results mean checking more frequently just wastes CPU and causes more lock contention for only marginally better latencies.
|
2013-08-18 16:46:27 +10:00 |
|
Con Kolivas
|
d71e9f91f4
|
Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it.
|
2013-08-09 06:43:25 +10:00 |
|
Con Kolivas
|
812852cc36
|
Move bflsc defines to a header file.
|
2013-08-09 06:31:57 +10:00 |
|
Kano
|
18e4edc776
|
bflsc nonce per work item stats
|
2013-07-08 20:28:03 +10:00 |
|
Kano
|
89d0062ac8
|
bflsc increase flush count to handle parallel work
|
2013-07-08 19:41:23 +10:00 |
|
Kano
|
ad1572f77f
|
size check get_datestamp/get_timestamp and remove unused cgpu->init
|
2013-07-06 20:17:17 +10:00 |
|
Kano
|
385a70bea7
|
make all statline overflow safe
|
2013-07-06 19:15:59 +10:00 |
|
Con Kolivas
|
da680f5162
|
Don't count invalid nonces as hashrate for bflsc.
|
2013-07-01 14:44:27 +10:00 |
|
Kano
|
2beb30f13d
|
bflsc get volts stats needs its own GETVOLTS
|
2013-06-28 22:55:55 +10:00 |
|
Kano
|
e8bbb49b5b
|
bflsc x-link header different to documentation
|
2013-06-27 00:39:25 +10:00 |
|
ckolivas
|
9dc2f3f175
|
Redo +1 fix in bflsc.
|
2013-06-25 11:21:28 +10:00 |
|
Con Kolivas
|
a7f9bf3c52
|
Merge pull request #454 from kanoi/master
bflsc - handle xlink timeouts by having generic IO functions
|
2013-06-23 15:37:00 -07:00 |
|