Block-Structured AMR Software Framework
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
amrex::detail::CTOWrapper< F, ctr > Struct Template Reference

#include <AMReX_CTOParallelForImpl.H>

Public Member Functions

template<class... Args>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto operator() (Args... args) const noexcept -> decltype(f(args..., std::integral_constant< int, ctr >{}...))
 

Static Public Member Functions

AMREX_GPU_HOST_DEVICE static AMREX_FORCE_INLINE constexpr std::array< int, sizeof...(ctr)> GetOptions () noexcept
 

Public Attributes

F f
 

Member Function Documentation

◆ GetOptions()

template<class F , int... ctr>
AMREX_GPU_HOST_DEVICE static AMREX_FORCE_INLINE constexpr std::array< int, sizeof...(ctr)> amrex::detail::CTOWrapper< F, ctr >::GetOptions ( )
inlinestaticconstexprnoexcept

◆ operator()()

template<class F , int... ctr>
template<class... Args>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE auto amrex::detail::CTOWrapper< F, ctr >::operator() ( Args...  args) const -> decltype(f(args..., std::integral_constant<int, ctr>{}...))
inlinenoexcept

Member Data Documentation

◆ f

template<class F , int... ctr>
F amrex::detail::CTOWrapper< F, ctr >::f

The documentation for this struct was generated from the following file: