ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
24 #ifndef ACLREDUCTIONALGGENERATUR_H
25 #define ACLREDUCTIONALGGENERATUR_H
50 std::vector<std::vector<ResType>> groupRes;
53 shared_ptr<Kernel> kernel;
62 template <
typename ResType> std::shared_ptr<ReductionAlgGenerator<ResType, ROT_SUM>>
65 template <
typename ResType> std::shared_ptr<ReductionAlgGenerator<ResType, ROT_MINIMUM>>
68 template <
typename ResType> std::shared_ptr<ReductionAlgGenerator<ResType, ROT_MAXIMUM>>
71 template <
typename ResType> std::shared_ptr<ReductionAlgGenerator<ResType, ROT_PRODUCT>>
77 #endif // ACLREDUCTIONALGGENERATUR_H
The class represents several ElementData.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_PRODUCT > > generateProductAlg(VectorOfElements v)
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MINIMUM > > generateMinAlg(VectorOfElements v)
void generateAlg(Kernel &k)
Updatable value. This class stores value and its TimeStamp.
The class represents several Element.
definition of class АVec<T>
ReductionAlgGenerator(VectorOfElements v)
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MAXIMUM > > generateMaxAlg(VectorOfElements v)
The class generates code corresponding to a reduction operation of elements.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_SUM > > generateSumAlg(VectorOfElements v)
asl::UValue< asl::AVec< ResType > > res
Advanced Computational Language.