Skip to content

Commit

Permalink
Fix a sentinel bug in test
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed May 6, 2022
1 parent 02e861e commit 7b841a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/static_map/duplicate_keys_test.cu
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ TEMPLATE_TEST_CASE_SIG("Duplicate keys",
(int64_t, int64_t))
{
constexpr std::size_t num_keys{500'000};
cuco::static_map<Key, Value> map{num_keys * 2, -1, -1};
cuco::static_map<Key, Value> map{
num_keys * 2, cuco::sentinel::empty_key<Key>{-1}, cuco::sentinel::empty_value<Value>{-1}};

auto m_view = map.get_device_mutable_view();
auto view = map.get_device_view();
Expand Down

0 comments on commit 7b841a8

Please sign in to comment.