Browse Source

set 128 threads per block

2upstream
orignal 7 years ago
parent
commit
4e2932c83d
  1. 2
      gost/cuda_gosthash.cu

2
gost/cuda_gosthash.cu

@ -920,7 +920,7 @@ void gostd_setBlock_80(uint32_t *pdata, uint32_t *ptarget) @@ -920,7 +920,7 @@ void gostd_setBlock_80(uint32_t *pdata, uint32_t *ptarget)
__host__
void gostd_hash_80(int thr_id, uint32_t threads, uint32_t startNonce, uint32_t *resNonces)
{
const uint32_t threadsperblock = 256;
const uint32_t threadsperblock = 128;
dim3 grid(threads/threadsperblock);
dim3 block(threadsperblock);

Loading…
Cancel
Save