From 2b1175d040af5849a5222cad46dcfb26b02328bc Mon Sep 17 00:00:00 2001 From: Daniel Juenger <2955913+sleeepyjack@users.noreply.github.com> Date: Fri, 10 Nov 2023 01:07:19 +0000 Subject: [PATCH] Update test --- tests/static_map/insert_and_find_test.cu | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/static_map/insert_and_find_test.cu b/tests/static_map/insert_and_find_test.cu index d1d5afc9b..8e6cddfdc 100644 --- a/tests/static_map/insert_and_find_test.cu +++ b/tests/static_map/insert_and_find_test.cu @@ -37,7 +37,6 @@ __global__ void parallel_sum(Ref v) #endif { auto [iter, inserted] = v.insert_and_find(cuco::pair{i, 1}); - if (inserted) { printf("key: %d payload:%d \n", int(iter->first), int(iter->second)); } // for debugging... // if (iter->second < 0) { // asm("trap;"); @@ -73,7 +72,7 @@ TEMPLATE_TEST_CASE_SIG("Parallel insert-or-update", thrust::equal_to{}, cuco::experimental::linear_probing<1, cuco::murmurhash3_32>{}}; - static constexpr int Blocks = 64; + static constexpr int Blocks = 1024; static constexpr int Threads = 128; parallel_sum<<>>( @@ -86,10 +85,6 @@ TEMPLATE_TEST_CASE_SIG("Parallel insert-or-update", thrust::sequence(thrust::device, d_keys.begin(), d_keys.end()); m.find(d_keys.begin(), d_keys.end(), d_values.begin()); - for (auto const t : d_values) { - printf("### %d\n", int(t)); - } - REQUIRE(cuco::test::all_of( d_values.begin(), d_values.end(), [] __device__(Value v) { return v == Blocks * Threads; })); }