{
const u32 final_hash_pos = digests_offset + 0;
- if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
+ if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
{
- mark_hash (plains_buf, hashes_shown, final_hash_pos, gid, il_pos);
-
- d_return_buf[lid] = 1;
+ mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos);
}
}