1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-08 22:08:02 +00:00

gostcoin-mod added

This commit is contained in:
orignal 2017-06-20 10:56:57 -04:00
parent 916eb21aa3
commit 49bedfeafe
2 changed files with 11 additions and 3 deletions

View File

@ -505,9 +505,7 @@ static cl_int queue_gostcoin_mod_kernel(struct __clState *clState, struct _dev_b
flip80(clState->cldata, blk->work->data); flip80(clState->cldata, blk->work->data);
status = clEnqueueWriteBuffer(clState->commandQueue, clState->CLbuffer0, true, 0, 80, clState->cldata, 0, NULL, NULL); status = clEnqueueWriteBuffer(clState->commandQueue, clState->CLbuffer0, true, 0, 80, clState->cldata, 0, NULL, NULL);
// TODO: CL_SET_ARG(clState->CLbuffer0);
num = 0;
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);
@ -1331,6 +1329,7 @@ static const char *lookup_algorithm_alias(const char *lookup_alias, uint8_t *nfa
ALGO_ALIAS("lyra2v2", "lyra2rev2"); ALGO_ALIAS("lyra2v2", "lyra2rev2");
ALGO_ALIAS("blakecoin", "blake256r8"); ALGO_ALIAS("blakecoin", "blake256r8");
ALGO_ALIAS("blake", "blake256r14"); ALGO_ALIAS("blake", "blake256r14");
ALGO_ALIAS("gostd", "gostcoin-mod");
#undef ALGO_ALIAS #undef ALGO_ALIAS
#undef ALGO_ALIAS_NF #undef ALGO_ALIAS_NF

9
kernel/gostcoin-mod.cl Normal file
View File

@ -0,0 +1,9 @@
#ifndef SIBCOIN_MOD_CL
#define SIBCOIN_MOD_CL
__attribute__((reqd_work_group_size(WORKSIZE, 1, 1)))
__kernel void search(__global const uint2*restrict in, __global uint*restrict output)
{
}
#endif