ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Public Attributes | List of all members
acl::ReductionAlgGenerator< ResType, Op > Class Template Reference

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

#include <aclReductionAlgGenerator.h>

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

Public Member Functions

 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()

template<typename ResType , enum ReductionOperatorType Op>
acl::ReductionAlgGenerator< ResType, Op >::ReductionAlgGenerator ( VectorOfElements  v)

Member Function Documentation

◆ compute()

template<typename ResType , enum ReductionOperatorType Op>
void acl::ReductionAlgGenerator< ResType, Op >::compute ( )

◆ generateAlg() [1/2]

template<typename ResType , enum ReductionOperatorType Op>
void acl::ReductionAlgGenerator< ResType, Op >::generateAlg ( Kernel k)

◆ generateAlg() [2/2]

template<typename ResType , enum ReductionOperatorType Op>
void acl::ReductionAlgGenerator< ResType, Op >::generateAlg ( )

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: