Searched refs:accumName (Results 1 – 5 of 5) sorted by relevance
38 my $accumName = "${reduceName}_accum";41 print "#pragma rs reduce(${reduceName}) accumulator(${accumName}) combiner(${combName})\n";43 print "static void ${accumName}(${resultName} *accum, ${eltName} val) { }\n";
48 my $accumName = "${reduceName}_accum";50 print "#pragma rs reduce(${reduceName}) accumulator(${accumName}) combiner(combiner)\n";51 print "static void ${accumName}(int *accum, ${eltName} in";
61 my $accumName = "${reduceName}_accum";63 print "#pragma rs reduce(${reduceName}) accumulator(${accumName}) combiner(combiner)\n";64 print "static void ${accumName}(int *accum, ${eltNameA} a, ${eltNameB} b";
55 my $accumName = "${reduceName}_accum";59 …print "#pragma rs reduce(${reduceName}) accumulator(${accumName}) combiner(${combName}) outconvert…61 print "static void ${accumName}(${resultName} *accum, int val) { }\n";
112 static inline std::string nameReduceCombinerFromAccumulator(llvm::StringRef accumName) { in nameReduceCombinerFromAccumulator() argument113 return std::string(accumName) + ".combiner"; in nameReduceCombinerFromAccumulator()