1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-08 22:08:02 +00:00
Commit Graph

6601 Commits

Author SHA1 Message Date
ystarnaud
5c9126fd61 X14 Implementation
Added X14 and cleaned up the X13/X15 kernels so all 3 offshoots are in
sync. New option "--hamsi-short" or "hamsi-short":true to add a small
boost. May not work on all GPUs.
2014-07-01 01:33:20 -04:00
ystarnaud
e0647546de Hamsi fix
Original implementation of x15 made changes to hamsi, which in turn
caused issues with other kernels.
2014-07-01 01:30:24 -04:00
ystarnaud
e234b2d969 X13 Fix
The modified fugue.cl included in the x15 changes broke x13 kernels.
2014-07-01 01:29:49 -04:00
ystarnaud
bb667fe627 Remove old files
Removing unnecessary files.
2014-07-01 01:29:27 -04:00
aznboy84
85fa1637e3 Fixed marucoin mod
Improve hamsi and fugue hashing (base on girino x13 version)
use SPH_KECCAK_UNROLL   1
and SPH_LUFFA_PARALLEL 1
to improve hashrate even further
2014-07-01 01:29:26 -04:00
aznboy84
12a2accd7e MSVC X15 commit 2014-07-01 01:29:26 -04:00
aznboy84
ab8be249fe Create whirlpool.cl 2014-07-01 01:29:26 -04:00
aznboy84
81bcc15e91 Create shabal.cl 2014-07-01 01:29:25 -04:00
aznboy84
847d454d9c Add bitblock files to solution 2014-07-01 01:29:25 -04:00
aznboy84
e78d4448f1 Create hamsi_helper.cl 2014-07-01 01:29:24 -04:00
aznboy84
4be3039592 File too big .. can't edit 2014-07-01 01:29:24 -04:00
aznboy84
c24cd984da Optimized a bit 2014-07-01 01:29:23 -04:00
aznboy84
80d51959e1 Create bitblockold.cl 2014-07-01 01:29:23 -04:00
aznboy84
348c974728 Create bitblock.cl 2014-07-01 01:29:22 -04:00
aznboy84
69e32822fa Create hamsi_helper_old.cl 2014-07-01 01:29:22 -04:00
aznboy84
fbcde31b81 Create hamsi_old.cl 2014-07-01 01:29:22 -04:00
aznboy84
84b21e0e3a bitblock header 2014-07-01 01:29:21 -04:00
aznboy84
99abe7e8bc Bitblock kernel 2014-07-01 01:29:21 -04:00
aznboy84
fd417c0f0f Add shabal.c and whirlpool.c to source list 2014-07-01 01:29:20 -04:00
aznboy84
63153e6420 Whirlpool algo 2014-07-01 01:29:20 -04:00
aznboy84
9711682f67 Whirlpool header 2014-07-01 01:29:20 -04:00
aznboy84
f1f5046abb Shabal header 2014-07-01 01:29:19 -04:00
aznboy84
b728a32696 Shabal algo 2014-07-01 01:29:19 -04:00
aznboy84
52b4daba7c Add bitblock to source list 2014-07-01 01:29:18 -04:00
aznboy84
18e0ed0042 Add BitBlock kernel 2014-07-01 01:29:18 -04:00
ystarnaud
6f8d38ee11 Remote config files
Config parser can now read config files stored remotely via
https/http/ftp. Requires libcurl.
2014-07-01 00:51:54 -04:00
Jan Berdajs
1c2de13498 fix broken disabled devices when remove-disabled is set 2014-07-01 02:08:58 +02:00
Jan Berdajs
8f53b7c86c safer 2014-07-01 01:47:14 +02:00
Jan Berdajs
976873ba49 more locks for devices 2014-07-01 01:38:32 +02:00
Jan Berdajs
d9b1f2065d unused preprocessor directive 2014-07-01 01:29:27 +02:00
Jan Berdajs
50483e35cb spaces/indent 2014-07-01 01:29:15 +02:00
Jan Berdajs
92deefcbca Fix bad lock 2014-07-01 01:19:07 +02:00
Jan Berdajs
40894db5d2 Changing disabled devices on pool switch is not possible if remove-disabled is set (enabled) 2014-07-01 01:12:14 +02:00
Jan Berdajs
7507790880 GPUs cannot be hotplugged 2014-07-01 01:04:44 +02:00
Jan Berdajs
7f0451336b Refactor and stability improvements when restarting threads
enable_device should not modify mining_threads because this is unsafe after initialization. it is also not necessary in most cases where it is currently used, except in initialization
refactored some of the new restart_mining_threads code and incorporated above change for better stability
properly handle disabled devices in restart_mining_threads when opt_removedisabled is set
total_devices was set incorrectly if the disabled devices were not at the end of devices, so total_devices is now always the number of detected devices, since that is what is in the devices variable
2014-06-30 23:57:02 +02:00
Jan Berdajs
be7d47dcee add lock when accessing mining_threads 2014-06-30 22:12:19 +02:00
Jan Berdajs
028f19e946 remove old commented-out code 2014-06-30 21:54:55 +02:00
Jan Berdajs
ba7c4892fb Remove obsolete benchmark mode
This mode/setting is unusable left-over from SHA-256 cgminer. It does not work with Scrypt or other algorithms that are used in sgminer. Removed in single commit so it can be used as reference, if benchmark mode is added in the future.
2014-06-30 21:44:44 +02:00
ystarnaud
9d54637e3c Fix HW Issue at startup
Fixed an issue where the GPUs would be initialized on first pool alive,
but the mining threads would end up being initialized on another pool
because it was selected right away.
2014-06-30 00:12:12 -04:00
ystarnaud
3ae5f97b94 Algorithm Switcher Update
Updated Algorithm switcher to change on pool rather than on algorithm.
This way if, for example, 2 pools use the same algorithm but different
GPU settings, the settings will be applied when changing pool.

