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

291 Commits

Author SHA1 Message Date
elbandi
17f2478edd Some other minor fixes from theLosers106 2016-02-11 21:53:24 +01:00
elbandi
6fd618d284 Tweak lyra2re algo files 2016-02-11 21:53:23 +01:00
elbandi
fecc92be89 Use algorithm type in conditions 2015-11-10 21:17:49 +01:00
elbandi
580676affb Get some algos from 'master' of https://github.com/djm34/sgminer 2015-11-10 21:17:40 +01:00
Wolf
55da7b5bb1 Removed bitalign/opcode patching code. It's dead, and no one else is gonna do it. 2015-04-07 04:38:44 -05:00
troky
1854e96a0e Reverted create_opencl_command_queue 2015-03-26 12:11:48 +01:00
troky
fe62dc75fc wolf's improvements #2 2015-03-25 18:54:32 +01:00
troky
8cb4fc9d6e Added Pluck algo 2015-03-10 10:26:58 +01:00
ystarnaud
387bb28952 Neoscrypt fixes
Pushed the wrong kernel previously and I changed the TC to not override
the intensity. As with scrypt, intensity will calculate TC only if TC is
not set.
2014-12-03 19:22:33 -05:00
ystarnaud
4ba8a68043 Merged develop branch with master +updates
Moved the develop code to master. Moving forward all updates will be
done on master unless it's work on a major feature.

This update contains all previous develop code as well as a few new ones
that weren't pushed yet:

* Added neoscrypt compatibility for xintensity/rawintensity
* Neoscrypt now uses correct TC if not specified or set to 0
* Reworked the application of pool settings on algorithm switch which
should resolve TC/Intensity changes between algos such as X11 and
neoscrypt
2014-12-03 10:09:55 -05:00
ystarnaud
42737acf66 Added Neoscrypt with Wolf9466 improvements. 2014-11-19 12:06:16 +01:00
ystarnaud
c0515e8fa3 Added alt kernel file option 2014-11-19 11:18:25 +01:00
troky
cbc22823df Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS). 2014-06-10 16:40:37 +02:00
Jan Berdajs
25d7d426fd convert tabs to spaces in most commonly modified files 2014-06-09 17:45:06 +02:00
Jan Berdajs
e134ab75ad move algorithm-specific OpenCL compile options into algorithm_t 2014-06-08 20:36:45 +02:00
Jan Berdajs
881355d873 add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels 2014-06-08 20:36:39 +02:00
Jan Berdajs
cabbd7362f refactor initCl more 2014-06-08 20:36:25 +02:00
Jan Berdajs
c25a59bab1 refactor building/loading/saving OpenCL kernel 2014-06-08 02:04:31 +02:00
troky
2588394e32 Added null-termination for kernel build log. 2014-06-05 23:07:55 +02:00
troky
68c54c226c Partially reverting e4a4efdb42 to keep MSVS compatibility. 2014-06-05 10:19:27 +02:00
Jan Berdajs
e4a4efdb42 fix some potential memory leaks, remove a few old unused functions 2014-06-05 00:13:43 +02:00
Jan Berdajs
dca83c1112 Add improved Darkcoin (X11-mod) algorithm 2014-05-27 03:39:19 +02:00
Jan Berdajs
c0baf790f6 making new algorithms and other changes merged from sph-sgminer work with current version of sgminer 2014-05-27 01:11:54 +02:00
Jan Berdajs
93e3a6d107 Merge branch 'master' into sph
Not working yet, need to upgrade algorithm_t

Conflicts:
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
	util.c
2014-05-24 21:22:04 +02:00
Bufius
0b0a3ed834 core. include check in ocl.c regarding lookup-gap for kernel 'bufius'
doc: change documentation
2014-05-19 18:42:16 +02:00
phm
0001517ac0 Merge branch 'marucoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-04-15 19:43:30 +02:00
phm
67cf41a50c Added support for MaruCoin 2014-04-15 00:20:05 +02:00
phm
769c9f8036 Merge branch 'twecoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
	sph/Makefile.am
