Tanguy Pruvot
c7cfe0e2ca
Fix windows linkage, C/C++ mismatch
9 years ago
Tanguy Pruvot
ab5cc7162e
refactor: create bench.cpp and algos.h
...
Also enhance multi-thread benchmark synchro. with pthread barriers
9 years ago
Tanguy Pruvot
c2214091ae
benchmark: free last memory leaks on algo switch
...
remains my original lyra2 implementation to fix... (cuda_lyra2.cu)
I guess some kind of memory overflow force the driver to allocate
memory... but was unable to free it without device reset.
9 years ago
Tanguy Pruvot
4e1e03b891
benchmark: store all algos results + cuda fixes
...
Note: lyra2, lyra2v2 and script seems to have problems
to coexist with other algos... to run after some of them...
moved lyra2 first and skip scrypt/jane for the moment...
Only stored in memory for now.. to display a table after the bench
ccminer -a auto --benchmark
Results may be exported later to a json file...
9 years ago
Tanguy Pruvot
934555994d
benchmark: allow -a auto to bench all algos at once
9 years ago
Tanguy Pruvot
922c2a5cd7
algos: free allocated mem for algo switch
...
All can be freed propertly now, except script (reset) and lyra2 (leak)
9 years ago
Tanguy Pruvot
ee93927fac
diff: use the new function in all algos
9 years ago
Tanguy Pruvot
42789f1a0d
whirlpool: allow stratum compat with new coins
...
make a difference between whirlpool and whirlcoin algos (stratum)
Look like the old SHA merkleroot method doesnt work on recent coins
Doesn't affect solo mining, only pools using stratum+tcp:// protocol
9 years ago
Tanguy Pruvot
5f12943de5
whirlpool: add algo free function + vstudio
9 years ago
Tanguy Pruvot
b641bfdf8b
diff: rename functions like cpuminer-multi
...
more proper, intuitive...
9 years ago
Tanguy Pruvot
3f589cc4db
restore the whirlpool algo
9 years ago
Tanguy Pruvot
87edf84bf3
lyra2v2: increase default intensity
...
to be able to say, like sp, that its faster :p
9 years ago
Tanguy Pruvot
b3adebdf2a
lyra2v2: improve speed on SM 5.2 (Cuda 6.5) with sp unrolls
...
Reduce a bit the 750Ti speed but improve a lot the 9xx speed.
Keep compat for SM 3/3.5 in a second file..
Note: With this code and Cuda 7.5, the speed won is the reverse...
May be "reverted" soon
9 years ago
Tanguy Pruvot
2ebcd1fbd5
neoscrypt: handle both getwork data sizes FTC/ORB
...
only affect solo mining, this patch should handle more weird cases
also set getblocktemplate param type to an empty object (ORB)
9 years ago
Tanguy Pruvot
8fb92415fb
stratum: prevent multiple bloc notifications on yaamp
...
yaamp always notify clean jobs,
was not correct for my "new bloc" detection system...
9 years ago
Tanguy Pruvot
2ee86e8f47
skein: fix share ratio / diff
9 years ago
Tanguy Pruvot
e1c4b3042c
algos: add functions to free allocated resources
...
Will be used later for algo switching
not really tested yet...
9 years ago
Tanguy Pruvot
8ec5dd7d8e
Handle the getwork typo in neoscrypt wallets
...
allow solo mining neoscrypt coins... (FTC/UFO)
9 years ago
Tanguy Pruvot
ec054db317
Show shares diff on longpoll pools too
...
and remove unused remains of old difficulty functions
9 years ago
Tanguy Pruvot
41707760f5
stratum: force exit on pool auth failure
...
the miner was stuck instead of exiting after the retries...
9 years ago
Tanguy Pruvot
fade2b74b5
diff: cleanup after windows test
9 years ago
Tanguy Pruvot
5308898d1c
start v1.7, apply new prototypes to all algos
9 years ago
Tanguy Pruvot
4babf37256
Add --show-diff parameter and fix pool net diff
...
which display submitted block and net difficulty and is able
to detect shares above net diff (solved blocs)
Note: only made on lyra2v2 and zr5 algos
TODO: compute the found diff on all algos...
require changes in all scan hash "kernel" function parameters
to be continued...
9 years ago
Tanguy Pruvot
cd64f9b0e7
Add a new cuda-schedule parameter
...
0: cudaDeviceScheduleAuto
1: cudaDeviceScheduleSpin
2: cudaDeviceScheduleYield
4: cudaDeviceScheduleBlockingSync
Also set the best one (4) for luffa algo by default...
9 years ago
Tanguy Pruvot
8f98bde4fb
lyra2v2: improve cubehash with uint2
9 years ago
Tanguy Pruvot
6e64383b32
klaus small fixes
9 years ago
Tanguy Pruvot
ac1f6ad1bb
try vstudio MinimalRebuild flag...
9 years ago
Tanguy Pruvot
4b40c16359
v1.6.6 release
9 years ago
Tanguy Pruvot
bcbb959a34
applog: remove useless mutex
9 years ago
Tanguy Pruvot
9a13624c2e
check abort_flag in threads loops
...
This flag was added recently (scrypt) from cudaminer code,
and i missed some...
and prevent multiple calls to proper_exit(), one is enough...
9 years ago
Tanguy Pruvot
629d987177
Allow to load remote config files with curl
...
different samples of use:
ccminer -c http://127.0.0.1/ccminer.json
or dynamically from a web application :
ccminer -c http://127.0.0.1/ccminer/config.php?h=linux
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
21f5435420
lyra2: improve skein256 component
9 years ago
Tanguy Pruvot
877f25aee5
lyra2v2: SM3.0 compat too
...
and strip most of the unused vectors defines...
9 years ago
Tanguy Pruvot
5be0a5c586
update autoconf scripts
...
made on ubuntu 14.04.2 with 'autoreconf -fvi'
9 years ago
Tanguy Pruvot
64e997e9d6
prepare release 1.6.6
9 years ago
Tanguy Pruvot
01f3183c31
bmw algo for MDT, with midstate
...
which could be extracted from json too
replace a satcoin by another one ;)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
e4414752c4
vstudio: lyra warning fixes + project dups
9 years ago
Tanguy Pruvot
e3548f46f3
drop animecoin support
...
no more really minable... just minable in french
9 years ago
Tanguy Pruvot
736f916da3
Restore default timeout (300s) for normal use
...
Was only useful to reduce pool switching problems but
some pools require a longer value.
9 years ago
Tanguy Pruvot
c9ef0b6b39
affinity: allow more than 8 cores values (and hexa)
9 years ago
Tanguy Pruvot
b256ca47a0
bmw256: reduce target array size
9 years ago
Tanguy Pruvot
6500e7401a
lyra2v2: properly exclude SM 3.0 devices
9 years ago
Tanguy Pruvot
da8a31c4e5
vstudio: restore missing x15 whirlpool
9 years ago
Tanguy Pruvot
53cd591956
lyra2v2, bmw256 and cubehash256 cleanup + diff fix
9 years ago
Tanguy Pruvot
4b04ca8027
lyra2v2: aliases and readme
9 years ago
Tanguy Pruvot
c9a66b696f
return to original lyra2 code
...
until i find the problem...
9 years ago
Tanguy Pruvot
d4e191610e
Import and adapt lyra2v2
...
not tested on windows and with SM <= 5
9 years ago
Tanguy Pruvot
3788fef9fd
Restore whirlpoolx algo
9 years ago
Tanguy Pruvot
21630d5fbc
affinity: do not default to win32
10 years ago
Tanguy Pruvot
e2f73614c0
link the no-extranonce option to the cmdline
10 years ago