Additionally:
* Included a "common" algorithm type in API pool/profile listing. For
example using "marucoin-mod" will return "X13", "darkcoin-mod" will
return "X11", scrypt + nfactor != 10 will return "NScrypt", etc...

* Added "kernel" config option to be backwards compatible with other
miners' configs.

* Added a few algorithm aliases: x11mod -> darkcoin-mod, x13mod ->
marucoin-mod...

* New config keyword: "includes", which holds an array of include files.
This is to counter the JSON limitation not allowing multiple values with
the same name, thus preventing inclusion of multiple files.
2014-06-28 00:54:17 -04:00
Noel Maersk
10fcbd3302 tools: typo in update_changelog.sh. 2014-06-27 18:25:16 +03:00
Noel Maersk
63afb25f94 tools: typo in update_changelog.sh. 2014-06-27 18:24:28 +03:00
Noel Maersk
0677b9564e Merge branch 'master' into v5_0
Conflicts (resolved):
	NEWS.md
	sgminer.c
	util.c
2014-06-27 18:21:11 +03:00
Noel Maersk
92d2256dda Bump version to 4.2.2. 2014-06-27 17:59:08 +03:00
Noel Maersk
ae941268bd tools: update_changelog.sh and entire ChangeLog. 2014-06-27 17:54:05 +03:00
ystarnaud
82518d6396 Merge pull request #291 from Elbandi/v5_0
Fix typo
2014-06-27 08:22:15 -04:00
Elbandi
cc699e1d37 Fix typo 2014-06-27 13:17:55 +02:00
ystarnaud
044bf70901 Nfactor fix
Sometimes the json parser, will read/apply nfactor before algorithm is set. When that is the case, set_algorithm() will reset nfactor to 10 preventing nscrypt from loading properly. Corrected the function to use previously set nfactor or default to 10.
2014-06-25 01:01:03 -04:00
Noel Maersk
78014ab0d5 work queue: verbose log as to why staged work is being discarded. 2014-06-24 19:20:32 +03:00
ystarnaud
7024d14c88 Fix high fan issue at startup/algo switch
Was setting fan speed to gpu_fan (which is the max) instead of min_fan on GPU settings change.
2014-06-24 10:45:43 -04:00