Block-Structured AMR Software Framework
 
Loading...
Searching...
No Matches
amrex::detail::CTOWrapper< F, ctr > Struct Template Reference

#include <AMReX_CTOParallelForImpl.H>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

F f
 

Member Function Documentation

◆ GetOptions()

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

◆ operator()()

template<class F , int... ctr>
template<class... Args>
__host__ __device__ 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: