mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
change in target uint type
This commit is contained in:
parent
084dbc98f6
commit
87d7abef81
@ -218,10 +218,10 @@ static cl_int queue_lyra2RE_kernel(struct __clState *clState, struct _dev_blk_ct
|
||||
cl_kernel *kernel;
|
||||
unsigned int num;
|
||||
cl_int status = 0;
|
||||
cl_uint le_target;
|
||||
cl_ulong le_target;
|
||||
|
||||
le_target = *(cl_uint *)(blk->work->device_target + 28);
|
||||
// le_target = *(cl_ulong *)(blk->work->device_target + 24);
|
||||
// le_target = *(cl_uint *)(blk->work->device_target + 28);
|
||||
le_target = *(cl_ulong *)(blk->work->device_target + 24);
|
||||
flip80(clState->cldata, blk->work->data);
|
||||
status = clEnqueueWriteBuffer(clState->commandQueue, clState->CLbuffer0, true, 0, 80, clState->cldata, 0, NULL, NULL);
|
||||
|
||||
@ -753,7 +753,7 @@ static algorithm_settings_t algos[] = {
|
||||
|
||||
{ "fresh", ALGO_FRESH, "", 1, 256, 256, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 4, 4 * 16 * 4194304, 0, fresh_regenhash, queue_fresh_kernel, gen_hash, NULL},
|
||||
|
||||
{ "Lyra2RE", ALGO_LYRA2RE, "", 1, 128, 128, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 4,2 * 8 * 4194304 , 0, lyra2re_regenhash, queue_lyra2RE_kernel, gen_hash, NULL},
|
||||
{ "Lyra2RE", ALGO_LYRA2RE, "", 1, 256, 256, 0, 0, 0xFF, 0xFFFFULL, 0x0000ffffUL, 4,2 * 8 * 4194304 , 0, lyra2re_regenhash, queue_lyra2RE_kernel, gen_hash, NULL},
|
||||
|
||||
// kernels starting from this will have difficulty calculated by using fuguecoin algorithm
|
||||
#define A_FUGUE(a, b, c) \
|
||||
|
Loading…
Reference in New Issue
Block a user