Tanguy Pruvot
64cfe358cb
stats: make them work also in vstudio
10 years ago
Tanguy Pruvot
ec709af62f
Store and display average hashrate (benchmark + on share)
...
Displayed data is the average of the last 50 scans in the 5 last minutes
Also move cuda common functions in a new file (cuda.cu)
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
8259ed7f29
heavy fix for linux
10 years ago
Tanguy Pruvot
7a4e1bb327
Reduce keccak, deep & anime intensity + handle groestl -i param
...
default intensity was the max supported by the card, and perf is
not really better. I prefer to let it one under for cards with lower
memory (1GB)
10 years ago
Tanguy Pruvot
98451267d8
vstudio: std::min fix
10 years ago
Tanguy Pruvot
7acf987aba
Add intensity to last algos and fix quark speed
10 years ago
Tanguy Pruvot
a35b150b7f
fix for jackpot hash
...
max nounce was too low (bad cpu miner copy/paste i guess)
hash speed was not right also... (was divided per 2)
10 years ago
Tanguy Pruvot
2ab1e3700f
update readme
10 years ago
Tanguy Pruvot
11c5ec810d
Handle intensity param in all algos
...
and add a check related to start/max nounce params
10 years ago
Tanguy Pruvot
9f62014690
Add intensity parameter (-i 0:31)
...
Like cgminer, the value equals to 1 << n
if 0, we keep the default value defined in algo (19 for Xn algos)
19 = 524288 threads per gpu call
GTX 970 and 980 handle a higher number of threads compared to the 750 Ti
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
987edf63f3
vstudio: fix launch_bounds intellisense warnings in ide
10 years ago
Tanguy Pruvot
8046284843
align: missed one aligned free of struct work (solo)
10 years ago
Tanguy Pruvot
149143d5cd
Fix left value warning in SWAPDWORDS + groestl change
10 years ago
Tanguy Pruvot
a747e4ca0f
blake512: use a new SWAPDWORDS asm func (0.05ms)
...
small improvement, do it on pentablake and heavy variants too
based on sp commit (but SWAP32 is already used for 32bit ints)
10 years ago
Tanguy Pruvot
2d98d127f8
groestl: enhance sp andmask optimisation
...
profile of quark_groestl512_gpu_hash_64_quad()
before: 35.692ms
sp : 35.151ms
new: 35.061ms
10 years ago
Tanguy Pruvot
e7beac6b1c
x11: tiny sp_ opt on jh512 (0.05ms)
...
modified a bit.. (and removed the mixed dos end of lines ^M)
also, remove the max reg count, now determined with __launch_bounds__
10 years ago
Tanguy Pruvot
4c3964539f
Fix vc debug builds, missing symbols
10 years ago
sp-hash
5be6811dcf
x11: echo and cubehash optimization
...
echo : 40.056ms -> 39.241ms
cube : 14.490ms -> 13.511ms
cube hash change look like useless (__device__ code in generally inlined)
but the reality proves that cuda documentation is wrong...
tpruvot: fixed dos lines ending in echo,
and used my style for cuda function attributes
10 years ago
Tanguy Pruvot
12fafd5687
Try to reconnect on pool duplicates
...
reduce log announces and define uchar in miner.h
10 years ago
Tanguy Pruvot
5e8ff5226b
update curl prebuilt libs to a light 7.38.0
...
curl built from tpruvot/curl-for-windows project with the HTTP_ONLY define
This project doesnt require SSH, LDAP and all the internel protocols ;)
Remove 200KB to the final binaries
10 years ago
Tanguy Pruvot
187e293f71
blake: some fine tuning + cleanup
10 years ago
Tanguy Pruvot
5bc969fa57
Some work on data alignment
...
linux: add -march=native (we build it ourself) and some other flags
+ remove unused vars (seen with -Wall)
10 years ago
Tanguy Pruvot
93bb428bdf
blake: rewrite the cache system
...
Unlike other hash algos, blake256 compute the hash
with blocks of 64 bytes.
We can do the first part on the cpu, only the 4 last int32
are computed on gpu (including the tested nonce)
Previous method was also using this kind of cache with a crc.
Blake Hash Speed: +5%
10 years ago
Tanguy Pruvot
b191d713a0
s3: reduce a bit the intensity on windows
10 years ago
Tanguy Pruvot
f7849d36a1
Update README for 1.4.6
10 years ago
Tanguy Pruvot
6169bf683b
Add S3 Algo (1Coin)
...
Simple addition of the algo using existing X11 code
10 years ago
Tanguy Pruvot
93f4409dde
simd: then reindent the code
...
no changes, only error checks (cuda safe call)
10 years ago
Tanguy Pruvot
b465fe6825
optimize x11 simd512 (+100KH/s)
...
change picked from tsiv repo
10 years ago
Tanguy Pruvot
1b241df5c0
cubehash and luffa funnel shit (from klaus)
...
No gain... but i like this define, more readable in luffa ;)
10 years ago
Tanguy Pruvot
2de9b1375b
prepare next version
10 years ago
Tanguy Pruvot
7bdebdb5ff
README fixes
10 years ago
Tanguy Pruvot
db8681c1db
update readme and fix SM 3.0 build
10 years ago
Tanguy Pruvot
f737f7f0cb
Fix usage and big strings on windows (colors rel.)
...
vsnprintf doesnt return the len on windows on fail, so use _vscprintf
10 years ago
Tanguy Pruvot
1ee1462011
msvc: fix the LTCG warning
10 years ago
Tanguy Pruvot
d8a23fa970
Tune quark part of Xn funcs
...
based on klaus commits, will increase a bit speed of most algos
PS: main increase is due to the register count tuning in Makefile
and for skein512 on linux, its the ROTL64
but almost no changes on X11 : 2648MH/s vs 2630 before
10 years ago
Tanguy Pruvot
0720797f1b
Add proper keccak-256 (maxcoin)
...
Cleaned from djm34 repo, tuned for the 750 Ti
10 years ago
Tanguy Pruvot
cdc29336f7
stats: compute work difficulty from target
10 years ago
Tanguy Pruvot
9f3c6b0520
Include windows curl and openssl prebuilt libs
...
Curl 7.35 without SSH2
OpenSSL 1.0.1e
ZLib 1.2.8
built with https://github.com/peters/curl-for-windows
10 years ago
Tanguy Pruvot
4f326576d2
implement X-Mining-Hashrate header
...
remove midstate extension, seems only used in sha256/scrypt
and prepare noncerange, need a pool which supports that to finish...
10 years ago
Tanguy Pruvot
799b230af2
enhance solo mining, update http headers
...
and prepare next version...
10 years ago
Tanguy Pruvot
c0b5513316
Try some obscure cuda flags (kbomba)
...
http://devblogs.nvidia.com/parallelforall/separate-compilation-linking-cuda-device-code/
10 years ago
Tanguy Pruvot
a6fcc8fdb6
use cudart_static.lib, keep SM 5.0 by default
...
SM 5.2 works also on the 750 Ti but if we specify both at compile time,
hash speed will be reduced (the 750Ti will use 5.2 which is not optimal)
10 years ago
Tanguy Pruvot
5579b91cfb
build for both GM104 and GM204
...
For the GTX 750 and new 970/980
also fix -a luffa parameter for 1.4.4 release
10 years ago
Tanguy Pruvot
ba33492592
blake: return to ptarget 6:7 compare
...
clz can be erroneous, ex 0xE0 vs 0xF0
10 years ago
Tanguy Pruvot
91eea0d76b
blake: remove int cudaMemcpyToSymbol for MSVC
...
use clz (leading zeros) asm func for a fast gpu compare of ptarget[6]:[7]
add also missing windows ctz/clz host functions
New NEOS speed: 227MH to 270MH (Gigabyte 750Ti Black Edition)
10 years ago
Tanguy Pruvot
9efe0b965d
blake: only use high part of target on gpu
...
Add another few MH/s boost :)
10 years ago
Tanguy Pruvot
cc296a0618
stratum: check if job was read
10 years ago
Tanguy Pruvot
8925a7551f
blake: final cleanup (225MH/s)
10 years ago
Tanguy Pruvot
347d4e4928
blake: +8MH/s on linux, weird optimisation
...
Like doom/luffa, using a int pos make the proc faster
10 years ago
Tanguy Pruvot
23f0cee61f
Add cuda error checks on qubit algos
...
And rename doom to luffa, like djm34
10 years ago