1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-08 22:07:56 +00:00
Commit Graph

869 Commits

Author SHA1 Message Date
Tanguy Pruvot
037bbe3ad3 sia: add missing cputest 2017-06-15 03:48:59 +02:00
Tanguy Pruvot
0f3fac9536 nvs: remove test with -n 2017-06-12 06:19:38 +00:00
Tanguy Pruvot
bcadca2c45 linux: prepare nvidia-settings queries
Note: this method is slower than real apis and requires X opened
and configured correctly.

sample usage: -d 0,1 --mem-clock=+200,-200
2017-06-08 22:07:29 +02:00
Tanguy Pruvot
05abaf2b26 update readme and sample config 2017-05-24 00:11:27 +02:00
Tanguy Pruvot
21600491b8 update instructions for fedora 25
its a shame this distrib doesnt provide older gcc toolchains.. :/
2017-05-23 23:54:35 +02:00
Tanguy Pruvot
8cf21599d4 Interface nicehash djeZo equihash solver (squashed)
Todo:
    - send block height via stratum protocol (encoded in jobid?)
    - remove equi/blake2 cpu algorithm to use common one

the extranonce imcompatibility is related to the solver nonce data,
offsets may be reversed in nheqminer, to check...

The solver was adapted for SM 3.0+ support (no perf changes)

Note: The solver was not improved on purpose, to be able compare
the two miners performances (nheqminer 0.5c the last open sourced, and ccminer)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

