1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-10 14:57:53 +00:00
Commit Graph

865 Commits

Author SHA1 Message Date
Tanguy Pruvot
d0316220dd simd512: restore full maxwell power (typo) 2014-11-23 21:19:35 +01:00
KlausT
1fcde52afd small groestl optimizations 2014-11-23 20:46:55 +01:00
KlausT
ac641a0761 delete compat/thrust
why was it even included here in the first place?
It's part of the CUDA Toolkit
2014-11-23 19:13:32 +01:00
Tanguy Pruvot
c88750332c simd512: restore SM3/3.5 perfs
Simple change which affect all algos based on SIMD512

fresh, qubit, s3, x11 to x17...
2014-11-23 19:07:06 +01:00
Tanguy Pruvot
f42bb85785 nvml: vid/pid was reversed 2014-11-23 11:17:52 +01:00
Tanguy Pruvot
e2ac7a2a75 api: add nvapi and nvml ids for C# tools 2014-11-23 11:12:58 +01:00
Tanguy Pruvot
aa74aa33e2 api: fix hwinfo gpus 2014-11-23 10:50:25 +01:00
Tanguy Pruvot
84d7d926c9 nvml: fix hwinfo gpu vendor/product id
subsys ids are wrong... so use generic one
2014-11-23 10:45:32 +01:00
Tanguy Pruvot
d7c13b0611 stratum: handle standard method if extranonce is ignored
seen on yamp.com pools
2014-11-23 09:22:25 +01:00
Tanguy Pruvot
6699b8a71f nvml: fix windows build 2014-11-23 08:39:55 +01:00
Tanguy Pruvot
9a8b7ff0d7 api: add cpu temp/freq (linux) 2014-11-23 08:26:38 +01:00
Tanguy Pruvot
1fcdeab53b stats: rework stats map key to fix sort order
to fix histo api command without param
2014-11-23 08:07:21 +01:00
Tanguy Pruvot
7bb86defcc nvml: clean up and fix retorted bus id bug in api 2014-11-23 07:33:36 +01:00
Tanguy Pruvot
94c9945fe6 cubeluffa: Fix indent and add some static prefixes
use git "show -w <commithash>" to see changes

Duplicated functions in merged Cube+Luffa could be cross linked without
2014-11-23 07:17:20 +01:00
sp-hash
f0d91ab8a6 Luffa and simd merged to one kernal.
Small echo rewrite. +10KHASH on the 650(compute 3.0)

tpruvot: add Linux Makefile - Force to 80 registers (else -30KH/s)

Note : the hashrate seems more constant with this change
2014-11-23 07:04:07 +01:00
Tanguy Pruvot
b824a63cde affinity: do not mix cpu count with gpu one
and update the old var with active gpus if -d is set
2014-11-22 22:14:20 +01:00
Tanguy Pruvot
3be08ad944 update readme (api, current changes, credits) 2014-11-22 16:43:49 +01:00
Tanguy Pruvot
e72c6d4785 Update jansson windows sources to 2.6
There was sometimes problems with float values close to 0 (like 0.001)
2014-11-22 16:20:10 +01:00
Tanguy Pruvot
5a869d1c63 stratum: difficulty can be buggy with values close to zero
bug seen on windows with xpool.ca (x11)
2014-11-22 14:01:03 +01:00
Tanguy Pruvot
2ea9da1415 stratum: add more checks on request id 2014-11-22 13:30:42 +01:00
sp-hash
7d88e5cca1 Faster Simd
On maxwell compress1 and compress2 can be run in one run instead of two.(750TI + 20KHASH)
2014-11-22 03:25:49 +01:00
Tanguy Pruvot
7ce3fed611 extranonce: ignore subscribe timeout, not the parse errors 2014-11-22 03:25:49 +01:00
Tanguy Pruvot
5ddc8de9da stratum: handle optional mining.set_extranonce
allow pools to switch more coins without reconnect

