Block-Structured AMR Software Framework
amrex::ReduceOpMax Struct Reference

#include <AMReX_Reduce.H>

Public Member Functions

template<typename T , int MT = AMREX_GPU_MAX_THREADS>
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void parallel_update (T &d, T const &s) const noexcept
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void local_update (T &d, T const &s) const noexcept
 
template<typename T >
constexpr std::enable_if_t< std::numeric_limits< T >::is_specialized > init (T &t) const noexcept
 
template<typename T >
constexpr std::enable_if_t<!std::numeric_limits< T >::is_specialized > init (T &t) const noexcept
 

Member Function Documentation

◆ init() [1/2]

template<typename T >
constexpr std::enable_if_t<std::numeric_limits<T>::is_specialized> amrex::ReduceOpMax::init ( T &  t) const
inlineconstexprnoexcept

◆ init() [2/2]

template<typename T >
constexpr std::enable_if_t<!std::numeric_limits<T>::is_specialized> amrex::ReduceOpMax::init ( T &  t) const
inlineconstexprnoexcept

◆ local_update()

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amrex::ReduceOpMax::local_update ( T &  d,
T const &  s 
) const
inlinenoexcept

◆ parallel_update()

template<typename T , int MT = AMREX_GPU_MAX_THREADS>
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex::ReduceOpMax::parallel_update ( T &  d,
T const &  s 
) const
inlinenoexcept

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