RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Public Member Functions | Static Public Member Functions | List of all members
RAJA::reduce::detail::op_adapter< T, Op > Struct Template Reference

#include <reduce.hpp>

Inheritance diagram for RAJA::reduce::detail::op_adapter< T, Op >:

Public Types

using operator_type = Op< T, T, T >
 

Public Member Functions

RAJA_HOST_DEVICE RAJA_INLINE void operator() (T &val, const T v) const
 

Static Public Member Functions

static constexpr RAJA_HOST_DEVICEidentity ()
 

Member Typedef Documentation

◆ operator_type

template<typename T , template< typename... > class Op>
using RAJA::reduce::detail::op_adapter< T, Op >::operator_type = Op<T, T, T>

Member Function Documentation

◆ identity()

template<typename T , template< typename... > class Op>
static constexpr RAJA_HOST_DEVICE T RAJA::reduce::detail::op_adapter< T, Op >::identity ( )
inlinestaticconstexpr

◆ operator()()

template<typename T , template< typename... > class Op>
RAJA_HOST_DEVICE RAJA_INLINE void RAJA::reduce::detail::op_adapter< T, Op >::operator() ( T &  val,
const T  v 
) const
inline

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