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

1703 Commits

Author SHA1 Message Date
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
Con Kolivas
b2b5083bda Microoptimise phatk kernel on return code. 2012-02-13 12:22:35 +11:00
Con Kolivas
83b76da2c6 Correct yet more logic fail :( 2012-02-13 10:53:03 +11:00
Con Kolivas
b0787e07c8 Logic fail on engine multiplier. 2012-02-13 10:47:05 +11:00
Con Kolivas
fd05341a87 Do not loop indefinitely setting poclbm kernel to load a binary. 2012-02-13 10:39:26 +11:00
Con Kolivas
68217ef6ee Adjust engine speed up according to performance level engine setting, not the current engine speed. 2012-02-13 10:37:35 +11:00
Con Kolivas
d689cfbdf6 Try to load a binary if we've defaulted to the poclbm kernel on SDK2.6 2012-02-13 10:06:26 +11:00
Con Kolivas
3057b701e7 Use the poclbm kernel on SDK2.6 with bitalign devices only if there is no binary available. 2012-02-13 09:59:29 +11:00
Con Kolivas
2c33f12255 Whitelist ATI SDK 2.6 to use the poclbm kernel by default. 2012-02-13 08:34:44 +11:00
Con Kolivas
8be9d13ff2 Further generic microoptimisations to poclbm kernel. 2012-02-13 01:55:53 +11:00
Con Kolivas
fb99c8d52a The longstanding generation of a zero sized binary appears to be due to the OpenCL library putting the binary in a RANDOM SLOT amongst 4 possible binary
locations. Iterate over each of them after building from source till the real binary is found and use that.
2012-02-12 21:38:45 +11:00
Con Kolivas
56907db2d6 Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W. 2012-02-12 18:21:30 +11:00
Con Kolivas
111238489f Fix missing field initialisers warnings. 2012-02-12 17:53:50 +11:00
Con Kolivas
1885374802 Merge pull request #112 from luke-jr/jansson_compat
Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1)
2012-02-11 22:01:51 -08:00
Con Kolivas
07c2ee5317 Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c. 2012-02-12 17:00:44 +11:00
Con Kolivas
be8ad57962 Add missing define in logging.c for isatty() 2012-02-12 11:41:58 +11:00
Con Kolivas
beb1c3f907 Fix packaging issue with logging.h missing. 2012-02-12 11:39:10 +11:00
Luke Dashjr
fdadb0b549 Restore compatibility with Jansson 1.3 and 2.0 (api.c required 2.1) 2012-02-11 15:46:08 -05:00
zefir
e0fec35751 modularized logging, support for priority based logging
Functions related to logging are extracted into dedicated source files
for better maintainability.

The existing low-level logging API is extended with a generalized scheme
providing log functions log_{error, warning, notice, info, debug} that
log messages based on a global opt_log_level.

opt_log_level for now is set to LOG_NOTICE and might be modified via
command line options or config files in future releases.
2012-02-11 20:26:25 +01:00
zefir
713e8be629 move CPU chipset specific optimization into device-cpu 2012-02-11 20:25:41 +01:00
Con Kolivas
52bb99c3ea Fix double definition of A0 B0 to zeroA zeroB. 2012-02-11 21:42:02 +11:00
Con Kolivas
862e9da48e Bump version number to 2.2.4. 2012-02-11 20:29:27 +11:00
Con Kolivas
ecaf33a71c Update README. 2012-02-11 20:23:27 +11:00
Con Kolivas
6a9ffd714a Update NEWS. 2012-02-11 20:12:26 +11:00
Con Kolivas
405a2120f8 Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog(). 2012-02-11 20:11:18 +11:00