1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-09 06:18:07 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
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
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.
2015-10-10 02:15:32 +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
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
87a521ac14 some clean up 2015-05-18 05:41:54 +02:00
Tanguy Pruvot
b1bddb54d6 scrypt: reduce cpu usage (flush/sync)
and do some minimal keccak changes (for jane)
2015-05-18 00:11:48 +02:00
Tanguy Pruvot
3d3f2e2cb5 warnings: use the right device id (device_map[thr_id]) 2015-04-23 09:41:56 +02:00
Tanguy Pruvot
22c28ccbef scrypt: strip keccak/blake 256 remains 2015-04-21 17:43:25 +02:00
Tanguy Pruvot
e74d5884b4 scrypt: final cleanup for 1.6.2 release 2015-04-21 16:56:22 +02:00
Tanguy Pruvot
a6d88abbc9 scrypt: finish scrypt-jane algo import 2015-04-21 13:20:35 +02:00
Tanguy Pruvot
9dc78da2ee import and adapt scrypt from cudaminer project
scrypt-jane under work...
2015-04-18 18:24:55 +02:00