flow 1.3.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
policy.hpp
Go to the documentation of this file.
1
22#ifndef PECLET_FLOW_POLICY_HPP
23#define PECLET_FLOW_POLICY_HPP
24
25#include <Kokkos_Core.hpp>
26
27namespace peclet::flow {
28
30template <class Exec>
31using MDRange2 =
32 Kokkos::MDRangePolicy<Exec, Kokkos::Rank<2, Kokkos::Iterate::Left, Kokkos::Iterate::Left>>;
33
35template <class Exec>
36using MDRange3 =
37 Kokkos::MDRangePolicy<Exec, Kokkos::Rank<3, Kokkos::Iterate::Left, Kokkos::Iterate::Left>>;
38
39} // namespace peclet::flow
40
41#endif // PECLET_FLOW_POLICY_HPP
Kokkos::MDRangePolicy< Exec, Kokkos::Rank< 2, Kokkos::Iterate::Left, Kokkos::Iterate::Left > > MDRange2
2-D range, first index fastest (both the tile order and the order within a tile).
Definition policy.hpp:32
Kokkos::MDRangePolicy< Exec, Kokkos::Rank< 3, Kokkos::Iterate::Left, Kokkos::Iterate::Left > > MDRange3
3-D range, x (the first index) fastest (both the tile order and the order within a tile).
Definition policy.hpp:37