|
cuDDL
|
One pair's exact bucket comparison counts in 64 bits, the storage and transfer form of batch-search results. More...
Public Member Functions | |
| __host__ __device__ constexpr pairwise_counts | unpack (uint32_t bucket_count) const noexcept |
Static Public Member Functions | |
| static __host__ __device__ constexpr packed_pairwise_counts | pack (uint32_t lower, uint32_t equal, uint32_t higher) noexcept |
Public Attributes | |
| uint64_t | bits {} |
Friends | |
| bool | operator== (packed_pairwise_counts const &, packed_pairwise_counts const &)=default |
One pair's exact bucket comparison counts in 64 bits, the storage and transfer form of batch-search results.
Lower occupies bits 0-20, equal bits 21-41 and higher bits 42-63; both-empty is the bucket count minus the three, so every supported bucket count (at most 2^13) fits.
Definition at line 48 of file pairwise_counts.cuh.
|
inlinestaticconstexprnoexcept |
Definition at line 52 of file pairwise_counts.cuh.
|
inlineconstexprnoexcept |
Definition at line 59 of file pairwise_counts.cuh.
|
friend |
| uint64_t cuddl::packed_pairwise_counts::bits {} |
Definition at line 49 of file pairwise_counts.cuh.