diff --git a/benchmarks/bloom_filter/bloom_filter_bench.cu b/benchmarks/bloom_filter/bloom_filter_bench.cu index e0cf23344..af59ae777 100644 --- a/benchmarks/bloom_filter/bloom_filter_bench.cu +++ b/benchmarks/bloom_filter/bloom_filter_bench.cu @@ -147,8 +147,8 @@ struct BlockWords { NVBENCH_BENCH_TYPES(bloom_filter_add, NVBENCH_TYPE_AXES(defaults::KEY_TYPE_RANGE, nvbench::type_list>, - nvbench::type_list>, - nvbench::type_list, + nvbench::type_list>, + nvbench::type_list, nvbench::type_list)) .set_name("bloom_filter_add_unique_size") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) @@ -160,8 +160,8 @@ NVBENCH_BENCH_TYPES(bloom_filter_add, NVBENCH_BENCH_TYPES(bloom_filter_add, NVBENCH_TYPE_AXES(defaults::KEY_TYPE_RANGE, defaults::HASH_RANGE, - nvbench::type_list>, - nvbench::type_list, + nvbench::type_list>, + nvbench::type_list, nvbench::type_list)) .set_name("bloom_filter_add_unique_hash") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) @@ -177,7 +177,7 @@ NVBENCH_BENCH_TYPES( nvbench::type_list, BlockWords<2>, BlockWords<4>, BlockWords<8>>, nvbench::type_list, nvbench::type_list)) - .set_name("bloom_filter_add_unique_block_words") + .set_name("bloom_filter_add_unique_block_dim") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) .set_max_noise(defaults::MAX_NOISE) .add_int64_axis("NumInputs", {defaults::N}) @@ -187,8 +187,8 @@ NVBENCH_BENCH_TYPES( NVBENCH_BENCH_TYPES(bloom_filter_test, NVBENCH_TYPE_AXES(defaults::KEY_TYPE_RANGE, nvbench::type_list>, - nvbench::type_list>, - nvbench::type_list, + nvbench::type_list>, + nvbench::type_list, nvbench::type_list)) .set_name("bloom_filter_test_unique_size") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) @@ -200,8 +200,8 @@ NVBENCH_BENCH_TYPES(bloom_filter_test, NVBENCH_BENCH_TYPES(bloom_filter_test, NVBENCH_TYPE_AXES(defaults::KEY_TYPE_RANGE, defaults::HASH_RANGE, - nvbench::type_list>, - nvbench::type_list, + nvbench::type_list>, + nvbench::type_list, nvbench::type_list)) .set_name("bloom_filter_test_unique_hash") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) @@ -217,7 +217,7 @@ NVBENCH_BENCH_TYPES( nvbench::type_list, BlockWords<2>, BlockWords<4>, BlockWords<8>>, nvbench::type_list, nvbench::type_list)) - .set_name("bloom_filter_test_unique_block_words") + .set_name("bloom_filter_test_unique_block_dim") .set_type_axes_names({"Key", "Hash", "BlockWords", "Word", "Distribution"}) .set_max_noise(defaults::MAX_NOISE) .add_int64_axis("NumInputs", {defaults::N}) diff --git a/include/cuco/bloom_filter.cuh b/include/cuco/bloom_filter.cuh index 182eb9539..34145ea0b 100644 --- a/include/cuco/bloom_filter.cuh +++ b/include/cuco/bloom_filter.cuh @@ -37,8 +37,8 @@ template , class Allocator = cuco::cuda_allocator, - std::uint32_t BlockWords = 8, - class Word = std::uint32_t> + std::uint32_t BlockWords = 4, + class Word = std::uint64_t> class bloom_filter { public: template