Skip to content

Commit

Permalink
Remove bitvector template parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
amukkara committed Aug 29, 2023
1 parent a1915c7 commit 7921760
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/cuco/trie.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class trie {
std::vector<level> levels_; ///< Host-side array of levels
level* d_levels_ptr_; ///< Device-side array of levels

using bv_read_ref = bit_vector_ref<bit_vector<>::device_storage_ref, bv_read_tag>; ///< Read ref
using bv_read_ref = bit_vector_ref<bit_vector::device_storage_ref, bv_read_tag>; ///< Read ref
thrust::device_vector<bv_read_ref> d_louds_refs_; ///< refs to per-level louds bitvectors
thrust::device_vector<bv_read_ref> d_outs_refs_; ///< refs to per-level outs bitvectors

Expand All @@ -123,8 +123,8 @@ class trie {
level();
level(level&&) = default; ///< Move constructor

bit_vector<> louds_; ///< Indicates links to next and previous level
bit_vector<> outs_; ///< Indicates terminal nodes of valid keys
bit_vector louds_; ///< Indicates links to next and previous level
bit_vector outs_; ///< Indicates terminal nodes of valid keys

std::vector<label_type> labels_; ///< Stores individual characters of keys
thrust::device_vector<label_type> d_labels_; ///< Device-side copy of `labels`
Expand Down

0 comments on commit 7921760

Please sign in to comment.