Skip to content

Commit

Permalink
Restore comments removed in tpruvot#38, translate them into English
Browse files Browse the repository at this point in the history
The original line says "allocate XXXX bytes to adjust for X Warp."
Remove the number from comment since they are trivial
  • Loading branch information
hakemimi committed Jan 10, 2018
1 parent b96b13a commit cfd8b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lyra2/cuda_lyra2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,10 @@ void lyra2_cpu_hash_32(int thr_id, uint32_t threads, uint32_t startNounce, uint6
size_t shared_mem = 0;

if (gtx750ti)
// 8Warpに調整のため、8192バイト確保する
// suitable amount to adjust for 8warp
shared_mem = 8192;
else
// 10Warpに調整のため、6144バイト確保する
// suitable amount to adjust for 10warp
shared_mem = 6144;

lyra2_gpu_hash_32_1_sm5 <<< grid2, block2 >>> (threads, startNounce, (uint2*)d_hash);
Expand Down

0 comments on commit cfd8b03

Please sign in to comment.