Tanguy Pruvot
054af6526c
decred: link the --vote parameter
...
without param or 0 = no vote, valid choices will start to 1..
stratum + getwork
9 years ago
Tanguy Pruvot
5a69056ee5
blake2s cleanup
9 years ago
Tanguy Pruvot
7ffe65c262
blake2s algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
24f452adf6
decred: missed --help
9 years ago
Tanguy Pruvot
d58490911a
decred: remove some useless double flip
9 years ago
Tanguy Pruvot
35738cec23
api: add stales and pools algo/name
...
+ remove hardcoded stales check on suprnova...
9 years ago
Tanguy Pruvot
e1fd687b9b
count pool stales + suprnova workaround
...
there was a weird job id problem not seen on yiimp stratum
9 years ago
Tanguy Pruvot
099195e39d
decred: use given extradata...
9 years ago
Tanguy Pruvot
f2f11b2331
getwork: fix reggression with normal work size
9 years ago
Tanguy Pruvot
7a62bf37fa
decred: a bit more clean...
9 years ago
Tanguy Pruvot
a823cca7f9
decred: allow custom extranonce sizes
...
the extranonce is already placed after header in job.coinbase
9 years ago
Tanguy Pruvot
4944e1a098
mrM4D vnl, with some changes
9 years ago
Tanguy Pruvot
7c9ec8629f
decred: handle a second nonce
9 years ago
Tanguy Pruvot
6cd53a2305
decred: quick fix for low net diff (testnet)
9 years ago
Tanguy Pruvot
b0617ba0fc
Revert "decred: prepare full stratum support"
...
This reverts commit 4e769915d8
.
proper v1.7.3 for yiimp
9 years ago
Tanguy Pruvot
4e769915d8
decred: prepare full stratum support
9 years ago
Tanguy Pruvot
7d4c48d1d8
1.7.3 stratum test
9 years ago
Tanguy Pruvot
7fd2df5ba9
stratum: missing bloc height notif + range
9 years ago
Tanguy Pruvot
9bb9af49b2
decred: stratum tests with extranonce field
...
This implementation doesnt compute the merkle root, but allow
to mine on yiimp with the help of decred extradata fields.
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
fc27c25436
windows builds cleanup
9 years ago
Tanguy Pruvot
6e95407dcf
decred algo for longpoll/getwork
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
xCoreDev
2e16d00f63
vanilla algo (Blake256 8 rounds - double sha256)
9 years ago
Tanguy Pruvot
e75b26feb4
sib coin algo (X11 + Streebog)
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
a4404bc325
Add advanced resume options for conditional mining
...
only available for single pool, in multi, max-xxx rotates the pool
9 years ago
Tanguy Pruvot
be73cd1ae0
improve the device mapping and a possible segfault
...
when using -n, work_restart array was not allocated
9 years ago
Tanguy Pruvot
e4476a5eee
reduce crashes on debug tests
9 years ago
Tanguy Pruvot
2247605d23
quark: add support for SM 2 devices
...
todo: use nonce vectors for the second branch
GPU #0 : Gigabyte GTX 460, 261.26 kH/s
accepted: 2/2 (diff 0.046), 254.36 kH/s yay!!!
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
21115b7fc6
scrypt: link texture-cache parameter
9 years ago
Tanguy Pruvot
e50556b637
various changes, cleanup for the release
...
small fixes to handle better the multi thread per gpu
explicitly report than quark is not compatible with SM 2.1 (compact shuffle)
9 years ago
Tanguy Pruvot
1e3db41a8d
multialgo: clear hashrate stats on switch
9 years ago
Tanguy Pruvot
e9b88b45e4
prepare the 1.7 release
9 years ago
Tanguy Pruvot
d3e2088398
basic pool algo switch (without free barrier)
...
not really proper but should works for 2 "small" algos.
just put the "algo" param in each pools config
9 years ago
Tanguy Pruvot
113e22de2e
blake: prevent empty scan ranges with multiple gpus
...
in some cases, an empty scan range was possible in benchmark..
9 years ago
Tanguy Pruvot
61ff92b5b4
never interrupt global benchmark with found nonces
...
fix some algo weird hashrates (like blake)
and reset device between algos, for better accuracy
but this reset doesnt seems enough to bench all algos correctly...
to test on linux, could be a driver issue...
heavy: fix first alloc and indent with tabs...
9 years ago
Tanguy Pruvot
47f309ffb4
ifdef some unused kernels on SM5+
...
no need to build both (mine and sm variants)
and put global hashrate to 0 while waiting...
9 years ago
Tanguy Pruvot
2673b3aeff
stratum: hide timeout warnings while waiting
...
this timeout is not important, we reconnect after
9 years ago
Tanguy Pruvot
e12d666d36
pool switch: add thr_id param to handle a future barrier
...
Switching to a pool with a different algo will require a barrier
to free ressources, like what was made in the global benchmark.
add also the algo in pool structure...
9 years ago
Tanguy Pruvot
dec6dbed77
api: add best share diff and last share time
...
best share diff require --show-diff
shown in the "pool" command
9 years ago
Tanguy Pruvot
e90ade048a
ndevs: get vendor names on windows too
...
ccminer -n 2>NUL
GPU #0 : SM 5.2 GeForce GTX 970
GPU #1 : SM 5.0 Gigabyte GTX 750 Ti
GPU #2 : SM 5.2 ASUS GTX 970
note: nvml destroy is made in proper_exit function
9 years ago
Tanguy Pruvot
59a6cd133b
nvapi: x86 can also get sub vendor ids
9 years ago
Tanguy Pruvot
c3d10db873
algos: move cmdline algo/alias parser in a func
9 years ago
Tanguy Pruvot
5a08c21355
diff: store solved blocs count, update the api
...
Also show the real target diff on pools for the algos with a factor (lyra)
require the --show-diff parameter, may be used as default in the final 1.7
9 years ago
Tanguy Pruvot
9dfa757dc7
warn on cuda errors + various small changes
...
The full benchmark can now be launched with "ccminer --benchmark"
add a new helper function which log a warning with last cuda error
(not shown with the quiet option) : CUDA_LOG_ERROR();
it can be used where miner.h is included (.c/.cpp/.cu)
fix x14 (in ccminer.cpp), a break was missing in switch..case
9 years ago
Tanguy Pruvot
8fbfe2cfda
add gpulog() function helper, simple and multi-threads
...
when using multiple cpu threads per gpu, use the T prefix, ex:
[2015-10-11 09:52:49] GPU #0 : app clocks set to P0 (3600/1228)
vs
[2015-10-11 09:52:51] GPU T0: MSI GTX 960, 5953.35 kH/s
Only thr_id is required, the function take care of the dev id
9 years ago
Tanguy Pruvot
c6dcc5e5cf
benchmark: show mem and default throughput in results
...
and prepare a new function to get the default intensity
also, take care of multiple threads per gpu...
9 years ago
Tanguy Pruvot
8db5a0bc9e
blake: change dynamic round system
...
blakecoin was conflicting with lyra2, set the rounds more properly
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