1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

2850 Commits

Author SHA1 Message Date
Con Kolivas
ae8bacc54f Update NEWS. 2012-08-31 12:24:14 +10:00
Con Kolivas
57c3b12f64 Sort the blocks database in reverse order, allowing us to remove the first block without iterating over them. Output the block number to debug. 2012-08-31 12:04:16 +10:00
Con Kolivas
b34f36b700 Merge branch 'master' of github.com:ckolivas/cgminer 2012-08-31 09:22:28 +10:00
Con Kolivas
f1c6ae22f7 Adjust opencl intensity when adjusting thread count to prevent it getting pegged at a value below the minimum threads possible. 2012-08-31 09:13:19 +10:00
Con Kolivas
26eb918100 Merge pull request #307 from kanoi/icarus
miner.h max_hashes -> int64_t
2012-08-30 06:28:55 -07:00
Kano
a178039a65 miner.h max_hashes -> int64_t 2012-08-30 23:22:37 +10:00
Con Kolivas
f97bf2e2ac Keep the local block number in the blocks structs stored and sort them by number to guarantee we delete the oldest when ageing the block struct entries. 2012-08-28 20:16:50 +10:00
Con Kolivas
d91af893c8 Use correct sdk version detection for SDK 2.7 2012-08-28 18:08:39 +10:00
Con Kolivas
69983b778b Revert "Pick worksize 256 with Cypress if none is specified."
This reverts commit 482322a4b7.

Worksize 256 was only helpful on cypress with ultra-low memory speeds with old SDKs and the new kernels require higher memory clocks, having the opposite net effect.
2012-08-28 17:19:38 +10:00
Con Kolivas
b768758818 Test for lagging once more in queue_request to enable work to leak to backup pools. 2012-08-27 10:15:48 +10:00
Con Kolivas
579c1299c6 There is no need to try to switch pools in select_pool since the current pool is actually not affected by the choice of pool to get work from. 2012-08-27 10:10:50 +10:00
Con Kolivas
4a210d4eff Only clear the pool lagging flag if we're staging work faster than we're using it. 2012-08-27 10:02:53 +10:00
Con Kolivas
d1683f75c9 needed flag is currently always false in queue_request. Remove it for now. 2012-08-27 09:55:19 +10:00
Con Kolivas
1b7db5bc9c thr is always NULL going into queue_request now. 2012-08-27 09:47:55 +10:00
Con Kolivas
7fe8142cbf Bump version to 2.7.4. 2012-08-24 01:27:16 +10:00
Con Kolivas
cf6033cb0a Update NEWS. 2012-08-24 01:26:55 +10:00
Con Kolivas
0e0093e602 Select pool regardless of whether we're lagging or not, and don't queue another request in switch pool to avoid infinite recursion. 2012-08-24 01:23:54 +10:00
Con Kolivas
5095ed29a1 Merge branch 'master' of github.com:ckolivas/cgminer 2012-08-24 01:07:23 +10:00
Con Kolivas
9bec1e158e Simplify macros in output kernels avoiding apparent loops and local variables. 2012-08-24 01:06:17 +10:00
Con Kolivas
3acc064be3 Merge pull request #306 from kanoi/api
Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php (to display it)
2012-08-23 07:50:28 -07:00
Con Kolivas
7992e5f3c8 Carry the needed bool over the work command queue. 2012-08-24 00:41:14 +10:00
Con Kolivas
37fa7d36d4 Move the decision to queue further work upstream before threads are spawned based on fine grained per-pool stats and increment the queued count immediately. 2012-08-24 00:35:26 +10:00
Con Kolivas
618b3e8b11 Track queued and staged per pool once again for future use. 2012-08-23 23:50:38 +10:00
Con Kolivas
4fbe5bed15 OpenCL 1.0 does not have native atomic_add and extremely slow support with atom_add so detect opencl1.0 and use a non-atomic workaround. 2012-08-23 23:25:32 +10:00
Kano
d5f485c517 Pools: add RollTime info to API 'stats' and 'Stats' button in miner.php 2012-08-23 19:20:12 +10:00
Kano
fee870b5d1 Merge remote-tracking branch 'conman/master' 2012-08-23 18:10:05 +10:00
Con Kolivas
ec522bdfdb Bump to v2.7.3 hotfix. 2012-08-23 17:02:24 +10:00
Con Kolivas
4ca288e820 Limit queued_getworks to double the expected queued maximum rather than factoring in number of pools. 2012-08-23 16:55:14 +10:00
Con Kolivas
ad90269508 Minimise the number of getwork threads we generate. 2012-08-23 16:33:24 +10:00
Con Kolivas
68f7224cc3 Bump version number to 2.7.2 2012-08-23 13:25:38 +10:00
Con Kolivas
6e3727d11c Update NEWS. 2012-08-23 13:25:21 +10:00
Con Kolivas
482322a4b7 Pick worksize 256 with Cypress if none is specified. 2012-08-23 12:47:28 +10:00
Con Kolivas
be06cf7083 Give warning with sdk2.7 and phatk as well. 2012-08-23 12:44:42 +10:00
Con Kolivas
cce19d9005 Whitelist sdk2.7 for diablo kernel as well. 2012-08-23 12:42:10 +10:00
Kano
44faaa54c6 Merge remote-tracking branch 'conman/master' 2012-08-23 12:39:36 +10:00
Kano
8e82c24a5d Merge branch 'minerphp' 2012-08-23 12:38:29 +10:00
Con Kolivas
e045467e8d Merge pull request #305 from kanoi/minerphp
Linux BFL Flash Utility
2012-08-22 19:20:46 -07:00
Con Kolivas
0feb679b67 Only keep the last 6 blocks in the uthash database to keep memory usage constant. Storing more is unhelpful anyway. 2012-08-23 12:19:23 +10:00
Kano
30f5d77761 BFL Flash - always distribute source 2012-08-23 11:41:10 +10:00
Con Kolivas
f7f55e777d Increase kernel versions signifying changed APIs. 2012-08-23 11:19:52 +10:00
Kano
0c3e9e9b0e BFL flash - include source in builds and more FPGA-README 2012-08-23 11:16:29 +10:00
Con Kolivas
b74b54d95b Check we haven't staged work while waiting for a curl entry before proceeding. 2012-08-23 11:09:09 +10:00
Con Kolivas
86d5377e72 Use atomic ops to never miss a nonce on opencl kernels, including nonce==0, also allowing us to make the output buffer smaller. 2012-08-23 10:48:15 +10:00
Kano
6bf04bc969 Remove compile errors/warnings and document compile/usage in FPGA-README 2012-08-23 10:22:03 +10:00
Luke Dashjr
87f8b15cc0 bitforce-firmware-flash.c by Luke-jr 2012-08-23 10:10:05 +10:00
Con Kolivas
61df3013a8 Ignore the submit_fail flag when deciding whether to recruit more curls or not since we have upper bounds on how many curls can be recruited, this test is redundant and can lead to problems. 2012-08-22 23:03:17 +10:00
Con Kolivas
d24ac1d95b Merge pull request #304 from kanoi/minerphp
miner.php allow 'coin' is custom pages
2012-08-22 05:58:08 -07:00
Kano
857784ae86 API-README update cgminer version number 2012-08-22 11:34:32 +10:00
Kano
f66cdc08b2 API-README fix groups P: example mistake 2012-08-22 11:25:02 +10:00
Kano
43942bce24 API-README add COIN and other edits 2012-08-22 11:19:15 +10:00