FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
reduce Struct Reference

An example reduction type that is not really implemented. More...

Static Public Member Functions

template<class T >
static T combine (T, T)
 Apply the reduction to two values.
 

Static Public Attributes

template<class T >
static const T identity
 The identity element.
 

Detailed Description

An example reduction type that is not really implemented.

The data type to use is determined separately (e.g., a task return type); user-defined reduction types that aim to support only one data type need not define their members as templates.

Member Function Documentation

◆ combine()

template<class T >
static T combine ( ,
 
)
static

Apply the reduction to two values.

Member Data Documentation

◆ identity

template<class T >
const T identity
static

The identity element.