mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Minor fixes.
This commit is contained in:
parent
6c6bb02b90
commit
e1d01d0635
@ -665,6 +665,7 @@ err_out:
|
|||||||
workio_cmd_free(wc);
|
workio_cmd_free(wc);
|
||||||
out:
|
out:
|
||||||
free(sd);
|
free(sd);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool submit_work_async(struct thr_info *thr, const struct work *work_in)
|
static bool submit_work_async(struct thr_info *thr, const struct work *work_in)
|
||||||
@ -888,6 +889,7 @@ static void *gpuminer_thread(void *userdata)
|
|||||||
uint32_t res[128], blank_res[128];
|
uint32_t res[128], blank_res[128];
|
||||||
cl_kernel *kernel;
|
cl_kernel *kernel;
|
||||||
|
|
||||||
|
memset(res, 0, BUFFERSIZE);
|
||||||
memset(blank_res, 0, BUFFERSIZE);
|
memset(blank_res, 0, BUFFERSIZE);
|
||||||
|
|
||||||
size_t globalThreads[1];
|
size_t globalThreads[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user