1 if ((r0
.s0
== search
[0])
2 && (r1
.s0
== search
[1])
3 && (r2
.s0
== search
[2])
4 && (r3
.s0
== search
[3]))
6 const u32 final_hash_pos
= digests_offset
+ 0;
8 if ((atomic_add (&hashes_shown
[final_hash_pos
], 1) == 0) && (check_vector_accessible (il_pos
, bf_loops
, bfs_cnt
, 0) == 1))
10 mark_hash_s0_warp (plains_buf
, hashes_shown
, final_hash_pos
, gid
, il_pos
);
12 d_return_buf
[lid
] = 1;
16 if ((r0
.s1
== search
[0])
17 && (r1
.s1
== search
[1])
18 && (r2
.s1
== search
[2])
19 && (r3
.s1
== search
[3]))
21 const u32 final_hash_pos
= digests_offset
+ 0;
23 if ((atomic_add (&hashes_shown
[final_hash_pos
], 1) == 0) && (check_vector_accessible (il_pos
, bf_loops
, bfs_cnt
, 1) == 1))
25 mark_hash_s1_warp (plains_buf
, hashes_shown
, final_hash_pos
, gid
, il_pos
);
27 d_return_buf
[lid
] = 1;
31 if ((r0
.s2
== search
[0])
32 && (r1
.s2
== search
[1])
33 && (r2
.s2
== search
[2])
34 && (r3
.s2
== search
[3]))
36 const u32 final_hash_pos
= digests_offset
+ 0;
38 if ((atomic_add (&hashes_shown
[final_hash_pos
], 1) == 0) && (check_vector_accessible (il_pos
, bf_loops
, bfs_cnt
, 2) == 1))
40 mark_hash_s2_warp (plains_buf
, hashes_shown
, final_hash_pos
, gid
, il_pos
);
42 d_return_buf
[lid
] = 1;
46 if ((r0
.s3
== search
[0])
47 && (r1
.s3
== search
[1])
48 && (r2
.s3
== search
[2])
49 && (r3
.s3
== search
[3]))
51 const u32 final_hash_pos
= digests_offset
+ 0;
53 if ((atomic_add (&hashes_shown
[final_hash_pos
], 1) == 0) && (check_vector_accessible (il_pos
, bf_loops
, bfs_cnt
, 3) == 1))
55 mark_hash_s3_warp (plains_buf
, hashes_shown
, final_hash_pos
, gid
, il_pos
);
57 d_return_buf
[lid
] = 1;