1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-08 22:07:56 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
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)
2015-10-16 22:04:30 +02:00
Tanguy Pruvot
9dfa757dc7 warn on cuda errors + various small changes
The full benchmark can now be launched with "ccminer --benchmark"

add a new helper function which log a warning with last cuda error
(not shown with the quiet option) : CUDA_LOG_ERROR();
it can be used where miner.h is included (.c/.cpp/.cu)

fix x14 (in ccminer.cpp), a break was missing in switch..case
2015-10-12 08:46:13 +02:00
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
2015-10-11 05:01:41 +02:00
Tanguy Pruvot
4e1e03b891 benchmark: store all algos results + cuda fixes
Note: lyra2, lyra2v2 and script seems to have problems
to coexist with other algos... to run after some of them...

moved lyra2 first and skip scrypt/jane for the moment...

Only stored in memory for now.. to display a table after the bench

ccminer -a auto --benchmark

Results may be exported later to a json file...
2015-10-09 02:07:08 +02:00
Tanguy Pruvot
922c2a5cd7 algos: free allocated mem for algo switch
All can be freed propertly now, except script (reset) and lyra2 (leak)
2015-10-08 21:35:30 +02:00
Tanguy Pruvot
ee93927fac diff: use the new function in all algos 2015-10-07 20:10:15 +02:00
Tanguy Pruvot
e1c4b3042c algos: add functions to free allocated resources
Will be used later for algo switching

not really tested yet...
2015-09-25 07:51:57 +02:00
Tanguy Pruvot
5308898d1c start v1.7, apply new prototypes to all algos 2015-09-23 15:42:17 +02:00
Tanguy Pruvot
954dbf2388 neoscrypt: last vstudio bool warnings fix 2015-05-09 20:59:28 +02:00
Tanguy Pruvot
c722fafe49 neoscrypt: reduce gpu reg count with sp precalc
also prevent bool in cuda prototype, linkage mismatch in vstudio... sigh
2015-05-09 20:45:32 +02:00
Tanguy Pruvot
1b31f11252 neoscrypt: cleanup...
My SM 3.0 functions are ok but djm34 implementation uses too much registers
for this arch...
2015-05-09 19:42:23 +02:00
Tanguy Pruvot
7c7f40a634 neoscrypt: attempt to recode shift256R for SM 3.0 2015-05-08 23:42:24 +02:00
Tanguy Pruvot
6bb128c055 neoscrypt: strip cuda_vectors.h useless functions
fix build break for SM 3.0 (but neoscrypt is not yet compatible)
2015-05-08 21:02:40 +02:00
Tanguy Pruvot
73af5c583c neoscrypt: fixes for windows 2015-05-05 16:15:53 +02:00
Tanguy Pruvot
464c45034a neoscrypt: more code lifting... 2015-05-04 15:36:28 +02:00
Tanguy Pruvot
15584e4f05 neoscrypt: adapt for visual studio compat
todo: fix SM 3.0 builds
2015-05-03 15:53:02 +02:00
Tanguy Pruvot
65c1d787e7 add neoscrypt based on djm34 work
indent, link --intensity, and some clean up

Tested speed on linux ~= 160kH/s on a 750Ti (Black Edition)

To be continued...
2015-05-03 14:38:15 +02:00