https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
KokkosMap.h File Reference

Go to the source code of this file.

Classes

class  Moose::Kokkos::MapBase< T1, T2, index_type, MapType >
 The Kokkos wrapper class for standard map. More...
 

Namespaces

namespace  Moose
 MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
 
namespace  Moose::Kokkos
 

Typedefs

template<typename T1 , typename T2 , typename index_type = MOOSE_KOKKOS_INDEX_TYPE>
using Moose::Kokkos::Map = MapBase< T1, T2, index_type, std::map >
 
template<typename T1 , typename T2 , typename index_type = MOOSE_KOKKOS_INDEX_TYPE>
using Moose::Kokkos::UnorderedMap = MapBase< T1, T2, index_type, std::unordered_map >
 

Functions

template<typename T >
KOKKOS_FUNCTION uint32_t Moose::Kokkos::hashKey (const T &key, uint32_t seed=0)
 Hash a key for the device hash table using the MurmurHash3 implementation of Kokkos, which hashes the object representation of the key.
 
template<typename T1 , typename T2 >
KOKKOS_FUNCTION uint32_t Moose::Kokkos::hashKey (const Pair< T1, T2 > &key, uint32_t seed=0)
 Hash a pair member by member so that padding bytes between the members do not contribute.
 
template<typename T1 , typename T2 , typename index_type , template< typename... > class MapType>
void Moose::Kokkos::dataStore (std::ostream &stream, MapBase< T1, T2, index_type, MapType > &map, void *context)
 
template<typename T1 , typename T2 , typename index_type , template< typename... > class MapType>
void Moose::Kokkos::dataLoad (std::istream &stream, MapBase< T1, T2, index_type, MapType > &map, void *context)