Tanguy Pruvot
11a512f2a7
change defaults to handle cuda 9+, disable heavy and SM 2.x
...
Heavy is the only algo using thrust which is generally broken on new cuda releases
mjollnir dropped too... never seen this coin anyway...
7 years ago
Tanguy Pruvot
d19e2a1e62
Add keccakc for creative coin
...
Same hash as keccak, just different pool settings (sha256d and diff factor 256)
7 years ago
Tanguy Pruvot
2e0a977784
polytimos algo (6 chained algos with streebog)
7 years ago
Tanguy Pruvot
ed27598a7a
import and clean hsr algo
7 years ago
Tanguy Pruvot
cf18cb632c
equihash: missing free on benchs
7 years ago
Tanguy Pruvot
3dbcc5dbbf
Import phi algo (by anorganix)
...
only made a few changes to keep algos in the alpha order
7 years ago
Tanguy Pruvot
cbede12c47
Add skunk algo, initial version
7 years ago
Tanguy Pruvot
c120ecae1d
handle the new tribus algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
e584f28441
fix quark and jackpot algos
8 years ago
Tanguy Pruvot
81d5f4e862
Improve project build compatibility (mac/vs2015)
...
This is incomplete, but is a first step...
8 years ago
Tanguy Pruvot
5dfeee45ec
rewrite jha algo to be more compatible
...
old "german" implementation based on the quark method is kept
in the source tree, but is currently broken. to be continued.
This is a quick fix which should be compatible with all cards.
8 years ago
Tanguy Pruvot
8e4d059a41
bitcore algo for linux users
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
orignal
879dc8a9ca
correct implementation of gostd
8 years ago
Tanguy Pruvot
80c755188d
Add sha256d algo (bitcoin) btw...
...
even if it works on yiimp, the stratum diff is too high for gpus (for now)
8 years ago
Tanguy Pruvot
61231bc66c
fix various memory leaks on algo switch
8 years ago
Tanguy Pruvot
07ebcb544d
timetravel algo
...
+ new kernels jh512-80 groestl-80 and cubehash-80
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
3ede61b0cc
bastion algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
1b7c2fc296
lyra2z algo (temporary algo)
...
based on djm34 version, cleaned up and adapted to ccminer 2.0
8 years ago
Tanguy Pruvot
ebef3c8656
sha256t algo (3x sha256, not sha256d)
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
3d70026ae6
hmq1725 algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
93adb56c8e
handle cryptonight light variant
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
066a569357
import xmr, to finish
...
todo: fix jh cuda and wrong decimal diff (0xffff problem ?)
8 years ago
Tanguy Pruvot
2bbccc5ff4
wildkeccak, basic stratum port of rpc 2.0
...
scratchpad delete fix and redownload, reduce rejects
(work in progress)
8 years ago
Tanguy Pruvot
2f57ee9157
bench: skip the disabled whirlpoolx
...
+ veltor free
+ some missed/extra log things...
8 years ago
Tanguy Pruvot
b31fb5316b
sia: cuda impl. and suprnova getwork over stratum
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
8 years ago
Tanguy Pruvot
85c212eaad
implement x11evo algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
dcbcf6ba7e
stratum: improve and add new methods for pool benchmark/stats
...
will allow to submit some device benchmark data to compute algo
power usage and profitability.
Introduce two new methods mining.get_algo and mining_get_stats
These methods will be used with yiimp stratum with a special benchmark option
Note: only the first card is handled for the moment.
also add stratum mining.ping support (like cgminer 4.7.1+) and prevent disconnect
on unknown methods, reply it is unsupported.
9 years ago
Tanguy Pruvot
7ffe65c262
blake2s algo
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
4944e1a098
mrM4D vnl, with some changes
9 years ago
Tanguy Pruvot
6e95407dcf
decred algo for longpoll/getwork
...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
9 years ago
Tanguy Pruvot
8ceb5cfd65
sib: add missing algo free entry + opt 64
9 years ago
Tanguy Pruvot
41543b5c0b
lyra2v2: add support for SM 2.1 devices
...
and improve a bit SM 3 perf
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
e9b88b45e4
prepare the 1.7 release
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
0d9d3520ac
simd: add support for SM 2.1 devices
...
Add support for x11..x17, s3, fresh and qubit
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
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
355b835ae0
benchmark: enhance the mem leak detection
...
reduce "false" warnings, and ignore unrelated/small ones <= 1 MB
On windows the gpu memory can be allocated by other processes
+ some cleanup in algos... (free/gpulog)
9 years ago
Tanguy Pruvot
4868c412b0
windows: add support for SM 2.1, drop SM 3.5 (x86)
...
Mostly to do compatibilty tests, SM 2.1 support is very limited
SM 3.0 code should run on SM 3.5 (only a few cards use this arch)
As i can't test SM 3.5, its best to let users do their own tests...
9 years ago
Tanguy Pruvot
5bf1f98200
various fixes for SM 2.1 and the benchmark
...
X11+ algos and quark are not compatible for the moment
but these ones are :
Benchmark results for Gigabyte GTX 460 (SM 2.1 / 1 GB):
blakecoin : 159090.5 kH/s, 1 MB, 1048576 thr.
blake : 70208.9 kH/s, 1 MB, 1048576 thr.
bmw : 122802.6 kH/s, 65 MB, 2097152 thr.
deep : 3533.6 kH/s, 33 MB, 524288 thr.
fugue256 : 43177.9 kH/s, 17 MB, 524288 thr.
heavy : 4118.2 kH/s, 147 MB, 524032 thr.
keccak : 18673.1 kH/s, 129 MB, 2097152 thr.
luffa : 28816.0 kH/s, 257 MB, 4194304 thr.
lyra2 : 213.7 kH/s, 570 MB, 65536 thr.
mjollnir : 3895.6 kH/s, 147 MB, 524032 thr.
nist5 : 1101.4 kH/s, 67 MB, 1048576 thr.
penta : 501.6 kH/s, 21 MB, 327680 thr.
skein : 5432.4 kH/s, 65 MB, 1048576 thr.
skein2 : 6788.9 kH/s, 33 MB, 524288 thr.
whirlpool : 688.5 kH/s, 33 MB, 524288 thr.
zr5 : 122.5 kH/s, 86 MB, 262144 thr.
9 years ago
Tanguy Pruvot
fc84c719e9
lyra2: improve cuda implementation (part 1, SM5+)
...
based on the new djm34 method, 2x faster than first version
cleaned and tuned for the GTX 750/960 (linux / cuda 6.5)
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
d195f2e8a2
intensity: do not reduce throughput before init
...
Else the memory allocated could be less than required later
btw, use the new "cuda" function to apply intensity/throughput
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
ab5cc7162e
refactor: create bench.cpp and algos.h
...
Also enhance multi-thread benchmark synchro. with pthread barriers
9 years ago