1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00
Commit Graph

4133 Commits

Author SHA1 Message Date
Con Kolivas
a2d188921a Do not sleep longer than 2s max in bflsc scan code to stabilise displayed 5s hashrate, put locking around values, and set a minimum of 1ms. 2013-04-28 09:13:17 +10:00
Kano
b30f9bb72a bflsc unres the res 2013-04-27 17:00:33 +10:00
Kano
dd8fe19bab bflsc tidy up getinfo() and add to api 2013-04-27 16:49:01 +10:00
Kano
55b3d407c5 bflsc guess device ~based on current V1 Jalapeno engine count 2013-04-27 16:15:52 +10:00
Kano
de009dab01 bflsc only need one xlinkstr 2013-04-27 15:55:39 +10:00
Kano
66154e9f2b bflsc flush/clear output que when we initialise 2013-04-27 15:32:37 +10:00
Kano
ea8aa1aa41 bflsc seperate BFLSC_QRES 2013-04-27 15:21:30 +10:00
Kano
4bfa4c3091 bflsc queue_full shouldn't ask for more work if device is zombie 2013-04-27 14:39:31 +10:00
Con Kolivas
4f0f5fb791 Make the scan sleep time after scanwork in bflsc dynamic to keep queues between watermark levels. 2013-04-27 14:22:50 +10:00
Con Kolivas
b0e6f68b65 Remove unused temp counts in bflsc. 2013-04-27 01:04:30 +10:00
Con Kolivas
e70e7b5b7e Calculate a rolling 5 min average set of temperatures for bflsc. 2013-04-27 01:02:35 +10:00
Con Kolivas
31fc0bc766 Damp the display of voltage for BFLSC devices. 2013-04-27 00:49:03 +10:00
Con Kolivas
d6720ee0aa Damp the temperature display measurement for bflsc since it fluctuates so wildly. 2013-04-27 00:41:01 +10:00
Kano
bd4d04b260 bflsc add volt stats 2013-04-27 00:07:42 +10:00
Con Kolivas
21fd80dfa4 Handle failed tolines command in bflsc driver. 2013-04-26 23:22:19 +10:00
Con Kolivas
6db9745287 Can use a read lock instead of a write lock in bflsc scanwork. 2013-04-26 20:47:25 +10:00
Con Kolivas
045d0362e7 Since we are filling a queue on the bflsc devices, there is no need to run through scanwork frequently provided we use the restart_wait function to abort early during a block change. 2013-04-26 20:35:05 +10:00
Con Kolivas
f1624e13a9 Remove flushed work in bfl scanwork from the hash table. 2013-04-26 20:07:43 +10:00
Con Kolivas
11baa32792 Set correct device in process_nonces in bflsc driver. 2013-04-26 19:33:14 +10:00
Kano
93e3e8c90e bflsc add work reply INPROCESS: missing from the spec 2013-04-26 18:57:40 +10:00
Kano
5121163ef2 bflsc put in some error messages not yet written 2013-04-26 18:26:20 +10:00
Kano
8fe17e9de3 bflsc get completed hashes as late as possible 2013-04-26 17:28:46 +10:00
Con Kolivas
5d8273a399 Fix potential memory leak with unused work items in bflsc_queue_full 2013-04-26 17:00:22 +10:00
Con Kolivas
f5e3448fb8 Reverse bools in bflsc_queue_full 2013-04-26 16:55:52 +10:00
Con Kolivas
9b53e59997 Avoid recursive loop calling correct function instead. 2013-04-26 16:38:17 +10:00
Kano
a44f6d285a bflsc fix details identification 2013-04-26 15:40:56 +10:00
Con Kolivas
05c9ece81e Differentiate BFLSC device from regular bitforce and give warning if no support is compiled in. 2013-04-26 15:18:34 +10:00
Kano
863c9e27df util.c str_text make a fully text readable version of str 2013-04-26 14:49:10 +10:00
Kano
179cc524f5 BFLSC fix FPGA identity overlap 2013-04-26 14:15:32 +10:00
Con Kolivas
a84e424b73 Locking error in bflsc_send_work 2013-04-26 13:04:20 +10:00
Con Kolivas
cbe13be85c Use htobe32 function for converting nonce in bflsc. 2013-04-26 12:57:21 +10:00
Con Kolivas
102b9477aa Replace deprecated bzero with memset in bflsc driver. 2013-04-26 12:54:48 +10:00
Con Kolivas
5c1ecaffa3 Fix compilation of bflsc driver without opencl. 2013-04-26 12:48:33 +10:00
Con Kolivas
4c8acdf9dc Check for realloc failures in bflsc driver. 2013-04-26 12:44:01 +10:00
Con Kolivas
b0f8b278ca Check for failure to calloc in bflsc driver. 2013-04-26 12:41:19 +10:00
Con Kolivas
5c30059142 Trivial style change 2013-04-26 12:39:21 +10:00
Con Kolivas
c30391225f Use copy_time function in bflsc driver. 2013-04-26 12:35:14 +10:00
Con Kolivas
41fa60ce59 Use cgtime in bflsc driver and update copyright notice. 2013-04-26 12:32:28 +10:00
Con Kolivas
e92b13a2a2 Use a separate function for bfl initialise that doesn't require locking. 2013-04-26 12:21:25 +10:00
Con Kolivas
009008ade7 Fix BFLSC building. 2013-04-26 12:00:44 +10:00
Kano
c769db692d bflsc v0.1 2013-04-26 10:32:28 +10:00
Con Kolivas
ea0adf652d Bump version to 3.0.1 2013-04-25 00:23:00 +10:00
Con Kolivas
a7a86402d8 Update NEWS. 2013-04-25 00:22:38 +10:00
Con Kolivas
2643ad1b22 Use only the one jump in ocl.c to bypass binary saves for osx opencl. 2013-04-25 00:16:09 +10:00
Con Kolivas
0a8f584909 Initialise variables not set on OSX in ocl.c. 2013-04-25 00:09:09 +10:00
Con Kolivas
9aae2256d3 Bypass attempting to read and save binary files on OSX to avoid crashes on >1 GPU. 2013-04-24 23:53:44 +10:00
Con Kolivas
d835ef75d1 Receive failures in recv_line should unconditionally fail. 2013-04-24 23:16:21 +10:00
Con Kolivas
06f7f52553 Revert "Add more debugging to recv_line parse failure."
This reverts commit b615502b2b.

Unnecessary.
2013-04-24 23:14:41 +10:00
Con Kolivas
412ef440b3 Use sock_blocks in api.c 2013-04-24 23:08:22 +10:00
Con Kolivas
af60a19ddd Use sock_blocks function for stratum send and receive. 2013-04-24 23:07:42 +10:00