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
Advanced Computational Language.
The class generates code corresponding to a reduction operation of elements.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_PRODUCT > > generateProductAlg(VectorOfElements v)
The class represents several ElementData.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MINIMUM > > generateMinAlg(VectorOfElements v)
asl::UValue< asl::AVec< ResType > > res
ReductionAlgGenerator(VectorOfElements v)
Updatable value. This class stores value and its TimeStamp.
The class represents several Element.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MAXIMUM > > generateMaxAlg(VectorOfElements v)
definition of class АVec<T>
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_SUM > > generateSumAlg(VectorOfElements v)