1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-31 08:54:19 +00:00

Use macros in queue_talkcoin_mod_kernel

This commit is contained in:
Elbandi 2014-06-21 23:35:48 +02:00
parent d7d387a214
commit 2925ea0f65

View File

@ -292,20 +292,14 @@ static cl_int queue_talkcoin_mod_kernel(struct __clState *clState, struct _dev_b
CL_SET_ARG(clState->padbuffer8); CL_SET_ARG(clState->padbuffer8);
// groestl - search1 // groestl - search1
kernel = clState->extra_kernels; kernel = clState->extra_kernels;
num = 0; CL_SET_ARG_0(clState->padbuffer8);
CL_SET_ARG(clState->padbuffer8);
// jh - search2 // jh - search2
kernel++; CL_NEXTKERNEL_SET_ARG_0(clState->padbuffer8);
num = 0;
CL_SET_ARG(clState->padbuffer8);
// keccak - search3 // keccak - search3
kernel++; CL_NEXTKERNEL_SET_ARG_0(clState->padbuffer8);
num = 0;
CL_SET_ARG(clState->padbuffer8);
// skein - search4 // skein - search4
kernel++;
num = 0; num = 0;
CL_SET_ARG(clState->padbuffer8); CL_NEXTKERNEL_SET_ARG(clState->padbuffer8);
CL_SET_ARG(clState->outputBuffer); CL_SET_ARG(clState->outputBuffer);
CL_SET_ARG(le_target); CL_SET_ARG(le_target);