libcudf
24.04.00
|
Files | |
file | hashing.hpp |
Typedefs | |
using | cudf::hash_value_type = uint32_t |
Type of hash value. | |
Enumerations | |
enum class | cudf::hash_id { cudf::HASH_IDENTITY = 0 , cudf::HASH_MURMUR3 , cudf::HASH_SPARK_MURMUR3 , cudf::HASH_MD5 } |
Identifies the hash function to be used. More... | |
Functions | |
std::unique_ptr< column > | cudf::hash (table_view const &input, hash_id hash_function=hash_id::HASH_MURMUR3, uint32_t seed=DEFAULT_HASH_SEED, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource()) |
Computes the hash value of each row in the input set of columns. More... | |
|
strong |
Identifies the hash function to be used.
Definition at line 41 of file hashing.hpp.
std::unique_ptr<column> cudf::hash | ( | table_view const & | input, |
hash_id | hash_function = hash_id::HASH_MURMUR3 , |
||
uint32_t | seed = DEFAULT_HASH_SEED , |
||
rmm::cuda_stream_view | stream = cudf::get_default_stream() , |
||
rmm::mr::device_memory_resource * | mr = rmm::mr::get_current_device_resource() |
||
) |
Computes the hash value of each row in the input set of columns.
input | The table of columns to hash |
hash_function | The hash function enum to use |
seed | Optional seed value to use for the hash function |
stream | CUDA stream used for device memory operations and kernel launches |
mr | Device memory resource used to allocate the returned column's device memory |