troky
1854e96a0e
Reverted create_opencl_command_queue
10 years ago
troky
fe62dc75fc
wolf's improvements #2
10 years ago
troky
8cb4fc9d6e
Added Pluck algo
10 years ago
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.
10 years ago
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
10 years ago
ystarnaud
42737acf66
Added Neoscrypt with Wolf9466 improvements.
10 years ago
ystarnaud
c0515e8fa3
Added alt kernel file option
10 years ago
troky
cbc22823df
Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS).
11 years ago
Jan Berdajs
25d7d426fd
convert tabs to spaces in most commonly modified files
11 years ago
Jan Berdajs
e134ab75ad
move algorithm-specific OpenCL compile options into algorithm_t
11 years ago
Jan Berdajs
881355d873
add --hamsi-expand-big option for setting EXPAND_BIG in X13 kernels
11 years ago
Jan Berdajs
cabbd7362f
refactor initCl more
11 years ago
Jan Berdajs
c25a59bab1
refactor building/loading/saving OpenCL kernel
11 years ago
troky
2588394e32
Added null-termination for kernel build log.
11 years ago
troky
68c54c226c
Partially reverting e4a4efdb42
to keep MSVS compatibility.
11 years ago
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
11 years ago
Jan Berdajs
dca83c1112
Add improved Darkcoin (X11-mod) algorithm
11 years ago
Jan Berdajs
c0baf790f6
making new algorithms and other changes merged from sph-sgminer work with current version of sgminer
11 years ago
Bufius
0b0a3ed834
core. include check in ocl.c regarding lookup-gap for kernel 'bufius'
...
doc: change documentation
11 years ago
phm
67cf41a50c
Added support for MaruCoin
11 years ago
phm
474091c426
Added support for Twecoin
11 years ago
Jan Berdajs
c2131df6aa
add support for setting algorithm/nfactor for each pool separately, and fix bugged OpenCL thread cleanup (thread shutdown)
11 years ago
phm
0f88162c39
Added support for Sifcoin
11 years ago
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
11 years ago
Noel Maersk
18d9c648ba
opencl: update comment on generated binary file name.
11 years ago
Noel Maersk
e02f111dca
opencl: reuse strbuf in initCl, get rid of poorly-named numbuf.
11 years ago
Noel Maersk
89d641628b
log: warn on using kernel zuikkis with lookup-gap != 2.
11 years ago
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.
11 years ago
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.
11 years ago
phm
764d8706b4
Added support for GroestlCoin.
11 years ago
Noel Maersk
98cd96f27a
opencl: add log notice, change another to notice level, shorten comment.
11 years ago
Noel Maersk
87801c2578
opencl: rename cgpu_info->kname to cgpu_info->kernelname.
11 years ago
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
11 years ago
phm
e260e79ab2
Added support for FugueCoin
11 years ago
unknown
f7f582732a
Fixed bufsize type.
11 years ago
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++?..
11 years ago
phm
66f508d01f
Added support for AnimeCoin
11 years ago
Noel Maersk
c2c8231b9e
kernel: zuikkis supports all worksizes.
...
Closes https://github.com/veox/sgminer/issues/130
11 years ago
phm
8fe1b860c5
Added support for MyriadCoin groestl algorithm.
11 years ago
Noel Maersk
e18bcc2582
kernel: use N-factor table instead of passing parameter N directly.
11 years ago
Noel Maersk
3afaaf1bfa
ocl: rename nfactor to N where appropriate.
...
N = 2^nfactor, so `nfactor` was a bad name choice here.
11 years ago
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).
11 years ago
Noel Maersk
5b42d38f33
ocl/misc: spacing.
11 years ago
Noel Maersk
7217da3078
ocl: vectors are hard-set to 1, add appropriate "optimisation".
11 years ago
Noel Maersk
ab9fcb1a14
ocl: use same type convention for nfactor (`cl_uint` instead of `int`).
11 years ago
Teemu Suikki
73bb1504e9
Scrypt-nfactor support!
...
Added new configuration parameter "nfactor", which defaults to 10 (normal scrypt).
Use 11 for vertcoin.
Kernels modified accordingly.
11 years ago
phm
d9fc7ccb4e
Added support for QubitCoin
11 years ago
phm
c336a8399a
Added support for INKcoin.
11 years ago
phm
e92d5ebf6e
Added support for InkCoin
11 years ago
phm
a17ec112f6
Added support for Quark mining.
11 years ago