|
@@ -1155,6 +1155,7 @@ extern enum test_nonce2_result _test_nonce2(struct work *, uint32_t nonce, bool
|
|
|
#define test_nonce(work, nonce, checktarget) (_test_nonce2(work, nonce, checktarget) == TNR_GOOD)
|
|
#define test_nonce(work, nonce, checktarget) (_test_nonce2(work, nonce, checktarget) == TNR_GOOD)
|
|
|
#define test_nonce2(work, nonce) (_test_nonce2(work, nonce, true))
|
|
#define test_nonce2(work, nonce) (_test_nonce2(work, nonce, true))
|
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
extern void submit_nonce(struct thr_info *thr, struct work *work, uint32_t nonce);
|
|
|
|
|
+extern struct work *get_queued(struct cgpu_info *cgpu);
|
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
extern void work_completed(struct cgpu_info *cgpu, struct work *work);
|
|
|
extern bool abandon_work(struct work *, struct timeval *work_runtime, uint64_t hashes);
|
|
extern bool abandon_work(struct work *, struct timeval *work_runtime, uint64_t hashes);
|
|
|
extern void hash_queued_work(struct thr_info *mythr);
|
|
extern void hash_queued_work(struct thr_info *mythr);
|