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

1777 Commits

Author SHA1 Message Date
Con Kolivas
d2b3fbc90c Curses will be disabled in clean_up so don't do it early in kill_work, and disable_adl so that GPU settings may be restored to normal in case shutting
down curses leads to instability on windows.
2012-02-17 23:11:50 +11:00
Con Kolivas
61328a4292 Stop the mining threads before trying to kill them. 2012-02-17 23:10:01 +11:00
Con Kolivas
1c211c5f41 Plain refresh() does not give reliably screen updates so get rid of all uses of it. 2012-02-17 22:55:33 +11:00
Con Kolivas
86a53824b5 Delete unused variable. 2012-02-16 21:15:58 +11:00
ckolivas
6693898710 Fix diakgcn kernel working by passing it D1A variable and renaming it in the cl code accordingly.
Renumber version consistent with change in code since it now works.
2012-02-16 17:31:22 +11:00
Con Kolivas
a95e4f4d03 Bump version number to 2.2.6. 2012-02-16 01:16:21 +11:00
Con Kolivas
6ab74b0983 Update NEWS. 2012-02-16 01:15:14 +11:00
Con Kolivas
67c4ada1b7 Provide warning on each startup about sdk 2.6 and decrease poclbm kernel selection to LOG_INFO. 2012-02-16 01:10:11 +11:00
Con Kolivas
b4c86ba615 Give SDK 2.6 warning only on building a kernel for !GCN bitalign devices. 2012-02-16 00:48:34 +11:00
Con Kolivas
728e3d4398 Revert "Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected."
This reverts commit e7fdadfc8f.

Broke kernel loading.
2012-02-16 00:45:08 +11:00
Con Kolivas
72ee48c113 Merge branch 'master' of github.com:ckolivas/cgminer 2012-02-15 21:46:59 +11:00
Con Kolivas
3d3a3a2f3a Fix unused warnings on win32. 2012-02-15 21:42:12 +11:00
Luke Dashjr
c31c06703f bitforce: Simplify BFopen WIN32 ifdef/else 2012-02-15 21:29:26 +11:00
Luke Dashjr
9631c0b02a Fix initialization warning with jansson 1.3 2012-02-15 21:29:15 +11:00
Luke Dashjr
c904b74b8c bitforce: Cleanup extraneous TODO that isn't needed 2012-02-15 21:29:05 +11:00
Luke Dashjr
2f0a3dc2db Move tcsetattr (and new tcflush) into *nix BFopen to simplify things a bit 2012-02-15 21:28:56 +11:00
Con Kolivas
33b0aa3811 Merge pull request #117 from luke-jr/bitforce_win32_timeout_set
bitforce: Set a 30 second timeout for serial port on Windows, since the default is undefined
2012-02-15 02:26:44 -08:00
Con Kolivas
7d3635c7a4 Add message explaining 2nd thread disabling for dynamic mode and how to tune it. 2012-02-15 21:03:24 +11:00
ckolivas
9a0e4f8fac Move logwindow down once number of devices is known. 2012-02-15 15:21:43 +11:00
ckolivas
e7fdadfc8f Automatically choose phatk kernel for bitalign non-gcn ATI cards, and then only select poclbm if SDK2.6 is detected. 2012-02-15 14:52:29 +11:00
ckolivas
6a78594618 Make SDK 2.6 warning and advice big and bold. 2012-02-15 14:47:02 +11:00
ckolivas
c235c7e373 Allow the refresh interval to be adjusted in dynamic intensity with a --gpu-dyninterval parameter. 2012-02-15 14:35:13 +11:00
ckolivas
e259a994f1 Make curses display visible right from the beginning and fix the window sizes so the initial messages don't get lost once the status window is drawn. 2012-02-15 13:53:26 +11:00
ckolivas
c531f1bd04 Use the max_hashes variable to determine when to abandon work. 2012-02-15 10:34:26 +11:00
ckolivas
b36d857d9b Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value. 2012-02-15 10:03:18 +11:00
ckolivas
29f0b2714c The amount of work scanned can fluctuate when intensity changes and since we do this one cycle behind, we increment the work more than enough to prevent repeating work. 2012-02-15 08:51:59 +11:00
Luke Dashjr
538b0ebf88 bitforce: Set a 30 second timeout for serial port on Windows, since the default is undefined 2012-02-14 12:01:30 -05:00
Con Kolivas
158c09107c Merge pull request #115 from luke-jr/bitforce_disable_autoscan
bitforce: Disable automatic scanning when at least one device is specified manually
2012-02-14 05:33:17 -08:00
Con Kolivas
8798a904c6 Merge pull request #116 from holymonson/master
fix strcpy NULL pointer if env HOME unset.
2012-02-14 05:32:53 -08:00
Con Kolivas
5e31785e7b Increase poclbm version number. 2012-02-15 00:29:07 +11:00
Con Kolivas
49c28b3929 Use PreVal4addT1 instead of PreVal4 in poclbm kernel. 2012-02-15 00:29:07 +11:00
Con Kolivas
5c4df1309a Import PreVal4 and PreVal0 into poclbm kernel. 2012-02-15 00:29:07 +11:00
Con Kolivas
f5c296785f Import more prepared constants into poclbm kernel.
Conflicts:

	poclbm120213.cl
2012-02-15 00:29:07 +11:00
Con Kolivas
734dfecec5 Keep variables in one array but use Vals[] name for consistency with other kernel designs. 2012-02-15 00:29:07 +11:00
Con Kolivas
3f9e34a53c Replace constants that are mandatorily added in poclbm kernel with one value. 2012-02-15 00:22:54 +11:00
Con Kolivas
b941146c29 Remove addition of final constant before testing for result in poclbm kernel. 2012-02-15 00:22:54 +11:00
Con Kolivas
81cb584586 Hand optimise variable addition order. 2012-02-15 00:22:54 +11:00
Con Kolivas
dc2d553d5b Hand optimise first variable declaration order in poclbm kernel. 2012-02-15 00:22:54 +11:00
Con Kolivas
f39fac9e4d Third pass reorder. 2012-02-15 00:22:54 +11:00
Con Kolivas
b754fb8f4e 2nd pass radical reorder. 2012-02-15 00:22:54 +11:00
ckolivas
e2b3c85d59 Radical reordering machine based first pass to change variables as late as possible, bringing their usage close together. 2012-02-15 00:22:54 +11:00
monson
8047af5af4 fix strcpy NULL pointer if env HOME unset. 2012-02-14 14:20:50 +08:00
Luke Dashjr
75da96b51b bitforce: Disable automatic scanning when at least one device is specified manually 2012-02-14 00:37:09 -05:00
Con Kolivas
57dad38d04 Unroll all additions to enable further optimisations. 2012-02-13 22:50:21 +11:00
Con Kolivas
aa1523d765 Bump up version number to 2.2.5 2012-02-13 13:30:14 +11:00
Con Kolivas
fdf9fb800b Update NEWS. 2012-02-13 13:29:31 +11:00
Con Kolivas
64acb9dae7 Increase version numbers of modified kernels. 2012-02-13 13:26:03 +11:00
Con Kolivas
23c01bc79c Make output buffer write only as per Diapolo's suggestion. 2012-02-13 13:19:04 +11:00
Con Kolivas
210fe9d5b9 Constify nonce in poclbm. 2012-02-13 13:16:05 +11:00
Con Kolivas
60f8ccb313 Use local and group id on poclbm kernel as well. 2012-02-13 12:51:24 +11:00