|
16 | 16 |
|
17 | 17 | #include <test_utils.hpp> |
18 | 18 |
|
| 19 | +#include <cuco/detail/__config> |
19 | 20 | #include <cuco/static_map.cuh> |
20 | 21 | #include <cuco/utility/reduction_functors.cuh> |
21 | 22 |
|
@@ -160,7 +161,15 @@ TEMPLATE_TEST_CASE_SIG( |
160 | 161 | (int64_t, int32_t, cuco::test::probe_sequence::linear_probing, 1), |
161 | 162 | (int64_t, int64_t, cuco::test::probe_sequence::linear_probing, 1), |
162 | 163 | (int64_t, int32_t, cuco::test::probe_sequence::linear_probing, 2), |
163 | | - (int64_t, int64_t, cuco::test::probe_sequence::linear_probing, 2)) |
| 164 | + (int64_t, int64_t, cuco::test::probe_sequence::linear_probing, 2) |
| 165 | +#if defined(CUCO_HAS_128BIT_ATOMICS) |
| 166 | + , |
| 167 | + (__int128_t, __int128_t, cuco::test::probe_sequence::double_hashing, 1), |
| 168 | + (__int128_t, __int128_t, cuco::test::probe_sequence::double_hashing, 2), |
| 169 | + (__int128_t, __int128_t, cuco::test::probe_sequence::linear_probing, 1), |
| 170 | + (__int128_t, __int128_t, cuco::test::probe_sequence::linear_probing, 2) |
| 171 | +#endif |
| 172 | +) |
164 | 173 | { |
165 | 174 | constexpr size_type num_keys{10'000}; |
166 | 175 | constexpr size_type num_unique_keys{100}; |
@@ -201,8 +210,16 @@ TEMPLATE_TEST_CASE_SIG( |
201 | 210 | } |
202 | 211 | } |
203 | 212 |
|
204 | | -TEMPLATE_TEST_CASE_SIG( |
205 | | - "static_map insert_or_apply all unique keys tests", "", ((typename Key)), (int32_t), (int64_t)) |
| 213 | +TEMPLATE_TEST_CASE_SIG("static_map insert_or_apply all unique keys tests", |
| 214 | + "", |
| 215 | + ((typename Key)), |
| 216 | + (int32_t), |
| 217 | + (int64_t) |
| 218 | +#if defined(CUCO_HAS_128BIT_ATOMICS) |
| 219 | + , |
| 220 | + (__int128_t) |
| 221 | +#endif |
| 222 | +) |
206 | 223 | { |
207 | 224 | using Value = Key; |
208 | 225 |
|
|
0 commit comments