acl::ReductionAlgGenerator< ResType, Op > Class Template Reference
Advanced Computational Language » Complex Data Types

The class generates code corresponding to a reduction operation of elements. More...

`#include <aclReductionAlgGenerator.h>`

Collaboration diagram for acl::ReductionAlgGenerator< ResType, Op >:
[legend]

## Public Member Functions

| ReductionAlgGenerator (VectorOfElements v)
void | compute ()
void | generateAlg (Kernel &k)
void | generateAlg ()
| ReductionAlgGenerator (VectorOfElements v)
void | compute ()
void | generateAlg (Kernel &k)
void | generateAlg ()

## Public Attributes

asl::UValue< asl::AVec< ResType > > | res

## Detailed Description

### template<typename ResType, enum ReductionOperatorType Op>
class acl::ReductionAlgGenerator< ResType, Op >

The class generates code corresponding to a reduction operation of elements.

Definition at line 41 of file aclReductionAlgGenerator.h.

## Constructor & Destructor Documentation

## ReductionAlgGenerator() [1/2]

template<typename ResType , enum ReductionOperatorType Op>

acl::ReductionAlgGenerator< ResType, Op >::ReductionAlgGenerator | ( | VectorOfElements | v | ) |

## ReductionAlgGenerator() [2/2]

template<typename ResType , enum ReductionOperatorType Op>

acl::ReductionAlgGenerator< ResType, Op >::ReductionAlgGenerator | ( | VectorOfElements | v | ) |

## Member Function Documentation

## compute() [1/2]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::compute | ( |  | ) |

## compute() [2/2]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::compute | ( |  | ) |

## generateAlg() [1/4]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::generateAlg | ( |  | ) |

## generateAlg() [2/4]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::generateAlg | ( |  | ) |

## generateAlg() [3/4]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::generateAlg | ( | Kernel & | k | ) |

## generateAlg() [4/4]

template<typename ResType , enum ReductionOperatorType Op>

void acl::ReductionAlgGenerator< ResType, Op >::generateAlg | ( | Kernel & | k | ) |

## Member Data Documentation

## res

template<typename ResType , enum ReductionOperatorType Op>

asl::UValue< asl::AVec< ResType > > acl::ReductionAlgGenerator< ResType, Op >::res

Definition at line 48 of file aclReductionAlgGenerator.h.

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

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/aclMath/aclReductionAlgGenerator.h