Tanguy Pruvot
355b835ae0
benchmark: enhance the mem leak detection
...
reduce "false" warnings, and ignore unrelated/small ones <= 1 MB
On windows the gpu memory can be allocated by other processes
+ some cleanup in algos... (free/gpulog)
9 years ago
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
c6dcc5e5cf
benchmark: show mem and default throughput in results
...
and prepare a new function to get the default intensity
also, take care of multiple threads per gpu...
9 years ago
Tanguy Pruvot
c2214091ae
benchmark: free last memory leaks on algo switch
...
remains my original lyra2 implementation to fix... (cuda_lyra2.cu)
I guess some kind of memory overflow force the driver to allocate
memory... but was unable to free it without device reset.
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
2ee86e8f47
skein: fix share ratio / diff
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
5308898d1c
start v1.7, apply new prototypes to all algos
9 years ago
Tanguy Pruvot
fcd3e4336b
skein: restore secNonce support on sm 5+
...
Add a sanity check in common checkhash function to prevent the problem again...
10 years ago
Tanguy Pruvot
cf077902d0
skein: fix sm5 secNonce and disable it on wallets
10 years ago
Tanguy Pruvot
555504bd98
some changes related to wait stats
10 years ago
Tanguy Pruvot
4c3892f268
Merged skeincoin algo for SM5+ devices
...
Should give same or better than SP and klaus versions
Keep old code for older devices and skein2 compat
Linux perf: 750Ti 78MH/s and GTX 970 260MH/s
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
afe57f8341
rename skein2 to c++, no cuda kernel code
...
and some other changes...
10 years ago
Tanguy Pruvot
3d3f2e2cb5
warnings: use the right device id (device_map[thr_id])
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
163430daae
Skein/Skein2 SM 3.0 devices support
...
+ code cleanup
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago
Tanguy Pruvot
d58d53f2b2
update README, small changes, prepare release 1.6.1
...
still need a SM 3.0 fix for skein...
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
37395eefe4
skein: restore previous x11 speed
10 years ago
Tanguy Pruvot
f86784ee56
Add skein algo (Skeincoin, Myriad, Unat...)
...
SKEIN512 + SHA256
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
10 years ago