Tanguy Pruvot
b824a63cde
affinity: do not mix cpu count with gpu one
...
and update the old var with active gpus if -d is set
10 years ago
Tanguy Pruvot
3be08ad944
update readme (api, current changes, credits)
10 years ago
Tanguy Pruvot
e72c6d4785
Update jansson windows sources to 2.6
...
There was sometimes problems with float values close to 0 (like 0.001)
10 years ago
Tanguy Pruvot
5a869d1c63
stratum: difficulty can be buggy with values close to zero
...
bug seen on windows with xpool.ca (x11)
10 years ago
Tanguy Pruvot
2ea9da1415
stratum: add more checks on request id
10 years ago
sp-hash
7d88e5cca1
Faster Simd
...
On maxwell compress1 and compress2 can be run in one run instead of two.(750TI + 20KHASH)
10 years ago
Tanguy Pruvot
7ce3fed611
extranonce: ignore subscribe timeout, not the parse errors
10 years ago
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>
10 years ago
sp-hash
26b9fe3586
faster x15, +23KH or 4ms on whirpool (30ms vs 34ms)
...
tpruvot: i didnt pick the asm replace_hiword, slower on linux
10 years ago
Tanguy Pruvot
73f22b237a
Prepare trap of hardware/mem failures
10 years ago
Tanguy Pruvot
1bc4e7e942
api: add mem size and freq to hwinfo query
10 years ago
Tanguy Pruvot
3ad4be7de0
api: export gpu freq on linux too + hwinfo command
10 years ago
Tanguy Pruvot
b24b65a9c9
api: add gpu pci bus id, unified id + bloc height
10 years ago
Tanguy Pruvot
17cf3767e9
api: also fix nvapi mapping and double swap on histo
10 years ago
Tanguy Pruvot
582c971f2b
api: fix histo gpu/thr id mismatch
10 years ago
Tanguy Pruvot
b4ef7b981f
scan range: add boundary check, cant be > UINT32_MAX
10 years ago
Tanguy Pruvot
047e79a9fc
api: add meminfo query to debug mem storages
10 years ago
Tanguy Pruvot
6a9b8a5ab2
hashlog: use work objects, put struct in miner.h
10 years ago
Tanguy Pruvot
bdfce54c3b
x11: restore default intensity to 19 on windows
10 years ago
Tanguy Pruvot
fe4ad36b73
intensity: sign warnings fixes min(i,u)
10 years ago
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
10 years ago
Tanguy Pruvot
d062f93bf5
cuda: revert to SM 5.0 only by default
10 years ago
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
10 years ago
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
10 years ago
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...
10 years ago
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
10 years ago
Tanguy Pruvot
14a41959f8
x11: switch to intensity 20 for SM>=5.2 750+970
10 years ago
Tanguy Pruvot
44a551c52e
hashrate: ignore first loop speed (often lowered)
10 years ago
Tanguy Pruvot
59391e25ec
api: fix includes after a test on mingw (cpuminer)
10 years ago
Tanguy Pruvot
ae29d984c1
vstudio: clean the project file
10 years ago
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
10 years ago
Tanguy Pruvot
89aaafad2c
prepare 1.5.0
10 years ago
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
10 years ago
Tanguy Pruvot
851a26c2a2
api-sample: use non blocking sockets
...
fix php warnings and enable cpuminer compat
10 years ago
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!
10 years ago
Tanguy Pruvot
2aea2c3ccc
nvml: attempt to use another clock function
...
But no way, even recent 346 driver series or 343. Seems limited to
Tesla products...
10 years ago
Tanguy Pruvot
3e43553735
api: export card labels and count, renames stats command
...
renammed to "threads", stats was too much generic
10 years ago
Tanguy Pruvot
7a2fe83aaa
nvapi: match gpu index with pci/x bus id
...
mapping by Name was a quick test...
10 years ago
Tanguy Pruvot
cc05128ae3
api: fix histo thread param
10 years ago
Tanguy Pruvot
124dc6ea57
nvapi: fix mapping of devices
10 years ago
Tanguy Pruvot
3652c708b9
api: add histo command and difficulty
...
enhance multi-gpu stats and fix nvapi indexes
change syslog prefix to ccminer (cpuminer remains)
api 1.1 modified - not officially released yet
10 years ago
Tanguy Pruvot
e82f5d4d75
restore divided hashrate for quark and jackpot
...
The previous way it was done was not correct (hashdone divided/2)
So add a factor 0.5 to the computed hashrate... to stay comparable
10 years ago
Tanguy Pruvot
3d2260acc4
stats: add support for current freq and pstate
...
windows only via nvapi, if nvml function is not supported
10 years ago
Tanguy Pruvot
e139736a2f
api: better compat with telnet + help command
...
handle "\r\n" and terminate connection if command is not known
10 years ago
Tanguy Pruvot
63eb163e32
api: update sample rig ui
...
totals, readable uptime, autorefresh
10 years ago
Tanguy Pruvot
3dcfa5d84f
api: add a sample rig web ui (php)
10 years ago
Tanguy Pruvot
dedcd06207
stats: fix typo for multigpu
10 years ago
Tanguy Pruvot
15eea1bc81
api: add nvapi for windows binaries
...
nvml.dll doesnt exists for 32bit binaries! use nvapi to get infos
seems to have more/different features than NVML... like pstate etc..
This is nvapi r343 : https://developer.nvidia.com/nvapi
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
e40a7a720c
ccminer: rename main file and switch to C++
...
There was a different behavior on linux and visual studio
That was making it hard to link functions correctly
That remove some ifdef / extern "C" requirements
note about x86 releases, x86 nvml.dll is not installed on Windows x64!
10 years ago
Tanguy Pruvot
49f3c454c2
Add nvml for GPU monitoring (squashed)
...
Based on mwhite73 <marvin.white@gmail.com> implementation
Linked to the api system
Also fix Makefile to support standard c++ files
This prevent nvcc use without device code
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago