BioCMAMC-ST
f_assert< exec_space > Struct Template Reference

Public Types

using team_policy_t = Kokkos::TeamPolicy<exec_space>
using team_member_t = team_policy_t::member_type
using _float_t = float
using scratch_view_t

Public Member Functions

 f_assert (std::size_t _n, std::size_t n_per_team)
KOKKOS_INLINE_FUNCTION void operator() (tag1 _t, const team_member_t &team, std::size_t &reduce_val) const
KOKKOS_INLINE_FUNCTION void operator() (tag2 _t, const team_member_t &team, std::size_t &reduce_val) const
KOKKOS_INLINE_FUNCTION void operator() (tag3 _t, const team_member_t &team, std::size_t &reduce_val) const

Public Attributes

std::size_t n_tot
std::size_t m_n_per_team

Member Typedef Documentation

◆ _float_t

template<typename exec_space>
using f_assert< exec_space >::_float_t = float

◆ scratch_view_t

template<typename exec_space>
using f_assert< exec_space >::scratch_view_t
Initial value:
Kokkos::View<
typename team_policy_t::execution_space::scratch_memory_space>
float _float_t
Definition test_team_strategy.cpp:34

◆ team_member_t

template<typename exec_space>
using f_assert< exec_space >::team_member_t = team_policy_t::member_type

◆ team_policy_t

template<typename exec_space>
using f_assert< exec_space >::team_policy_t = Kokkos::TeamPolicy<exec_space>

Constructor & Destructor Documentation

◆ f_assert()

template<typename exec_space>
f_assert< exec_space >::f_assert ( std::size_t _n,
std::size_t n_per_team )
inlineexplicit

Member Function Documentation

◆ operator()() [1/3]

template<typename exec_space>
KOKKOS_INLINE_FUNCTION void f_assert< exec_space >::operator() ( tag1 _t,
const team_member_t & team,
std::size_t & reduce_val ) const
inline

◆ operator()() [2/3]

template<typename exec_space>
KOKKOS_INLINE_FUNCTION void f_assert< exec_space >::operator() ( tag2 _t,
const team_member_t & team,
std::size_t & reduce_val ) const
inline

◆ operator()() [3/3]

template<typename exec_space>
KOKKOS_INLINE_FUNCTION void f_assert< exec_space >::operator() ( tag3 _t,
const team_member_t & team,
std::size_t & reduce_val ) const
inline

Member Data Documentation

◆ m_n_per_team

template<typename exec_space>
std::size_t f_assert< exec_space >::m_n_per_team

◆ n_tot

template<typename exec_space>
std::size_t f_assert< exec_space >::n_tot

The documentation for this struct was generated from the following file:
  • apps/libs/mc/tests/test_team_strategy.cpp