RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Functions
RAJA::impl::scan Namespace Reference

Functions

template<typename Policy , typename Iter , typename BinFn >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_openmp_policy< Policy > > inclusive_inplace (resources::Host host_res, const Policy &, Iter begin, Iter end, BinFn f)
 
template<typename Policy , typename Iter , typename BinFn , typename ValueT >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_openmp_policy< Policy > > exclusive_inplace (resources::Host host_res, const Policy &, Iter begin, Iter end, BinFn f, ValueT v)
 
template<typename Policy , typename Iter , typename OutIter , typename BinFn >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_openmp_policy< Policy > > inclusive (resources::Host host_res, const Policy &exec, Iter begin, Iter end, OutIter out, BinFn f)
 
template<typename Policy , typename Iter , typename OutIter , typename BinFn , typename ValueT >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_openmp_policy< Policy > > exclusive (resources::Host host_res, const Policy &exec, Iter begin, Iter end, OutIter out, BinFn f, ValueT v)
 
template<typename ExecPolicy , typename Iter , typename BinFn >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > inclusive_inplace (resources::Host host_res, const ExecPolicy &, Iter begin, Iter end, BinFn f)
 
template<typename ExecPolicy , typename Iter , typename BinFn , typename T >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > exclusive_inplace (resources::Host host_res, const ExecPolicy &, Iter begin, Iter end, BinFn f, T v)
 
template<typename ExecPolicy , typename Iter , typename OutIter , typename BinFn >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > inclusive (resources::Host host_res, const ExecPolicy &, const Iter begin, const Iter end, OutIter out, BinFn f)
 
template<typename ExecPolicy , typename Iter , typename OutIter , typename BinFn , typename T >
RAJA_INLINE concepts::enable_if_t< resources::EventProxy< resources::Host >, type_traits::is_sequential_policy< ExecPolicy > > exclusive (resources::Host host_res, const ExecPolicy &, const Iter begin, const Iter end, OutIter out, BinFn f, T v)
 

Function Documentation

◆ inclusive_inplace() [1/2]

template<typename Policy , typename Iter , typename BinFn >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_openmp_policy<Policy> > RAJA::impl::scan::inclusive_inplace ( resources::Host  host_res,
const Policy ,
Iter  begin,
Iter  end,
BinFn  f 
)
 \brief explicit inclusive inplace scan given range, function, and

initial value

◆ exclusive_inplace() [1/2]

template<typename Policy , typename Iter , typename BinFn , typename ValueT >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_openmp_policy<Policy> > RAJA::impl::scan::exclusive_inplace ( resources::Host  host_res,
const Policy ,
Iter  begin,
Iter  end,
BinFn  f,
ValueT  v 
)
 \brief explicit exclusive inplace scan given range, function, and

initial value

◆ inclusive() [1/2]

template<typename Policy , typename Iter , typename OutIter , typename BinFn >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_openmp_policy<Policy> > RAJA::impl::scan::inclusive ( resources::Host  host_res,
const Policy exec,
Iter  begin,
Iter  end,
OutIter  out,
BinFn  f 
)
 \brief explicit inclusive scan given input range, output, function, and

initial value

◆ exclusive() [1/2]

template<typename Policy , typename Iter , typename OutIter , typename BinFn , typename ValueT >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_openmp_policy<Policy> > RAJA::impl::scan::exclusive ( resources::Host  host_res,
const Policy exec,
Iter  begin,
Iter  end,
OutIter  out,
BinFn  f,
ValueT  v 
)
 \brief explicit exclusive scan given input range, output, function, and

initial value

◆ inclusive_inplace() [2/2]

template<typename ExecPolicy , typename Iter , typename BinFn >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_sequential_policy<ExecPolicy> > RAJA::impl::scan::inclusive_inplace ( resources::Host  host_res,
const ExecPolicy ,
Iter  begin,
Iter  end,
BinFn  f 
)
 \brief explicit inclusive inplace scan given range, function, and

initial value

◆ exclusive_inplace() [2/2]

template<typename ExecPolicy , typename Iter , typename BinFn , typename T >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_sequential_policy<ExecPolicy> > RAJA::impl::scan::exclusive_inplace ( resources::Host  host_res,
const ExecPolicy ,
Iter  begin,
Iter  end,
BinFn  f,
v 
)
 \brief explicit exclusive inplace scan given range, function, and

initial value

◆ inclusive() [2/2]

template<typename ExecPolicy , typename Iter , typename OutIter , typename BinFn >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_sequential_policy<ExecPolicy> > RAJA::impl::scan::inclusive ( resources::Host  host_res,
const ExecPolicy ,
const Iter  begin,
const Iter  end,
OutIter  out,
BinFn  f 
)
 \brief explicit inclusive scan given input range, output, function, and

initial value

◆ exclusive() [2/2]

template<typename ExecPolicy , typename Iter , typename OutIter , typename BinFn , typename T >
RAJA_INLINE concepts::enable_if_t<resources::EventProxy<resources::Host>, type_traits::is_sequential_policy<ExecPolicy> > RAJA::impl::scan::exclusive ( resources::Host  host_res,
const ExecPolicy ,
const Iter  begin,
const Iter  end,
OutIter  out,
BinFn  f,
v 
)
 \brief explicit exclusive scan given input range, output, function, and

initial value