21 #include <rmm/mr/device/per_device_resource.hpp>
51 static constexpr uint32_t DEFAULT_HASH_SEED = 0;
66 [[deprecated]] std::unique_ptr<column>
hash(
69 uint32_t seed = DEFAULT_HASH_SEED,
71 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
92 uint32_t seed = DEFAULT_HASH_SEED,
94 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
111 uint64_t seed = DEFAULT_HASH_SEED,
113 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
132 uint32_t seed = DEFAULT_HASH_SEED,
134 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
145 std::unique_ptr<column>
md5(
148 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
162 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
176 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
190 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
204 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
218 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
234 uint64_t seed = DEFAULT_HASH_SEED,
236 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
A set of cudf::column_view's of the same size.
std::unique_ptr< column > 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.
uint32_t hash_value_type
Type of hash value.
hash_id
Identifies the hash function to be used.
@ HASH_MD5
MD5 hash function.
@ HASH_SPARK_MURMUR3
Spark Murmur3 hash function.
@ HASH_IDENTITY
Identity hash function that simply returns the key to be hashed.
@ HASH_MURMUR3
Murmur3 hash function.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
std::unique_ptr< column > sha1(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 SHA-1 hash value of each row in the given table.
std::unique_ptr< column > 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.
std::unique_ptr< column > 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.
std::unique_ptr< column > sha224(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 SHA-224 hash value of each row in the given table.
std::unique_ptr< column > sha384(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 SHA-384 hash value of each row in the given table.
std::unique_ptr< column > sha256(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 SHA-256 hash value of each row in the given table.
std::unique_ptr< column > sha512(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 SHA-512 hash value of each row in the given table.
std::unique_ptr< column > 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.
std::unique_ptr< column > 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.
std::unique_ptr< table > 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.
Class definition for cudf::table.
Class definitions for (mutable)_table_view