gpurhh
GPU Robin Hood Hashing — header-only CUDA library
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View Class Reference

Public Member Functions

template<class Tile >
cuda::std::optional< Slotinsert (const Tile &tile, Key key, Value value)
 
template<class Tile >
cuda::std::optional< Value > get (const Tile &tile, Key key) const
 
std::size_t capacity () const noexcept
 
template<class Tile >
auto insert (const Tile &tile, K key, V value) -> cuda::std::optional< Slot >
 
template<class Tile >
cuda::std::optional< V > get (const Tile &tile, K key) const
 

Friends

class HashTable
 

Member Function Documentation

◆ capacity()

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
std::size_t gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View::capacity ( ) const
inlinenoexcept

◆ get() [1/2]

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
template<class Tile >
cuda::std::optional< V > gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View::get ( const Tile &  tile,
key 
) const

◆ get() [2/2]

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
template<class Tile >
cuda::std::optional< Value > gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View::get ( const Tile &  tile,
Key  key 
) const

◆ insert() [1/2]

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
template<class Tile >
auto gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View::insert ( const Tile &  tile,
key,
value 
) -> cuda::std::optional<Slot>

◆ insert() [2/2]

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
template<class Tile >
cuda::std::optional< Slot > gpurhh::HashTable< Key, Value, Hash, EmptyKey, Reduction, CacheLineBytes, WarpSize, MaxProbeBuckets >::View::insert ( const Tile &  tile,
Key  key,
Value  value 
)

Friends And Related Symbol Documentation

◆ HashTable

template<class Key , class Value , class Hash = default_hash<Key>, Key EmptyKey = default_empty_key<Key>::key, class Reduction = replace_op, int CacheLineBytes = 128, int WarpSize = 32, int MaxProbeBuckets = 8>
friend class HashTable
friend

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