Block-Structured AMR Software Framework
amrex::Gpu::warpReduce< warpSize, T, F > Struct Template Reference

#include <AMReX_GpuReduce.H>

Public Member Functions

template<class U = T, std::enable_if_t< std::is_arithmetic< U >::value, int > = 0>
AMREX_GPU_DEVICE AMREX_FORCE_INLINEoperator() (T x) const noexcept
 
template<class U = T, std::enable_if_t<!std::is_arithmetic< U >::value, int > = 0>
AMREX_GPU_DEVICE AMREX_FORCE_INLINEoperator() (T x) const noexcept
 

Member Function Documentation

◆ operator()() [1/2]

template<int warpSize, typename T , typename F >
template<class U = T, std::enable_if_t< std::is_arithmetic< U >::value, int > = 0>
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T amrex::Gpu::warpReduce< warpSize, T, F >::operator() ( x) const
inlinenoexcept

◆ operator()() [2/2]

template<int warpSize, typename T , typename F >
template<class U = T, std::enable_if_t<!std::is_arithmetic< U >::value, int > = 0>
AMREX_GPU_DEVICE AMREX_FORCE_INLINE T amrex::Gpu::warpReduce< warpSize, T, F >::operator() ( x) const
inlinenoexcept

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