Tanguy Pruvot
d195f2e8a2
intensity: do not reduce throughput before init
...
Else the memory allocated could be less than required later
btw, use the new "cuda" function to apply intensity/throughput
9 years ago
Tanguy Pruvot
922c2a5cd7
algos: free allocated mem for algo switch
...
All can be freed propertly now, except script (reset) and lyra2 (leak)
9 years ago
Tanguy Pruvot
ee93927fac
diff: use the new function in all algos
9 years ago
Tanguy Pruvot
e1c4b3042c
algos: add functions to free allocated resources
...
Will be used later for algo switching
not really tested yet...
9 years ago
Tanguy Pruvot
4babf37256
Add --show-diff parameter and fix pool net diff
...
which display submitted block and net difficulty and is able
to detect shares above net diff (solved blocs)
Note: only made on lyra2v2 and zr5 algos
TODO: compute the found diff on all algos...
require changes in all scan hash "kernel" function parameters
to be continued...
9 years ago
Tanguy Pruvot
79ee0ec264
zr5: some pok cleanup...
...
rename the var and only show warnings with --debug
10 years ago
Tanguy Pruvot
268c89f9a2
zr5: fix launch bounds with pok xor
10 years ago
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>
10 years ago
Tanguy Pruvot
d2ced77ae8
zr5: disable reset on validation errors
...
cudaResetDevice() do a segfault, to check later...
10 years ago
Tanguy Pruvot
1ad34dc13d
reset: take care of multi-threaded gpus (-d 0,0)
...
to be tested... could create problems when reset in a chain like x11...
10 years ago
Tanguy Pruvot
0fceca6ffe
zr5: reinit the card correctly on errors
...
previous method was doing a segfault...
10 years ago
Tanguy Pruvot
dcdafd8732
zr5: enhance pok hash system
...
And store some vars on the device to reduce proc params
10 years ago
Tanguy Pruvot
7c25f6dc0a
zr5: disable some of the stratum stale work checks
10 years ago
Tanguy Pruvot
a37e909db9
Add zr5 algo (for SM 3.5+)
...
uint4 copy + keccak cleanup, groestl: small uint4 opt
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago