mirror of
https://github.com/GOSTSec/ccminer
synced 2025-03-13 05:51:19 +00:00
call streebog_cpu_hash_64
This commit is contained in:
parent
aa4dcdf58d
commit
b6a901bff7
@ -32,6 +32,8 @@ extern "C" void gosthash(void *output, const void *input)
|
||||
memcpy(output, hash, 32);
|
||||
}
|
||||
|
||||
extern void streebog_cpu_hash_64(int thr_id, uint32_t threads, uint32_t *d_hash);
|
||||
|
||||
//#define _DEBUG
|
||||
#define _DEBUG_PREFIX "sib"
|
||||
#include "cuda_debug.cuh"
|
||||
@ -78,8 +80,8 @@ extern "C" int scanhash_gost(int thr_id, struct work* work, uint32_t max_nonce,
|
||||
int order = 0;
|
||||
|
||||
// Hash with CUDA
|
||||
//streebog_cpu_hash_64(thr_id, throughput, d_hash[thr_id]);
|
||||
//TRACE("gost :");
|
||||
streebog_cpu_hash_64(thr_id, throughput, d_hash[thr_id]);
|
||||
TRACE("gost :");
|
||||
|
||||
work->nonces[0] = cuda_check_hash(thr_id, throughput, pdata[19], d_hash[thr_id]);
|
||||
if (work->nonces[0] != UINT32_MAX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user