|
template<typename T , typename N , typename FIN , typename FOUT , typename TYPE , typename M = std::enable_if_t<std::is_integral<N>::value && (std::is_same<std::decay_t<TYPE>,Type::Inclusive>::value || std::is_same<std::decay_t<TYPE>,Type::Exclusive>::value)>> |
T | PrefixSum (N n, FIN const &fin, FOUT const &fout, TYPE, RetSum a_ret_sum=retSum) |
|
template<typename N , typename T , typename M = std::enable_if_t<std::is_integral<N>::value>> |
T | InclusiveSum (N n, T const *in, T *out, RetSum a_ret_sum=retSum) |
|
template<typename N , typename T , typename M = std::enable_if_t<std::is_integral<N>::value>> |
T | ExclusiveSum (N n, T const *in, T *out, RetSum a_ret_sum=retSum) |
|
template<typename T , typename N , typename FIN , typename FOUT , typename TYPE , typename M = std::enable_if_t<std::is_integral<N>::value && (std::is_same<std::decay_t<TYPE>,Type::Inclusive>::value || std::is_same<std::decay_t<TYPE>,Type::Exclusive>::value)>>
T amrex::Scan::PrefixSum |
( |
N |
n, |
|
|
FIN const & |
fin, |
|
|
FOUT const & |
fout, |
|
|
TYPE |
, |
|
|
RetSum |
a_ret_sum = retSum |
|
) |
| |