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

279 Commits

Author SHA1 Message Date
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
Noel Maersk
c2c8231b9e kernel: zuikkis supports all worksizes.
Closes https://github.com/veox/sgminer/issues/130
2014-03-04 16:43:11 +02:00
phm
8fe1b860c5 Added support for MyriadCoin groestl algorithm. 2014-03-01 09:33:32 +01:00
Noel Maersk
e18bcc2582 kernel: use N-factor table instead of passing parameter N directly. 2014-02-26 04:30:46 +02:00
Noel Maersk
3afaaf1bfa ocl: rename nfactor to N where appropriate.
N = 2^nfactor, so `nfactor` was a bad name choice here.
2014-02-26 04:14:22 +02:00
Noel Maersk
4b3b2ef5a6 ocl: use 'nf' instead of 'n' in compiled kernel binary name.
It is used as a factor number here (e.g. 10, not 1024).
2014-02-25 06:33:53 +02:00
Noel Maersk
5b42d38f33 ocl/misc: spacing. 2014-02-25 06:33:53 +02:00
Noel Maersk
7217da3078 ocl: vectors are hard-set to 1, add appropriate "optimisation". 2014-02-25 06:33:48 +02:00
Noel Maersk
ab9fcb1a14 ocl: use same type convention for nfactor (cl_uint instead of int). 2014-02-24 16:26:50 +02:00
phm
3e89fb950f Merge branch 'quark'
Conflicts:
	Makefile.am
	configure.ac
	driver-opencl.c
	miner.h
	ocl.c
	sgminer.c
2014-02-23 18:56:05 +01:00
Teemu Suikki
73bb1504e9 Scrypt-nfactor support!
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.

Kernels modified accordingly.
2014-02-23 04:44:17 +02:00
phm
d9fc7ccb4e Added support for QubitCoin 2014-02-22 19:21:05 +01:00
phm
c336a8399a Added support for INKcoin. 2014-02-22 16:58:00 +01:00