stratum: code cleanup, move equi fns in equi folder
2017-05-23 23:54:35 +02:00
Tanguy Pruvot
c44be3f81d api: various fixes
- prefer calloc to zero memory
- bind: keep the normal network read access with -b 0.0.0.0 like previous versions
- help: keep the write mode commands hidden in read-only mode
- close the socket on refused api calls to prevent client hangs
- small other changes
2017-05-23 23:53:58 +02:00
bitbandi
47472ed3f1 API restriction policy and multicast announces (#16)
same as sgminer, fixed to build (tpruvot), untested yet
2017-05-18 19:50:08 +02:00
Tanguy Pruvot
b372729ce6 api: change api bind variable name 2017-05-16 12:09:32 +02:00
Tanguy Pruvot
857c1819c9 ccminer 2.0 final 2017-05-14 11:40:46 +02:00
Tanguy Pruvot
e584f28441 fix quark and jackpot algos 2017-05-14 11:35:27 +02:00
Tanguy Pruvot
81d5f4e862 Improve project build compatibility (mac/vs2015)
This is incomplete, but is a first step...
2017-05-09 05:56:28 +02:00
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.
2017-05-08 08:03:55 +02:00
Tanguy Pruvot
762c7f8656 nvapi: fix plimit argument on x64
now use the same percents as the x86

nvml watts (like linux) could work but requires admin rights
2017-05-07 12:09:55 +02:00
Tanguy Pruvot
e23b577e32 nvml: show product ids and pci bus in ccminer -D -n 2017-05-06 02:00:24 +02:00
Tanguy Pruvot
8e4d059a41 bitcore algo for linux users
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-05-03 11:12:50 +02:00
Tanguy Pruvot
063992b25b decred: handle new stake version field 2017-04-23 17:02:27 +02:00
Tanguy Pruvot
d2f836119a vstudio: remove remains, move sha in tree
+ small code fixes
2017-04-23 17:02:27 +02:00
Tanguy Pruvot
6c9852c153 nvapi: fix weird code style 2017-04-21 13:20:31 +02:00
Tanguy Pruvot
80c755188d Add sha256d algo (bitcoin) btw...
even if it works on yiimp, the stratum diff is too high for gpus (for now)
2017-03-11 15:29:21 +01:00
Tanguy Pruvot
61231bc66c fix various memory leaks on algo switch 2017-03-11 11:19:20 +01:00
Tanguy Pruvot
0041bf47f1 wildkeccak: add credits and licence notice 2017-03-11 08:49:38 +01:00
Tanguy Pruvot
73f6720121 whirlpool: restore old source code for SM 3.0
SM 3.0 implementation need a manual define in whirlpool.cu...

alexis variant is 2x slower on SM3.0 (GT 740)
2017-03-08 15:59:51 +01:00
Tanguy Pruvot
e388c11c02 blake2s fix and more missing cuda arch (for the benchmarks) 2017-03-08 13:13:52 +01:00
Tanguy Pruvot
2cdf2ddd43 Add missing real cuda arch checks 2017-03-08 09:19:10 +01:00
Tanguy Pruvot
18637503f2 whirlpool: upgrade with alexis variant (2x)
to check on older cards... maybe breaks some
2017-03-08 08:04:56 +01:00
Tanguy Pruvot
de41bc9d21 update readme and use cuda 8 as default 2017-03-07 21:14:15 +01:00
Tanguy Pruvot
07ebcb544d timetravel algo
+ new kernels jh512-80 groestl-80 and cubehash-80

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 20:16:15 +01:00
Tanguy Pruvot
3ede61b0cc bastion algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 20:10:26 +01:00
Tanguy Pruvot
1b7c2fc296 lyra2z algo (temporary algo)
based on djm34 version, cleaned up and adapted to ccminer 2.0
2017-03-07 20:05:03 +01:00
Tanguy Pruvot
ebef3c8656 sha256t algo (3x sha256, not sha256d)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 19:32:59 +01:00
Tanguy Pruvot
3d70026ae6 hmq1725 algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-03-07 16:26:27 +01:00
Tanguy Pruvot
4d95ef4aec cuda: ensure the system can find the right lib
if you get this error on linux, its because libcudart.so.x.x was not found

ldconfig -p | grep libcudart.so.8.0
2017-02-17 19:00:51 +01:00
Tanguy Pruvot
1d5db48797 credits: show binary arch (32/64) in the header 2017-02-17 17:48:25 +01:00
Tanguy Pruvot
b549bd54fe lyra2: clean the intelli-non-sense stuff 2017-02-08 12:21:36 +01:00
Tanguy Pruvot
c66e8622b3 api: report per thread cpu hash checks (ACC/REJ)
+ update all algos for that...
2017-02-07 06:26:02 +01:00
Tanguy Pruvot
4da35e0bcf api: use MHz for all clocks and show plimit
plimit value is reported in mW like the power, or % on Windows x86 (via nvapi)

+ the monitor thread will no more report 0W if the device doesnt support it

also upgrade nvml and sample php api.

some more changes may come in this temporary API 1.9 (for the final 2.0)
2017-02-06 06:50:38 +01:00
Tanguy Pruvot
3fab2792fd lyra2: remove old debug traces 2017-02-06 04:38:43 +01:00
Tanguy Pruvot
916ec5047e logs: show solved count on solved shares 2017-02-05 14:06:51 +01:00
Tanguy Pruvot
aaa24a6262 stats: submit real freqs and plimit to yiimp benchmarks 2017-02-05 13:20:38 +01:00
Tanguy Pruvot
ef44e88ef9 ccminer: link --max-log-rate to the command line 2017-01-30 12:36:50 +00:00
Tanguy Pruvot
b9da6c67f5 improve jh512 with vectors (nist5,quark,sib,x11+,zr5)
the main improvement is to reduce asm calls to read global mem

but, a few more regs are used (68 mini vs 64 on SM 5.2)
so reduce the forced launch bounds to allow 80 or 128 regs per thread

Note: cuda 6.5 seems not able to store with v4.u32... (7.5 is fine)
        st.global.v4.u32        [%rd2], {%r3783, %r3824, %r3823, %r3822};
        st.global.v2.u32        [%rd2+16], {%r3821, %r3820};
        st.global.u32   [%rd2+24], %r3819;
        st.global.u32   [%rd2+28], %r3818;
        st.global.u32   [%rd2+44], %r3814;
        st.global.u32   [%rd2+40], %r3815;
        ...

todo, check alexis variant.. but wanted to keep this code before in git...
2017-01-30 07:27:01 +01:00
Tanguy Pruvot
6440a9bf41 windows: some default intensity adjustments 2017-01-30 02:31:44 +01:00
Tanguy Pruvot
2152fd102d lbry cleanup, and proper error on cuda 6.5
both merged and unmerged implementations are broken with CUDA 6.5

No perf changes...
2017-01-30 02:31:28 +01:00
Tanguy Pruvot
aaef92cab2 nvml: workaround for beta drivers 378.49 clocks
even nvidia-smi doesnt report the right pascal clocks
2017-01-29 22:23:05 +01:00
Tanguy Pruvot
b47d9acaf5 readme + small warnings detected by vstudio 2017-01-29 22:23:05 +01:00
Tanguy Pruvot
c8ff854456 sia was migrated too... 2017-01-29 06:10:08 +01:00
Tanguy Pruvot
0ff75791e5 migrate 2nd nonce storage of most algos
This allow to keep pdata[19] as cursor between scans, and later, to sort them..

remains... heavy, scrypt, sia...
2017-01-29 05:46:45 +01:00
Tanguy Pruvot
5a77d36635 groestl: explain code and improve perf on SM 2.x
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-01-29 00:51:42 +01:00
Tanguy Pruvot
feb99d020f skein: merge the double implementations in one
based on alexis skein kernels, tested ok on SM 2.1 and 3.0

code is a bit hard to read but... well... users dont care :p
2017-01-29 00:01:06 +01:00