Block-Structured AMR Software Framework
amrex::ReduceOpSum 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 void init (T &t) const noexcept
 

Member Function Documentation

◆ init()

template<typename T >
constexpr void amrex::ReduceOpSum::init ( T &  t) const
inlineconstexprnoexcept

◆ local_update()

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void amrex::ReduceOpSum::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::ReduceOpSum::parallel_update ( T &  d,
T const &  s 
) const
inlinenoexcept

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