2014-04-05 17:41:42 +02:00
phm
474091c426 Added support for Twecoin 2014-04-05 17:27:59 +02:00
Jan Berdajs
c2131df6aa add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown) 2014-03-31 21:05:20 +02:00
phm
a683f935a4 Merge branch 'sifcoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-31 17:06:16 +02:00
phm
0f88162c39 Added support for Sifcoin 2014-03-31 17:02:06 +02:00
Noel Maersk
27e4515b9a opencl: move lookup-gap check for kernel zuikkis to after it is set from opt_lg.
Introduced by 89d641628b

Closes https://github.com/veox/sgminer/issues/172
2014-03-28 00:24:43 +02:00
Noel Maersk
18d9c648ba opencl: update comment on generated binary file name. 2014-03-27 16:52:56 +02:00
Noel Maersk
e02f111dca opencl: reuse strbuf in initCl, get rid of poorly-named numbuf. 2014-03-23 15:12:06 +02:00
Noel Maersk
89d641628b log: warn on using kernel zuikkis with lookup-gap != 2. 2014-03-23 15:09:43 +02:00
Noel Maersk
7a3a510216 log: mention non-user-settable kernel parameters in "Initialising kernel" notice.
Should help in the future for people who try to mix patched and unpatched
BFI devices.
2014-03-23 15:04:15 +02:00
Noel Maersk
0d8977774f opencl: correctly test if no kernel name was specified in config.
Closes second bug squashed into https://github.com/veox/sgminer/issues/123
report.
2014-03-23 14:58:08 +02:00
phm
983eae1142 Merge branch 'groestlcoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-22 23:58:10 +01:00
phm
764d8706b4 Added support for GroestlCoin. 2014-03-22 23:50:21 +01:00
phm
a0c0975bb8 Merge branch 'animecoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-20 18:36:28 +01:00
phm
35744a86c2 Merge branch 'inkcoin'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-03-20 17:52:31 +01:00
Noel Maersk
98cd96f27a opencl: add log notice, change another to notice level, shorten comment. 2014-03-17 21:57:00 +02:00
Noel Maersk
87801c2578 opencl: rename cgpu_info->kname to cgpu_info->kernelname. 2014-03-17 21:57:00 +02:00
Noel Maersk
1333ed576d core: simplify kernel selection code.
WIP!

Use a string instead of a state-machine-ey kernel selection mechanism
where kernel names have to be predefined. This should allow just dropping
new kernels into dir `kernel` without bloating the code in three other
places.

Is in dire need of a cleanup, function parameter check, edge case check -
all the usual testing.

In particular, checking these definitions/keywords:

* enum cl_kernels
* kname
* [c]gpu[s]->kernel (and similar)
* memory cleanup after strdup()?..
* chosen_kernel
* queue_scrypt_kernel
* strbuf
* initCl
2014-03-17 21:56:43 +02:00
phm
e260e79ab2 Added support for FugueCoin 2014-03-17 19:25:43 +01:00
Noel Maersk
8079d054d6 Merge branch 'nfactor'
Conflicts (resolved):
	Makefile.am
	winbuild/sgminer.vcxproj.filters
2014-03-14 17:46:54 +02:00
unknown
f7f582732a Fixed bufsize type. 2014-03-10 20:13:17 +01:00
Noel Maersk
c6a27709f8 core: use global algorithm structure instead of opt_nfactor.
Also squashed:

config: add log messages to set_algo() and set_nfactor().

algorithm: use set_algorithm_nfactor() when setting default nfactor in set_algorithm().

Otherwise algorithm->n defaults to 0.

P.S. Did I already mention how this could have been C++?..
2014-03-07 02:27:06 +02:00
phm
66f508d01f Added support for AnimeCoin 2014-03-05 18:00:30 +01:00