|
cuDDL
|
Exact membership within the candidate's destination bucket. More...
Public Member Functions | |
| __device__ bool | contains (uint64_t key, uint64_t hash, size_t bucket) const noexcept |
hash must be hash_kmer(key); construction already holds it. | |
| __device__ __noinline__ bool | search (uint64_t key, size_t bucket) const noexcept |
Static Public Member Functions | |
| __host__ static __device__ uint32_t | fingerprint (uint64_t hash) noexcept |
| Bits 13-18 sit above every supported bucket index and below the scored high word. | |
| __host__ static __device__ uint32_t | presence_slot (uint64_t key, uint32_t bits) noexcept |
Public Attributes | |
| uint64_t const * | keys = nullptr |
| uint32_t const * | offsets = nullptr |
| uint32_t const * | presence = nullptr |
| uint64_t const * | fingerprints = nullptr |
| uint32_t | presence_bits = 0 |
Exact membership within the candidate's destination bucket.
Three filters run from cheapest to most selective. Each bucket has a 64-bit mask with one bit per 6-bit hash fingerprint of its keys, 16 KiB for 2,048 buckets; one load rejects keys whose bit is clear. A one-bit-per-slot presence map sized to the key count then rejects most of the rest before the bucket's sorted keys are searched.
Definition at line 33 of file blacklist.cuh.
|
inlinenoexcept |
hash must be hash_kmer(key); construction already holds it.
Definition at line 50 of file blacklist.cuh.
|
inlinestaticnoexcept |
Bits 13-18 sit above every supported bucket index and below the scored high word.
Definition at line 41 of file blacklist.cuh.
|
inlinestaticnoexcept |
|
inlinenoexcept |
Definition at line 58 of file blacklist.cuh.
| uint64_t const* cuddl::detail::blacklist_view::fingerprints = nullptr |
Definition at line 37 of file blacklist.cuh.
| uint64_t const* cuddl::detail::blacklist_view::keys = nullptr |
Definition at line 34 of file blacklist.cuh.
| uint32_t const* cuddl::detail::blacklist_view::offsets = nullptr |
Definition at line 35 of file blacklist.cuh.
| uint32_t const* cuddl::detail::blacklist_view::presence = nullptr |
Definition at line 36 of file blacklist.cuh.
| uint32_t cuddl::detail::blacklist_view::presence_bits = 0 |
Definition at line 38 of file blacklist.cuh.