Tanguy Pruvot
576884b199
refactor: move pool functions in pools.cpp
...
ccminer.cpp begins to be too big...
2015-06-18 04:44:52 +02:00
Tanguy Pruvot
9f5744d4c0
luffa/cube: fine tuning of maxregcount for the 750Ti
...
This allow to get 69 regs used (tested on linux) 69 or 72 make
the compiler to use 64 regs which is not enough on the 750Ti
for optimal performance...
2015-06-17 03:58:31 +02:00
Tanguy Pruvot
634bea21f5
luffa/cube: unroll 1 really required on the 9xx
2015-06-17 03:39:48 +02:00
Tanguy Pruvot
42bcb91ca0
x11: update sp luffa/cube to get closer x11 speeds..
...
i had to clean it... lot of unused defines...
2015-06-17 02:31:15 +02:00
Tanguy Pruvot
4709668995
jh512: rewrite and optimize with asm swap
...
5% improvement by the vshl asm swap functions, mixed shl+add inst.,
Add also xchg(x, y) func and XCHG(x, y) define in cuda_helper for later use...
other jh changes are mainly for the beauty of the code...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-06-16 08:20:48 +02:00
Tanguy Pruvot
79ee0ec264
zr5: some pok cleanup...
...
rename the var and only show warnings with --debug
2015-06-13 04:41:18 +02:00
Tanguy Pruvot
d764b5cca2
lyra2: improve a bit the speed on SM 5.2
...
(simplified sp commit)
2015-06-13 01:31:40 +02:00
Tanguy Pruvot
b72b4c5a5f
api: fix summary sums with multi pools
...
and allow to get pool infos with the pool number as parameter
samples telnet queries: pool|0 pool|1
2015-06-12 18:05:53 +02:00
Tanguy Pruvot
268c89f9a2
zr5: fix launch bounds with pok xor
2015-06-12 18:01:35 +02:00
Tanguy Pruvot
2907a7c678
zr5: add support for pok mining (getwork)
...
I dont store txs on biggest transactions to reduce memory usage.
In this case, the pok bool is not enabled for the bloc...
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-06-12 08:24:50 +02:00
Tanguy Pruvot
fcd3e4336b
skein: restore secNonce support on sm 5+
...
Add a sanity check in common checkhash function to prevent the problem again...
2015-06-11 01:00:59 +02:00
Tanguy Pruvot
48b3f119be
uint256: remove include where not required
2015-06-11 00:47:51 +02:00
Tanguy Pruvot
efd507fb3b
vstudio: add missing ssl/crypto includes for bignum
2015-06-11 00:17:44 +02:00
Tanguy Pruvot
39238f077d
diff: import bitcoin bignum class for conversions
...
BIGNUM is defined in OpenSSL...
2015-06-11 00:03:19 +02:00
Tanguy Pruvot
5636e2be5e
remove double reference to luffa algo
...
doomcoin is dead but the luffa algo is still used (Joincoin)..
keep doom as alias for compat... rename functions...
2015-06-10 22:10:16 +02:00
Tanguy Pruvot
d25b42e41b
Add diff-multiplier (-m) option
...
Remove -v and -m short params specific to heavycoin
Add --diff-multiplier (-m) and rename --diff to --diff-factor (-f)
--diff is kept for compat, but no more in help
This prevent using weird values like -f 0.0000125
2015-06-10 21:14:36 +02:00
Tanguy Pruvot
3e419abf84
qubit: implement cpu precalc (klaust)
...
improve qubit (+5%) deep and doom (+10%) hashrate
based on klausT code, simplified...
2015-06-10 19:46:17 +02:00
Tanguy Pruvot
a55b148ecc
windows: fix missing off_t include
2015-06-08 16:58:12 +02:00
Tanguy Pruvot
cf077902d0
skein: fix sm5 secNonce and disable it on wallets
2015-06-08 16:58:12 +02:00
Tanguy Pruvot
82908b3f67
vstudio: regroup options and revove AVX requirement
...
+ openmp for scrypt code...
2015-06-08 16:58:07 +02:00
Tanguy Pruvot
b02f79b58b
lyra2: recover the kH/s lost in last commit
2015-06-06 00:25:04 +00:00
Tanguy Pruvot
2b43d57d42
lyra2: simplify skein code (no perf changes)
2015-06-05 23:32:43 +02:00
Tanguy Pruvot
e95712a2ea
lyra2: reduce blake message len.
2015-06-05 22:40:29 +02:00
Tanguy Pruvot
ed4927fcd0
quark/x11: set signed int hashPosition vars to off_t
...
groestl (and keccak?) seems faster with 64bit vars (off_t or int64_t)...
2015-06-05 22:03:05 +02:00
Tanguy Pruvot
555504bd98
some changes related to wait stats
2015-06-05 20:36:48 +02:00
Tanguy Pruvot
2ea4635ef7
windows: scan time debug log was casted to 64bits int
2015-05-31 20:33:31 +02:00
Tanguy Pruvot
76b63b5a71
print the right cuda version
2015-05-31 19:00:20 +02:00
Tanguy Pruvot
e791039592
check work restart status in miner thread
...
also reduce a bit possible duplicate shares...
2015-05-30 13:20:35 +02:00
Tanguy Pruvot
98f2f8c745
nvml warning fix and disable scrypt gpu test
2015-05-29 15:39:41 +02:00
Tanguy Pruvot
c2f319fa86
multipool: fix some params like time-limit
2015-05-29 15:38:45 +02:00
Tanguy Pruvot
ebe95aac2f
bmw512: cleanup after cuda 7 bug fix
2015-05-29 14:32:23 +02:00
Tanguy Pruvot
52df82917a
cuda: fix uint2 substract operator
2015-05-29 14:32:13 +02:00
Tanguy Pruvot
0224d4705e
skein: fix wrong hashes seen on x11 with cuda 7
...
Look like a stream synch problem, not related to cuda 7 headers or cudart
The threadfence() added doesnt changes performances, and could also
be related to the random cpu validation errors... so keep it for all.
Note: the 80-bytes variant used in skein2 doesn't seems affected.
2015-05-29 12:16:54 +02:00
Tanguy Pruvot
123fe287b6
x11: temporary workaround for cuda 7.0
2015-05-28 21:19:24 +02:00
Tanguy Pruvot
85394cf22b
cuda: reduce possible segfaults on exit
...
not perfect but helps...
2015-05-28 15:58:38 +02:00
Tanguy Pruvot
0c545eb724
nvml: check available memory clocks and fix param for -d 1
...
"-d 1 --gpu-clock 1200" was not working
2015-05-28 07:49:31 +02:00
Tanguy Pruvot
f2c7a45e47
nvml: fix pstate api, nvmlDeviceGetPerformanceState works
...
on linux, 346.72
2015-05-28 07:10:00 +02:00
Tanguy Pruvot
75d721adb9
stratum: check if we have multiple pools to failover
2015-05-28 06:50:21 +02:00
Tanguy Pruvot
e99ff6c15b
nvml: clocks cleanup + pstate check (still not supported)
2015-05-28 06:47:23 +02:00
Tanguy Pruvot
cbd7865a79
nvml: check supported graphics clocks...
...
and use reset application clocks api
2015-05-27 18:15:38 +02:00
Tanguy Pruvot
a08056ed2a
linux: reset modified application clocks
2015-05-27 15:50:10 +02:00
Tanguy Pruvot
c9d110e543
linux: allow to set application clocks
...
Since linux driver 346.72, nvidia-smi allow to query gpu/mem clocks
Tested ok on the Asus Strix 970, but fails on the Gigabyte 750 Ti
system could require first persistence mode and app clock unlock :
nvidia-smi -pm 1
nvidia-smi -acp 0
supported values are displayed by
nvidia-smi -q -d SUPPORTED_CLOCKS
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2015-05-27 14:34:39 +02:00
Tanguy Pruvot
7500af78eb
linux: add build notes for fedora 22
2015-05-27 11:59:28 +02:00
Tanguy Pruvot
5be1521294
Increase max password size to 128 chars (nicehash)
...
--pass="f0=0;f2=0;f3=2.7;f4=1.9;f5=99;f6=1.8;f7=7.9;f8=0;f9=0.45;f10=0;f11=4.3;f12=3.9"
2015-05-26 15:39:41 +02:00
Tanguy Pruvot
b165cc32e6
v1.6.4
2015-05-26 12:29:03 +02:00
Tanguy Pruvot
2d5755d1ef
linux: add missing scrypt jansson includes
2015-05-26 10:56:23 +02:00
Tanguy Pruvot
90c26c8418
multipool: prevent last longpoll http errors on switch
2015-05-26 10:13:57 +02:00
Tanguy Pruvot
692041aa74
multipool: allow failover switch from getwork
2015-05-26 09:51:46 +02:00
Tanguy Pruvot
0618c2abc3
fix for vstudio
2015-05-26 09:51:46 +02:00
Tanguy Pruvot
b2b76f8006
stratum: check stratum_gen_work result
...
and remove useless purge test...
2015-05-25 07:43:39 +02:00