Skip to content

Commit

Permalink
lyra2: fix compilation on japanese windows (tpruvot#38)
Browse files Browse the repository at this point in the history
Remove comment that prevent compilation on japanese windows (tpruvot#38)
  • Loading branch information
LysanderGG authored and tpruvot committed Jan 9, 2018
1 parent 3761774 commit 30db7d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lyra2/cuda_lyra2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions lyra2/cuda_lyra2Z.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 30db7d2

Please sign in to comment.