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
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
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...
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
5308898d1c
start v1.7, apply new prototypes to all algos
9 years ago
Tanguy Pruvot
954dbf2388
neoscrypt: last vstudio bool warnings fix
10 years ago
Tanguy Pruvot
c722fafe49
neoscrypt: reduce gpu reg count with sp precalc
...
also prevent bool in cuda prototype, linkage mismatch in vstudio... sigh
10 years ago
Tanguy Pruvot
1b31f11252
neoscrypt: cleanup...
...
My SM 3.0 functions are ok but djm34 implementation uses too much registers
for this arch...
10 years ago
Tanguy Pruvot
7c7f40a634
neoscrypt: attempt to recode shift256R for SM 3.0
10 years ago
Tanguy Pruvot
6bb128c055
neoscrypt: strip cuda_vectors.h useless functions
...
fix build break for SM 3.0 (but neoscrypt is not yet compatible)
10 years ago
Tanguy Pruvot
73af5c583c
neoscrypt: fixes for windows
10 years ago
Tanguy Pruvot
464c45034a
neoscrypt: more code lifting...
10 years ago
Tanguy Pruvot
15584e4f05
neoscrypt: adapt for visual studio compat
...
todo: fix SM 3.0 builds
10 years ago
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...
10 years ago