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

#include <AMReX_Reduce.H>

Public Member Functions

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

Member Function Documentation

◆ init()

template<typename T >
constexpr std::enable_if_t<std::is_integral_v<T> > amrex::ReduceOpLogicalOr::init ( T &  t) const
inlineconstexprnoexcept

◆ local_update()

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE std::enable_if_t<std::is_integral_v<T> > amrex::ReduceOpLogicalOr::local_update ( T &  d,
s 
) const
inlinenoexcept

◆ parallel_update()

template<typename T , int MT = AMREX_GPU_MAX_THREADS>
AMREX_GPU_DEVICE AMREX_FORCE_INLINE std::enable_if_t<std::is_integral<T>::value> amrex::ReduceOpLogicalOr::parallel_update ( T &  d,
s 
) const
inlinenoexcept

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