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

1583 Commits

Author SHA1 Message Date
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
Con Kolivas
3dda18eb6b Add NEWS. 2012-02-11 19:56:23 +11:00
Con Kolivas
2b61d973cd Remove the test for whether the device is on the highest profil level before raising the GPU speed as it is ineffectual and may prevent raising the GPU
speed.
2012-02-11 19:54:15 +11:00
Con Kolivas
b4364d4f78 Update NEWS. 2012-02-11 17:24:16 +11:00
Con Kolivas
60c701457a Retain cl program after successfully loading a binary image. 2012-02-11 16:41:41 +11:00
Con Kolivas
55bd031db3 Variable unused after this so remove setting it. 2012-02-11 16:38:55 +11:00
Con Kolivas
1c1b8bec9a BFI INT patching is not necessarily true on binary loading of files and not true on ATI SDK2.6+. Report bitalign instead. 2012-02-11 15:58:07 +11:00
Con Kolivas
81d4f620ff Various string fixes for reject reason. 2012-02-11 15:15:03 +11:00
Con Kolivas
b706da9374 Merge branch 'reject_reason' of https://github.com/luke-jr/cgminer into reject 2012-02-11 14:55:12 +11:00
Con Kolivas
24376414d4 Merge pull request #93 from luke-jr/bitforce_temp
Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs
2012-02-10 19:20:45 -08:00
Luke Dashjr
543265d66a Generalize --temp-cutoff and implement support for reading temperature from BitFORCE FPGAs 2012-02-10 22:14:27 -05:00
Con Kolivas
8c609579f4 Merge pull request #107 from kanoi/master
Allow API to restrict access by IP address + other commits
2012-02-10 19:07:53 -08:00
Con Kolivas
d24ee7824a Change message from recovered to alive since it is used on startup as well as when a pool has recovered. 2012-02-11 13:57:35 +11:00
Con Kolivas
8e682a2c32 Start mining as soon as any pool is found active and rely on the watchpool thread to bring up other pools. 2012-02-11 13:53:09 +11:00
Con Kolivas
82798f6f98 Merge pull request #111 from luke-jr/bugfix_bitforce_id
Bugfix: BitFORCE index needs to be static to count correctly
2012-02-10 18:42:58 -08:00
Con Kolivas
405fcd76ca Delayed responses from testing pools that are down can hold up the watchdog thread from getting to its device testing code, leading to false detection
of the GPU not checking in, and can substantially delay auto gpu/auto fan management leading to overheating. Move pool watching to its own thread.
2012-02-11 13:38:17 +11:00
Luke Dashjr
5be4bf70fe Bugfix: BitFORCE index needs to be static to count correctly 2012-02-10 21:33:26 -05:00
Con Kolivas
5ec684ce2b Space out retrieval of extra work according to the number of mining threads. 2012-02-11 13:20:32 +11:00
Con Kolivas
37374bb44b Make shutdown more robust.
Enable the input thread only after the other threads exist.
Don't kill off the workio thread and use it to exit main() only if there is an unexpected problem.
Use kill_work() for all anticipated shutdowns where possible.
Remove unused thread entry.
2012-02-11 13:11:56 +11:00
Con Kolivas
5fbd03459a Merge branch 'kernels' of github.com:ckolivas/cgminer into kernels
Conflicts:
	configure.ac
	device-gpu.c
	poclbm120203.cl
2012-02-11 12:11:30 +11:00
Con Kolivas
cad84c6f2c Change poclbm version number. 2012-02-11 11:51:15 +11:00