Comments (5)
Wouldn't you rather use the provided
CALL_CONVENTION int run_solver(SolverCtx* ctx,
char* header,
int header_length,
u32 nonce,
u32 range,
SolverSolutions *solutions,
SolverStats *stats
)
// Solver statistics, to be instantiated by caller
// and filled by solver if desired
struct SolverStats {
u32 device_id = 0;
u32 edge_bits = 0;
char plugin_name[MAX_NAME_LEN]; // will be filled in caller-side
char device_name[MAX_NAME_LEN];
bool has_errored = false;
char error_reason[MAX_NAME_LEN];
u32 iterations = 0;
u64 last_start_time = 0;
u64 last_end_time = 0;
u64 last_solution_time = 0;
};
API for that?
from cuckoo.
πYes, yes I would. Thanks for the tip!
from cuckoo.
What is the suggested way to call that function? It's defined in mean.cu
, along with main
, but I'd like to call it from a separate binary with a different main function.
from cuckoo.
from cuckoo.
Gotcha, that makes sense. Thanks!
from cuckoo.
Related Issues (20)
- Assertion size <= BUCKETSIZE failed on Cuckarood HOT 2
- is memory hard PoW possible? HOT 19
- Uitbetaling
- mean32 solver HOT 9
- mean31 verifytest HOT 2
- download yara HOT 2
- Read your aeternity.com postings about ASIC, but could not message you there. HOT 2
- Just asking for help
- Some questions about solution finding rates HOT 1
- core dump on linux when nthreads more than 1 HOT 1
- cuda19 HOT 1
- a typo in cuckaroo/mean.hpp? HOT 1
- What's the meaning of pathcount[] in `cyclebase.hpp`? HOT 2
- Seems a typo in cuckoo/lean.hpp? HOT 1
- Any more information about `src/cuckoo/mean.hpp`? HOT 7
- Are cuckroo and cucktoo using the same find cycles' algorithm? HOT 3
- Cuckaroo simple.cpp is not compiling with SHOW defined HOT 2
- build failing on ARM arch HOT 2
- atomicAdd problem HOT 9
- cuckaroo/mean.cu: small variance in edge indexes count after Round(0) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuckoo.