RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Classes | Namespaces | Functions
foldl.hpp File Reference

Header file with support for pre-C++14 compilers. More...

#include "RAJA/config.hpp"
#include <cstdint>
#include <functional>
#include <iostream>
#include <type_traits>
#include <utility>
#include "camp/camp.hpp"
#include "RAJA/util/macros.hpp"

Go to the source code of this file.

Classes

struct  RAJA::detail::foldl_impl< Op, Arg1 >
 
struct  RAJA::detail::foldl_impl< Op, Arg1, Arg2 >
 
struct  RAJA::detail::foldl_impl< Op, Arg1, Arg2, Arg3, Rest... >
 

Namespaces

 RAJA
 
 RAJA::detail
 

Functions

template<typename Op , typename Arg1 >
RAJA_HOST_DEVICE constexpr RAJA_INLINE auto RAJA::foldl (Op &&RAJA_UNUSED_ARG(operation), Arg1 &&arg) -> typename detail::foldl_impl< Op, Arg1 >::Ret
 
template<typename Op , typename Arg1 , typename Arg2 >
RAJA_HOST_DEVICE constexpr RAJA_INLINE auto RAJA::foldl (Op &&operation, Arg1 &&arg1, Arg2 &&arg2) -> typename detail::foldl_impl< Op, Arg1, Arg2 >::Ret
 
template<typename Op , typename Arg1 , typename Arg2 , typename Arg3 , typename... Rest>
RAJA_HOST_DEVICE constexpr RAJA_INLINE auto RAJA::foldl (Op &&operation, Arg1 &&arg1, Arg2 &&arg2, Arg3 &&arg3, Rest &&... rest) -> typename detail::foldl_impl< Op, Arg1, Arg2, Arg3, Rest... >::Ret
 
template<typename Result , typename... Args>
RAJA_HOST_DEVICE constexpr RAJA_INLINE Result RAJA::sum (Args... args)
 
template<typename Result , typename... Args>
RAJA_HOST_DEVICE constexpr RAJA_INLINE Result RAJA::product (Args... args)
 
template<typename Result , typename... Args>
RAJA_HOST_DEVICE constexpr RAJA_INLINE Result RAJA::max (Args... args)
 
template<typename Result , typename... Args>
RAJA_HOST_DEVICE constexpr RAJA_INLINE Result RAJA::min (Args... args)
 

Detailed Description

Header file with support for pre-C++14 compilers.