RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Member Functions | Static Public Member Functions | Friends | List of all members
RAJA::operators::plus< Ret, Arg1, Arg2 > Struct Template Reference

#include <Operators.hpp>

Inheritance diagram for RAJA::operators::plus< Ret, Arg1, Arg2 >:
RAJA::operators::detail::binary_function< Ret, Ret, Ret > RAJA::reduce::detail::op_adapter< T, RAJA::operators::plus > RAJA::reduce::sum< T >

Public Member Functions

constexpr RAJA_HOST_DEVICE Ret operator() (const Arg1 &lhs, const Arg2 &rhs) const
 

Static Public Member Functions

static constexpr RAJA_HOST_DEVICE Ret identity ()
 

Friends

std::ostream & operator<< (std::ostream &str, plus const &)
 

Additional Inherited Members

- Public Types inherited from RAJA::operators::detail::binary_function< Ret, Ret, Ret >
using first_argument_type = Ret
 
using second_argument_type = Ret
 
using result_type = Ret
 

Member Function Documentation

◆ operator()()

template<typename Ret , typename Arg1 = Ret, typename Arg2 = Arg1>
constexpr RAJA_HOST_DEVICE Ret RAJA::operators::plus< Ret, Arg1, Arg2 >::operator() ( const Arg1 &  lhs,
const Arg2 &  rhs 
) const
inlineconstexpr

◆ identity()

template<typename Ret , typename Arg1 = Ret, typename Arg2 = Arg1>
static constexpr RAJA_HOST_DEVICE Ret RAJA::operators::plus< Ret, Arg1, Arg2 >::identity ( )
inlinestaticconstexpr

Friends And Related Function Documentation

◆ operator<<

template<typename Ret , typename Arg1 = Ret, typename Arg2 = Arg1>
std::ostream& operator<< ( std::ostream &  str,
plus< Ret, Arg1, Arg2 > const &   
)
friend

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