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

848 Commits

Author SHA1 Message Date
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
Tanguy Pruvot
16ac9b688f x13+: improve and clean a bit fugue512
reduce constant mem and load global data in bulk (vectors)
2017-01-29 00:00:43 +01:00
Tanguy Pruvot
013cda1cd2 ccminer: show first block diff even with -q 2017-01-29 00:00:28 +01:00
Tanguy Pruvot
496052e47d xmr: vstudio warning fix about mpcount linkage
and move ptr type cast defines to common cuda helper
2017-01-25 21:16:31 +00:00
Tanguy Pruvot
dc816b4673 xmr: nicehash nonce prefix/hack support (v2) 2017-01-22 23:19:22 +01:00
Tanguy Pruvot
def9888bd5 xmr: prefer 32bit uint4 and smaller offsets in core
also prefer ulong2 shared load to be closer to the ptx
2017-01-16 06:36:24 +01:00
Tanguy Pruvot
214f392778 xmr: default settings with card attributes 2017-01-15 01:42:25 +01:00
Tanguy Pruvot
94aa6b8e91 ccminer: allow 192 car. for the username 2017-01-14 18:55:36 +01:00
Tanguy Pruvot
588c7ba361 xmr: dont use shared mem hack, windows dont like 2017-01-14 15:13:31 +01:00
Tanguy Pruvot
bd030db5d1 xmr: vectors rewrite, now the phase2 is using only 40 regs
no more constant memory used for aes.

tested only on linux cuda 8 for now... wip
2017-01-14 04:34:23 +01:00
Tanguy Pruvot
23be7f308d xmr: link the --bfactor setting (0-11) 2017-01-12 23:02:00 +01:00
Tanguy Pruvot
e231343060 xmr: make it more smooth on windows with defaults
also improve a bit the 750 ti on linux...
2017-01-12 06:00:59 +01:00
Tanguy Pruvot
12ae185594 hwmonitor: efficiency unit and clean dead code 2017-01-10 14:20:33 +01:00
Tanguy Pruvot
0dd022779b power monitoring thread + some api changes
based on alexis monitoring thread idea, but which only use one thread

note: other api changes will come soon, related to that
2017-01-10 02:26:28 +00:00
Tanguy Pruvot
242aa4144b scanlog: remember sharediff for multiple nonces
rpc2: handle properly secondary nonce(s) + api ping time fix

be sure to fully recompile, structures are changed
2017-01-09 18:40:00 +01:00
Tanguy Pruvot
93adb56c8e handle cryptonight light variant
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2017-01-09 18:30:59 +01:00
Tanguy Pruvot
39aad5a003 xmr: allow to set intensity on command line 2017-01-08 22:36:03 +00:00
Tanguy Pruvot
804b5b5f53 xmr: be safe with diff divide 2017-01-08 21:28:54 +00:00
Tanguy Pruvot
2479ffaaa2 xmr: fix decimal diff + aes cleanup
change default launch config to -l 32x16 to handle the 750 Ti better
not definitive, doing tests..
2017-01-08 21:16:45 +00:00
Tanguy Pruvot
c1f1ad9280 xmr: stabilize the final kernel 2017-01-08 14:39:13 +01:00
Tanguy Pruvot
066a569357 import xmr, to finish
todo: fix jh cuda and wrong decimal diff (0xffff problem ?)
2017-01-07 01:40:59 +01:00
Tanguy Pruvot
2bbccc5ff4 wildkeccak, basic stratum port of rpc 2.0
scratchpad delete fix and redownload, reduce rejects

(work in progress)
2017-01-06 08:55:15 +01:00