[FEATURE]: Expose hash_function
member function for hash tables
#582
Labels
helps: rapids
Helps or needed by RAPIDS
P1: Should have
Necessary but not critical
type: feature request
New feature request
Is your feature request related to a problem? Please describe.
The current cuco hash tables don't have
hash_function
as a member function because we didn't come up with a proper solution for double hashing, i.e., the underlying hash table may utilize more than one hash function so the below interface doesn't seem to be right:Describe the solution you'd like
However, the original idea is not bad and we could use
cuda::std::pair<Hash1, Hash2>
to definehasher
in the case of double hashing:In the future, we can also switch to
cuda::std::tuple
if more than two hashers are needed.Describe alternatives you've considered
No response
Additional context
We need a build-time
is_double_hashing
trait to implement this.The text was updated successfully, but these errors were encountered: