Skip to content

Commit b8429d4

Browse files
authored
Doc update for cuco::arrow_filter_policy (#646)
This PR updates docstring for `cuco::arrow_filter_policy` reflecting the recent change allowing taking in a custom `xxhash_64` hasher along with a couple other minor changes
1 parent 1bb0ae6 commit b8429d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/cuco/detail/bloom_filter/arrow_filter_policy.cuh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ namespace cuco::detail {
4040
* void bulk_insert_and_eval_arrow_policy_bloom_filter(device_vector<KeyType> const& positive_keys,
4141
* device_vector<KeyType> const& negative_keys)
4242
* {
43-
* using policy_type = cuco::arrow_filter_policy<key_type>;
43+
* using xxhash_64 = cuco::xxhash_64<KeyType>;
44+
* using policy_type = cuco::arrow_filter_policy<KeyType, xxhash_64>;
4445
*
4546
* // Warn or throw if the number of filter blocks is greater than maximum used by Arrow policy.
4647
* static_assert(NUM_FILTER_BLOCKS <= policy_type::max_filter_blocks, "NUM_FILTER_BLOCKS must be
4748
* in range: [1, 4194304]");
4849
*
4950
* // Create a bloom filter with Arrow policy
50-
* cuco::bloom_filter<key_type, cuco::extent<size_t>,
51+
* cuco::bloom_filter<KeyType, cuco::extent<size_t>,
5152
* cuda::thread_scope_device, policy_type> filter{NUM_FILTER_BLOCKS};
5253
*
5354
* // Add positive keys to the bloom filter

0 commit comments

Comments
 (0)