warpcore 0.0.1
Hashing at the Speed of Light on modern CUDA-accelerators
warpcore::hashers::IdentityMap< K, H > Class Template Reference

identity hash More...

Public Types

using key_type = K
 
using hash_type = H
 
using tag = tags::true_permutation_hasher
 

Static Public Member Functions

static __host____device__ hash_type hash (key_type x) noexcept
 hash function More...
 

Detailed Description

template<class K, class H = std::uint32_t>
class warpcore::hashers::IdentityMap< K, H >

identity hash

Template Parameters
Kkey type
Hhash type

Definition at line 148 of file hashers.cuh.

Member Typedef Documentation

◆ hash_type

template<class K , class H = std::uint32_t>
using warpcore::hashers::IdentityMap< K, H >::hash_type = H

Definition at line 153 of file hashers.cuh.

◆ key_type

template<class K , class H = std::uint32_t>
using warpcore::hashers::IdentityMap< K, H >::key_type = K

Definition at line 152 of file hashers.cuh.

◆ tag

template<class K , class H = std::uint32_t>
using warpcore::hashers::IdentityMap< K, H >::tag = tags::true_permutation_hasher

Definition at line 154 of file hashers.cuh.

Member Function Documentation

◆ hash()

template<class K , class H = std::uint32_t>
static __host____device__ hash_type warpcore::hashers::IdentityMap< K, H >::hash ( key_type  x)
inlinestaticnoexcept

hash function

Parameters
[in]xkey to be hashed
Returns
hash of x

Definition at line 170 of file hashers.cuh.


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