Tested ok on a nicehash x11 pool

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2014-11-22 01:42:55 +01:00
sp-hash
26b9fe3586 faster x15, +23KH or 4ms on whirpool (30ms vs 34ms)
tpruvot: i didnt pick the asm replace_hiword, slower on linux
2014-11-20 19:19:27 +01:00
Tanguy Pruvot
73f22b237a Prepare trap of hardware/mem failures 2014-11-20 18:44:25 +01:00
Tanguy Pruvot
1bc4e7e942 api: add mem size and freq to hwinfo query 2014-11-20 15:54:56 +01:00
Tanguy Pruvot
3ad4be7de0 api: export gpu freq on linux too + hwinfo command 2014-11-19 16:16:27 +01:00
Tanguy Pruvot
b24b65a9c9 api: add gpu pci bus id, unified id + bloc height 2014-11-18 16:25:44 +01:00
Tanguy Pruvot
17cf3767e9 api: also fix nvapi mapping and double swap on histo 2014-11-18 03:34:23 +01:00
Tanguy Pruvot
582c971f2b api: fix histo gpu/thr id mismatch 2014-11-17 19:11:26 +01:00
Tanguy Pruvot
b4ef7b981f scan range: add boundary check, cant be > UINT32_MAX 2014-11-17 16:51:36 +01:00
Tanguy Pruvot
047e79a9fc api: add meminfo query to debug mem storages 2014-11-17 16:17:53 +01:00
Tanguy Pruvot
6a9b8a5ab2 hashlog: use work objects, put struct in miner.h 2014-11-17 15:58:11 +01:00
Tanguy Pruvot
bdfce54c3b x11: restore default intensity to 19 on windows 2014-11-17 14:48:55 +01:00
Tanguy Pruvot
fe4ad36b73 intensity: sign warnings fixes min(i,u) 2014-11-17 14:48:55 +01:00
Tanguy Pruvot
f5e77452f0 stratum: prevent a booo when receiving a new block
seems to works in solo mode too...

note: anime wallet to check, different problem without reject-reason
2014-11-17 02:59:08 +01:00
Tanguy Pruvot
d062f93bf5 cuda: revert to SM 5.0 only by default 2014-11-17 00:32:38 +01:00
Tanguy Pruvot
dca216f992 min() and max(a,b) are not defined on linux,
in fact max exists in jansson includes (in tree only)

Add them to miner.h
2014-11-17 00:23:18 +01:00
Tanguy Pruvot
c859041993 quark/blake512 opt. pointed by sp without asm
indeed, the pragma unroll doesnt always make things faster

asm part... to check later
2014-11-17 00:01:32 +01:00
Tanguy Pruvot
438308b3a2 Rework benchmark mode and min/max range
Was maybe my fault, but the benchmark mode was
always recomputing from nonce 0.

Also fix blake if -d 1 is used (one thread but second gpu)

stats: do not use thread id as key, prefer gpu id...
2014-11-16 23:28:18 +01:00
Tanguy Pruvot
11dbbcc12d checkhash: some work on a faster variant (wip)
This should not be used for all algos... not enabled yet

todo: multiple nounces or blake32 style checkup
2014-11-16 17:37:02 +01:00
Tanguy Pruvot
14a41959f8 x11: switch to intensity 20 for SM>=5.2 750+970 2014-11-16 17:34:50 +01:00
Tanguy Pruvot
44a551c52e hashrate: ignore first loop speed (often lowered) 2014-11-16 17:34:50 +01:00
Tanguy Pruvot
59391e25ec api: fix includes after a test on mingw (cpuminer) 2014-11-16 17:34:50 +01:00
Tanguy Pruvot
ae29d984c1 vstudio: clean the project file 2014-11-16 17:34:50 +01:00
Tanguy Pruvot
fdd5d29071 x11: shavite and echo from sp (now ok on win32)
Previous echo commit was only increasing linux performance, and reducing
windows perf compared to the 1.4.9, this one seems to give at least
the 1.4.9 on windows, and the same on linux...

Shavite optimisation seems ok on both (use now 64 registers)

the launch_bounds will force the number of registers, so remove specific
Makefile rules on linux...

manual "cherry pick" with fixed line endings and some adaptations
2014-11-16 17:34:50 +01:00
Tanguy Pruvot
89aaafad2c prepare 1.5.0 2014-11-16 03:35:47 +01:00
sp-hash
e18a54e8fc sp echo optimisation + cleanup
Original Commit :
Removed sharedmem and reduced calculations with precalcing (ECHO hash).
750ti + 20KHASH(x11)

tpruvot notes:
Real change is more of 10 KH/s on stock clocks (but real)
launch bounds disabled, no perf increase with 64 registers
2014-11-16 03:08:46 +01:00
Tanguy Pruvot
851a26c2a2 api-sample: use non blocking sockets
fix php warnings and enable cpuminer compat
2014-11-15 21:47:17 +01:00
Tanguy Pruvot
c7008f3f6c update readme for final 1.4.9 (fix)
A dev version was released on http://cryptomining-blog.com/

Please update, the previous one has some bugs when using multiple
gpus and the API format has changed!
2014-11-15 03:40:39 +01:00