Public Member Functions | List of all members
cudf::row::primitive::element_hasher< Hash > Class Template Reference

Function object for computing the hash value of a row in a column. More...

Public Member Functions

template<typename T , CUDF_ENABLE_IF(column_device_view::has_element_accessor< T >()) >
hash_value_type operator() (hash_value_type seed, column_device_view const &col, size_type row_index) const
 Returns the hash value of the given element in the given column. More...
 

Detailed Description

template<template< typename > class Hash>
class cudf::row::primitive::element_hasher< Hash >

Function object for computing the hash value of a row in a column.

Template Parameters
HashHash functor to use for hashing elements

Definition at line 159 of file primitive_row_operators.cuh.

Member Function Documentation

◆ operator()()

template<template< typename > class Hash>
template<typename T , CUDF_ENABLE_IF(column_device_view::has_element_accessor< T >()) >
hash_value_type cudf::row::primitive::element_hasher< Hash >::operator() ( hash_value_type  seed,
column_device_view const &  col,
size_type  row_index 
) const
inline

Returns the hash value of the given element in the given column.

Template Parameters
TThe type of the element to hash
Parameters
seedThe seed value to use for hashing
colThe column to hash
row_indexThe index of the row to hash
Returns
The hash value of the given element

Definition at line 171 of file primitive_row_operators.cuh.


The documentation for this class was generated from the following file: