Commit 34ae6e6c authored by Ondrej Mosnáček's avatar Ondrej Mosnáček

[OpenCL] Fix whitespace

parent c2675221
Pipeline #11732229 passed with stage
in 2 minutes and 12 seconds
...@@ -417,17 +417,19 @@ __kernel void argon2_precompute_kernel( ...@@ -417,17 +417,19 @@ __kernel void argon2_precompute_kernel(
uint block = block_id % segment_addr_blocks; uint block = block_id % segment_addr_blocks;
uint segment = block_id / segment_addr_blocks; uint segment = block_id / segment_addr_blocks;
uint slice, pass, pass_id, lane; uint slice, pass, lane;
#if ARGON2_TYPE == ARGON2_ID #if ARGON2_TYPE == ARGON2_ID
slice = segment % (ARGON2_SYNC_POINTS / 2); slice = segment % (ARGON2_SYNC_POINTS / 2);
lane = segment / (ARGON2_SYNC_POINTS / 2); lane = segment / (ARGON2_SYNC_POINTS / 2);
pass_id = pass = 0; pass = 0;
#else #else
slice = segment % ARGON2_SYNC_POINTS; uint pass_id;
pass_id = segment / ARGON2_SYNC_POINTS;
pass = pass_id % passes; slice = segment % ARGON2_SYNC_POINTS;
lane = pass_id / passes; pass_id = segment / ARGON2_SYNC_POINTS;
pass = pass_id % passes;
lane = pass_id / passes;
#endif #endif
struct block_th addr, tmp; struct block_th addr, tmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment