CUB  
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
cub::Sum Struct Reference

Detailed description

Default sum functor.

Public Methods

template<typename T >
__host__ __device__
__forceinline__ T 
operator() (const T &a, const T &b) const
 Binary sum operator, returns a + b More...
 

Member Function Documentation

template<typename T >
__host__ __device__ __forceinline__ T cub::Sum::operator() ( const T &  a,
const T &  b 
) const
inline

Binary sum operator, returns a + b


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