preCICE
Loading...
Searching...
No Matches
precice::mapping::kernel::impl Namespace Reference

Enumerations

enum class  Pow2Mode { Smaller , Larger , Closest }

Functions

int powerOfTwo (int n, const Pow2Mode mode)
template<typename ExecSpace, typename FunctorType, typename Policy>
auto findTeamSize (int avgWork, const Pow2Mode mode, const FunctorType &functor, const Policy &policy)
template<typename... Args>
KOKKOS_INLINE_FUNCTION constexpr void capture_conditional_variables (const Args &...)

Enumeration Type Documentation

◆ Pow2Mode

Enumerator
Smaller 
Larger 
Closest 

Definition at line 24 of file KokkosPUMKernels_Impl.hpp.

Function Documentation

◆ capture_conditional_variables()

template<typename... Args>
KOKKOS_INLINE_FUNCTION constexpr void precice::mapping::kernel::impl::capture_conditional_variables ( const Args & ...)
constexpr

Definition at line 89 of file KokkosPUMKernels_Impl.hpp.

◆ findTeamSize()

template<typename ExecSpace, typename FunctorType, typename Policy>
auto precice::mapping::kernel::impl::findTeamSize ( int avgWork,
const Pow2Mode mode,
const FunctorType & functor,
const Policy & policy )

Definition at line 64 of file KokkosPUMKernels_Impl.hpp.

Here is the call graph for this function:

◆ powerOfTwo()

int precice::mapping::kernel::impl::powerOfTwo ( int n,
const Pow2Mode mode )
inline

Definition at line 33 of file KokkosPUMKernels_Impl.hpp.