libcudf  23.12.00
Namespaces | Typedefs | Enumerations | Functions
hashing.hpp File Reference
#include <cudf/table/table.hpp>
#include <cudf/table/table_view.hpp>
#include <rmm/mr/device/per_device_resource.hpp>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 
 cudf::hashing
 Hash APIs.
 

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...
 
std::unique_ptr< column > cudf::hashing::murmurhash3_x86_32 (table_view const &input, 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 MurmurHash3 32-bit hash value of each row in the given table. More...
 
std::unique_ptr< table > cudf::hashing::murmurhash3_x64_128 (table_view const &input, uint64_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 MurmurHash3 64-bit hash value of each row in the given table. More...
 
std::unique_ptr< column > cudf::hashing::spark_murmurhash3_x86_32 (table_view const &input, 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 MurmurHash3 32-bit hash value of each row in the given table. More...
 
std::unique_ptr< column > cudf::hashing::md5 (table_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
 Computes the MD5 hash value of each row in the given table. More...
 
std::unique_ptr< column > cudf::hashing::xxhash_64 (table_view const &input, uint64_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 XXHash_64 hash value of each row in the given table. More...