BioCMAMC-ST
alias.hpp
1#ifndef __SIMULATION_ALIAS_HPP__
2#define __SIMULATION_ALIAS_HPP__
3#include <Kokkos_Core.hpp>
4
5#include <cstddef>
6namespace Simulation
7{
8
9 /*Following definition are related to kokkos specifc view, those types are
10 * only used during cycleprocess kernel, associated functions (get/set)
11 * handle data transfer if necessary */
12
13 template <typename ExecSpace>
14 using DiagonalView = Kokkos::
15 View<double*, Kokkos::LayoutLeft, ExecSpace, Kokkos::MemoryTraits<Kokkos::RandomAccess>>;
16
17
18
19 template <typename Space>
21 View<const double**, Kokkos::LayoutRight, Space, Kokkos::MemoryTraits<Kokkos::RandomAccess>>;
22
23
24
25 using LeavingFlowIndexType = Kokkos::View<std::size_t*, Kokkos::SharedHostPinnedSpace>;
26 using LeavingFlowType = Kokkos::View<double*, Kokkos::SharedHostPinnedSpace>;
27
28} // namespace Simulation
29
30#endif
Namespace that contains classes and structures related to simulation handling.
Definition host_specific.hpp:12
Kokkos::View< std::size_t *, Kokkos::SharedHostPinnedSpace > LeavingFlowIndexType
Definition alias.hpp:25
Kokkos:: View< double *, Kokkos::LayoutLeft, ExecSpace, Kokkos::MemoryTraits< Kokkos::RandomAccess > > DiagonalView
Definition alias.hpp:14
Kokkos::View< double *, Kokkos::SharedHostPinnedSpace > LeavingFlowType
Definition alias.hpp:26
Kokkos:: View< const double **, Kokkos::LayoutRight, Space, Kokkos::MemoryTraits< Kokkos::RandomAccess > > CumulativeProbabilityView
Definition alias.hpp:20