Computes the hash value of a row in the given table. More...
Public Member Functions | |
| row_hasher (table_view const &t, rmm::cuda_stream_view stream) | |
| Construct an owning object for hashing the rows of a table. More... | |
| row_hasher (std::shared_ptr< preprocessed_table > t) | |
| Construct an owning object for hashing the rows of a table from an existing preprocessed_table. More... | |
| template<template< typename > class hash_function = cudf::hashing::detail::default_hash, template< template< typename > class, typename > class DeviceRowHasher = device_row_hasher, typename Nullate > | |
| DeviceRowHasher< hash_function, Nullate > | device_hasher (Nullate nullate={}, uint32_t seed=DEFAULT_HASH_SEED) const |
| Get the hash operator to use on the device. More... | |
Computes the hash value of a row in the given table.
Definition at line 2055 of file experimental/row_operators.cuh.
|
inline |
Construct an owning object for hashing the rows of a table.
| t | The table containing rows to hash |
| stream | The stream to construct this object on. Not the stream that will be used for comparisons using this object. |
Definition at line 2064 of file experimental/row_operators.cuh.
|
inline |
Construct an owning object for hashing the rows of a table from an existing preprocessed_table.
This constructor allows independently constructing a preprocessed_table and sharing it among multiple row_hasher and equality::self_comparator objects.
| t | A table preprocessed for hashing or equality. |
Definition at line 2078 of file experimental/row_operators.cuh.
|
inline |
Get the hash operator to use on the device.
Returns a unary callable, F, with signature hash_function::hash_value_type F(size_type).
F(i) returns the hash of row i.
| Nullate | A cudf::nullate type describing whether to check for nulls |
| nullate | Indicates if any input column contains nulls |
| seed | The seed to use for the hash function |
Definition at line 2096 of file experimental/row_operators.cuh.