www.cemf.ir
KokkosTypes.hpp File Reference
+ Include dependency graph for KokkosTypes.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pFlow
 

Typedefs

using HostSpace = Kokkos::HostSpace
 Host memory space. More...
 
using Serial = Kokkos::Serial
 Serial execution space. More...
 
using DefaultHostExecutionSpace = Kokkos::DefaultHostExecutionSpace
 Default Host execution space, on top of all host execution spaces. More...
 
using DefaultExecutionSpace = Kokkos::DefaultExecutionSpace
 Default execution space, it can be device exe. More...
 
using deviceRPolicyStatic = Kokkos::RangePolicy< Kokkos::DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Static >, Kokkos::IndexType< pFlow::uint32 > >
 
using hostRPolicyStatic = Kokkos::RangePolicy< Kokkos::DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Static >, Kokkos::IndexType< pFlow::uint32 > >
 
using deviceRPolicyDynamic = Kokkos::RangePolicy< Kokkos::DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Dynamic >, Kokkos::IndexType< pFlow::uint32 > >
 
using hostRPolicyDynamic = Kokkos::RangePolicy< Kokkos::DefaultExecutionSpace, Kokkos::Schedule< Kokkos::Dynamic >, Kokkos::IndexType< pFlow::uint32 > >
 
template<typename T1 , typename T2 >
using Pair = Kokkos::pair< T1, T2 >
 Pair of two variables. More...
 
template<typename T , typename... properties>
using ViewTypeScalar = Kokkos::View< T, properties... >
 View for a scalar. More...
 
template<typename T , typename... properties>
using ViewType1D = Kokkos::View< T *, properties... >
 1D veiw as a vector More...
 
template<typename T , typename... properties>
using ViewType2D = Kokkos::View< T **, properties... >
 2D view as an array More...
 
template<typename T , typename... properties>
using ViewType3D = Kokkos::View< T ***, properties... >
 3D view as an array More...
 
template<typename T , typename... properties>
using DualViewType1D = Kokkos::DualView< T *, properties... >
 1D dual view as a vector More...
 
template<typename Key , typename Value , typename... properties>
using unorderedMap = Kokkos::UnorderedMap< Key, Value, properties... >
 unordered map More...
 
template<typename Key , typename... properties>
using unorderedSet = Kokkos::UnorderedMap< Key, void, properties... >
 unordered set More...
 
template<typename T >
using deviceViewTypeScalar = Kokkos::View< T >
 Scalar on device. More...
 
template<typename T >
using deviceViewType1D = Kokkos::View< T * >
 1D array (vector) with default device (memory space and execution space) More...
 
template<typename T , typename Layout = void>
using deviceViewType2D = Kokkos::View< T **, Layout, void >
 2D view on device as an array on device More...
 
template<typename T , typename Layout = void>
using deviceViewType3D = Kokkos::View< T ***, Layout, void >
 3D view on device as an array on device More...
 
template<typename T >
using hostViewTypeScalar = Kokkos::View< T, Kokkos::HostSpace >
 
template<typename T >
using hostViewType1D = Kokkos::View< T *, Kokkos::HostSpace >
 1D array (vector with host memeory space) More...
 
template<typename T , typename Layout = void>
using hostViewType2D = Kokkos::View< T **, Layout, Kokkos::HostSpace >
 2D array on host More...
 
template<typename T , typename Layout = void>
using hostViewType3D = Kokkos::View< T ***, Layout, Kokkos::HostSpace >
 3D array on host More...
 
template<typename T >
using deviceAtomicViewType1D = Kokkos::View< T *, Kokkos::MemoryTraits< std::is_same_v< DefaultExecutionSpace, Serial > ? 0 :Kokkos::Atomic > >
 1D vector on device with atomic capabilities More...
 
template<typename T >
using deviceAtomicViewType3D = Kokkos::View< T ***, Kokkos::MemoryTraits< std::is_same_v< DefaultExecutionSpace, Serial > ? 0 :Kokkos::Atomic > >
 3D array on device with atomic capabilities More...