1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 22:38:05 +00:00
Commit Graph

437 Commits

Author SHA1 Message Date
Tanguy Pruvot
56170bb32e nvml: cleanup and check api restrictions
there was too much wrap_ prefixes, internal cleanup

SetAPIRestriction reports success but we can not query/set app clocks
2014-11-29 09:13:00 +01:00
Tanguy Pruvot
c218c3f514 quark/anime: +100KH, bmw tpb was not correct
This small change also enhance a bit x11..17 algos
2014-11-28 22:18:48 +01:00
Tanguy Pruvot
8ad180cc70 various small changes
heavy: reduce by 256 threads default intensity to all -i 20
cuda: put static thread init bools outside the code (made once)
api: fix nvml header to build without
2014-11-28 20:57:35 +01:00
Tanguy Pruvot
f524917bef update readme and openssl (1.0.1i) 2014-11-27 12:01:11 +01:00
Tanguy Pruvot
1b65cd05cc heavy: add error checks, fix strict aliasing and linux
The core problem was the cuda hefty Thread per block set to high
but took me several hours to find that...

btw... +25% in heavy 12500 with 256 threads per block... vs 128 & 512
if max reg count is set to 80...
2014-11-27 09:14:59 +01:00
Tanguy Pruvot
1032f191bf api: update sample php ui with pool
and report pstate in hwinfo only
2014-11-27 00:48:40 +01:00
Tanguy Pruvot
6ae28162db various extern cleanup + api history uids and gpu SM
uids could be useful to create graphes from history data

Note: please do a clean build after this commit (changes in miner.h)
2014-11-26 11:55:42 +01:00
Tanguy Pruvot
cb3f893a85 nvml: fully disable it on windows
The DLL exists for x64 targets but seems not loadable

The nvml.cpp code was wrote to support both NVAPI and NVML on windows
because both apis have unique "features". like Fan RPM vs Fan Percent
2014-11-26 09:57:58 +01:00
Tanguy Pruvot
d3258d8bcd syslog: allow to set a custom prefix
will allow kopiemtu livecd internal monitor to set it to cpuminer
2014-11-25 22:37:38 +01:00
Tanguy Pruvot
9b1ff1280e Allow intermediate intensity (decimals)
Sample with -i 18.5
  Adding 131072 threads to intensity 18, 393216 cuda threads

And with -i 19.5
  Adding 262144 threads to intensity 19, 786432 cuda threads
2014-11-25 19:57:56 +01:00
Tanguy Pruvot
9a97f0cf6e api: fix size_t printf exception in vstudio 2014-11-25 18:24:01 +01:00
Tanguy Pruvot
7e15f31706 api: pool query (uptime, ping, discon., url and user) 2014-11-25 17:39:02 +01:00
Tanguy Pruvot
71f9003901 x13: use tsiv hamsi implementation (+70KH) 2014-11-24 23:01:41 +01:00
Tanguy Pruvot
3e8457d76c api: add device uuid (nvml), and OS in hwinfo
move nvdriver to sys infos (unique on system)

prepare pool query
2014-11-24 21:20:26 +01:00
Tanguy Pruvot
dc5d1b112d api: add scanlog command to monitor scan ranges
will be used for external debugging...
2014-11-24 20:26:41 +01:00
Tanguy Pruvot
1dfbe6dfb5 stratum: yaamp answer to extranonce subscribe lately
Fix for the extranonce feature, can also make the miner more stable
2014-11-24 20:14:15 +01:00
Tanguy Pruvot
484bbc4b15 api: restore bios, can be useful to identify
We have no way yet to identify a MSI 750 from a Gigabyte one...
2014-11-24 14:32:34 +01:00
Tanguy Pruvot
aec310d4a7 nvml: grab nvidia driver version string too 2014-11-24 00:27:49 +01:00
Tanguy Pruvot
d0ad1017e9 nvapi: get vid/pid like nvml + driver version
remove vbios revision, goal was to find the vendor...
2014-11-24 00:08:14 +01:00
Tanguy Pruvot
a33058b554 vstudio: reduce diff, try Klaus options 2014-11-23 22:11:46 +01:00
Tanguy Pruvot
858c3d9370 jansson: use config.h new name (like v2.7)
to prevent config.h conflicts
2014-11-23 22:11:46 +01:00
Tanguy Pruvot
2300326b7a jansson: fix version header 2014-11-23 21:20:16 +01:00
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