Browse Source

set mimax for gost

2upstream
orignal 7 years ago
parent
commit
bc098e2471
  1. 1
      ccminer.cpp
  2. 2
      gost/gost.cu

1
ccminer.cpp

@ -2111,6 +2111,7 @@ static void *miner_thread(void *userdata) @@ -2111,6 +2111,7 @@ static void *miner_thread(void *userdata)
case ALGO_DECRED:
case ALGO_SHA256D:
case ALGO_SHA256T:
case ALGO_GOST:
//case ALGO_WHIRLPOOLX:
minmax = 0x40000000U;
break;

2
gost/gost.cu

@ -36,7 +36,7 @@ extern void gost_hash_64(int thr_id, uint32_t threads, uint32_t *d_hash); @@ -36,7 +36,7 @@ extern void gost_hash_64(int thr_id, uint32_t threads, uint32_t *d_hash);
extern void gost_hash_32(int thr_id, uint32_t threads, uint32_t *d_hash);
//#define _DEBUG
#define _DEBUG_PREFIX "sib"
#define _DEBUG_PREFIX "gost"
#include "cuda_debug.cuh"
static bool init[MAX_GPUS] = { 0 };

Loading…
Cancel
Save