Browse Source

lyra2: fix compilation on japanese windows (#38)

Remove comment that prevent compilation on japanese windows (#38)
pull/2/head
Guillaume George 6 years ago committed by Tanguy Pruvot
parent
commit
30db7d2433
  1. 2
      lyra2/cuda_lyra2.cu
  2. 2
      lyra2/cuda_lyra2Z.cu

2
lyra2/cuda_lyra2.cu

@ -555,10 +555,8 @@ void lyra2_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce, uint6 @@ -555,10 +555,8 @@ void lyra2_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce, uint6
size_t shared_mem = 0;
if (gtx750ti)
// 8Warpに調整のため、8192バイト確保する
shared_mem = 8192;
else
// 10Warpに調整のため、6144バイト確保する
shared_mem = 6144;
lyra2_gpu_hash_32_1_sm5 <<< grid2, block2 >>> (threads, startNounce, (uint2*)d_hash);

2
lyra2/cuda_lyra2Z.cu

@ -950,10 +950,8 @@ uint32_t lyra2Z_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce, @@ -950,10 +950,8 @@ uint32_t lyra2Z_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce,
size_t shared_mem = 0;
if (gtx750ti)
// 8Warpに調整のため、8192バイト確保する
shared_mem = 8192;
else
// 10Warpに調整のため、6144バイト確保する
shared_mem = 6144;
lyra2Z_gpu_hash_32_1_sm5 <<< grid2, block2 >>> (threads, startNounce, (uint2*)d_hash);

Loading…
Cancel
Save