1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 04:24:19 +00:00

initialize correct kernel

This commit is contained in:
orignal 2017-07-05 16:34:02 -04:00
parent 49bedfeafe
commit 071f88f625

View File

@ -496,7 +496,7 @@ static cl_int queue_sibcoin_mod_kernel(struct __clState *clState, struct _dev_bl
static cl_int queue_gostcoin_mod_kernel(struct __clState *clState, struct _dev_blk_ctx *blk, __maybe_unused cl_uint threads) static cl_int queue_gostcoin_mod_kernel(struct __clState *clState, struct _dev_blk_ctx *blk, __maybe_unused cl_uint threads)
{ {
cl_kernel *kernel; cl_kernel *kernel = &clState->kernel;
unsigned int num; unsigned int num;
cl_ulong le_target; cl_ulong le_target;
cl_int status = 0; cl_int status = 0;