Home
last modified time | relevance | path

Searched refs:reduce (Results 1 – 25 of 96) sorted by relevance

1234

/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect1 reduce_general_parse.rscript:5:18: error: missing '(' after 'reduce' for '#pragma rs reduce'
2 reduce_general_parse.rscript:6:19: error: missing name after 'reduce(' for '#pragma rs reduce'
3 reduce_general_parse.rscript:7:20: error: missing name after 'reduce(' for '#pragma rs reduce'
4 reduce_general_parse.rscript:8:19: error: missing name after 'reduce(' for '#pragma rs reduce'
5 reduce_general_parse.rscript:9:22: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
6 reduce_general_parse.rscript:10:25: error: missing ')' after 'reduce(foo' for '#pragma rs reduce'
7 reduce_general_parse.rscript:11:12: error: missing 'accumulator' for '#pragma rs reduce'
8 reduce_general_parse.rscript:12:36: error: missing name after 'initializer(' for '#pragma rs reduce'
9 reduce_general_parse.rscript:13:12: error: missing 'accumulator' for '#pragma rs reduce'
11 reduce_general_parse.rscript:17:63: error: more than one 'accumulator' for '#pragma rs reduce'
[all …]
Dreduce_general_parse.rscript5 #pragma rs reduce
6 #pragma rs reduce(
7 #pragma rs reduce (
8 #pragma rs reduce(*
9 #pragma rs reduce(foo
10 #pragma rs reduce (foo
11 #pragma rs reduce(foo )
12 #pragma rs reduce(foo) initializer(
13 #pragma rs reduce(foo) initializer(init)
14 #pragma rs reduce(foo) initializer(init) accumulator(accum)
[all …]
/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript17 #pragma rs reduce(my_half_half_0) accumulator(my_half_half_0_accum) combiner(combiner)
20 #pragma rs reduce(my_half_half_1) accumulator(my_half_half_1_accum) combiner(combiner)
23 #pragma rs reduce(my_half_half2_0) accumulator(my_half_half2_0_accum) combiner(combiner)
26 #pragma rs reduce(my_half_half2_1) accumulator(my_half_half2_1_accum) combiner(combiner)
29 #pragma rs reduce(my_half_half4_0) accumulator(my_half_half4_0_accum) combiner(combiner)
32 #pragma rs reduce(my_half_half4_1) accumulator(my_half_half4_1_accum) combiner(combiner)
35 #pragma rs reduce(my_half_float_0) accumulator(my_half_float_0_accum) combiner(combiner)
38 #pragma rs reduce(my_half_float_1) accumulator(my_half_float_1_accum) combiner(combiner)
41 #pragma rs reduce(my_half_float2_0) accumulator(my_half_float2_0_accum) combiner(combiner)
44 #pragma rs reduce(my_half_float2_1) accumulator(my_half_float2_1_accum) combiner(combiner)
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rscript17 #pragma rs reduce(my_half_0) accumulator(my_half_0_accum) combiner(combiner)
20 #pragma rs reduce(my_half_1) accumulator(my_half_1_accum) combiner(combiner)
23 #pragma rs reduce(my_half_2) accumulator(my_half_2_accum) combiner(combiner)
26 #pragma rs reduce(my_half_3) accumulator(my_half_3_accum) combiner(combiner)
29 #pragma rs reduce(my_half_4) accumulator(my_half_4_accum) combiner(combiner)
32 #pragma rs reduce(my_half_5) accumulator(my_half_5_accum) combiner(combiner)
35 #pragma rs reduce(my_half_6) accumulator(my_half_6_accum) combiner(combiner)
38 #pragma rs reduce(my_half_7) accumulator(my_half_7_accum) combiner(combiner)
41 #pragma rs reduce(my_half_8) accumulator(my_half_8_accum) combiner(combiner)
44 #pragma rs reduce(my_half_9) accumulator(my_half_9_accum) combiner(combiner)
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect1 reduce_general_bad_function.rscript:18:13: error: initializer init0() for '#pragma rs reduce(init0)…
2 reduce_general_bad_function.rscript:22:13: error: initializer init2() for '#pragma rs reduce(init2)…
3 …nction.rscript:26:13: error: initializer init_special1() for '#pragma rs reduce(init_special1)' (r…
4 …ction.rscript:30:13: error: initializer init2_special1() for '#pragma rs reduce(init2_special1)' (…
5 …ction.rscript:34:13: error: initializer init2_special0() for '#pragma rs reduce(init2_special0)' (…
6 reduce_general_bad_function.rscript:38:13: error: initializer init_noptr() for '#pragma rs reduce(i…
7 …uplicate function definition for 'initializer(init_dup)' for '#pragma rs reduce(init_dup)' (reduce…
8 … not find function definition for 'initializer(init_missing)' for '#pragma rs reduce(init_missing)'
9 …nction.rscript:54:6: error: initializer init_nonstatic() for '#pragma rs reduce(init_nonstatic)' (…
10 reduce_general_bad_function.rscript:58:12: error: initializer init_nonvoid() for '#pragma rs reduce
[all …]
Dreduce_general_bad_function.rscript17 #pragma rs reduce(init0) initializer(init0) accumulator(AccumInt)
21 #pragma rs reduce(init2) initializer(init2) accumulator(AccumInt)
25 #pragma rs reduce(init_special1) initializer(init_special1) accumulator(AccumInt)
29 #pragma rs reduce(init2_special1) initializer(init2_special1) accumulator(AccumInt)
33 #pragma rs reduce(init2_special0) initializer(init2_special0) accumulator(AccumInt)
37 #pragma rs reduce(init_noptr) initializer(init_noptr) accumulator(AccumInt)
41 #pragma rs reduce(init_over) initializer(init_over) accumulator(AccumInt)
45 #pragma rs reduce(init_dup) initializer(init_dup) accumulator(AccumInt)
50 #pragma rs reduce(init_missing) initializer(init_missing) accumulator(AccumInt)
53 #pragma rs reduce(init_nonstatic) initializer(init_nonstatic) accumulator(AccumInt)
[all …]
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dstderr.txt.expect1 setelementat.rscript:21:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
2 setelementat.rscript:22:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
3 setelementat.rscript:23:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
4 setelementat.rscript:24:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
5 setelementat.rscript:25:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
6 setelementat.rscript:26:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
7 setelementat.rscript:27:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
8 setelementat.rscript:28:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
9 setelementat.rscript:29:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
10 setelementat.rscript:30:5: warning: untyped rsSetElementAt() can reduce performance. Use rsSetEleme…
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript13 #pragma rs reduce(my_half) accumulator(my_half_accum) combiner(my_half_comb)
17 #pragma rs reduce(my_half2) accumulator(my_half2_accum) combiner(my_half2_comb)
21 #pragma rs reduce(my_half4) accumulator(my_half4_accum) combiner(my_half4_comb)
25 #pragma rs reduce(my_array_half) accumulator(my_array_half_accum) combiner(my_array_half_comb)
30 #pragma rs reduce(my_array_half2) accumulator(my_array_half2_accum) combiner(my_array_half2_comb)
35 #pragma rs reduce(my_array_half4) accumulator(my_array_half4_accum) combiner(my_array_half4_comb)
40 #pragma rs reduce(my_float) accumulator(my_float_accum) combiner(my_float_comb)
44 #pragma rs reduce(my_float2) accumulator(my_float2_accum) combiner(my_float2_comb)
48 #pragma rs reduce(my_float4) accumulator(my_float4_accum) combiner(my_float4_comb)
52 #pragma rs reduce(my_array_float) accumulator(my_array_float_accum) combiner(my_array_float_comb)
[all …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rscript29 #pragma rs reduce(my_half) accumulator(my_half_accum) combiner(my_half_comb) outconverter(my_half_o…
34 #pragma rs reduce(my_half2) accumulator(my_half2_accum) combiner(my_half2_comb) outconverter(my_hal…
39 #pragma rs reduce(my_half4) accumulator(my_half4_accum) combiner(my_half4_comb) outconverter(my_hal…
44 #pragma rs reduce(my_array_half) accumulator(my_array_half_accum) combiner(my_array_half_comb) outc…
50 #pragma rs reduce(my_array_half2) accumulator(my_array_half2_accum) combiner(my_array_half2_comb) o…
56 #pragma rs reduce(my_array_half4) accumulator(my_array_half4_accum) combiner(my_array_half4_comb) o…
62 #pragma rs reduce(my_float) accumulator(my_float_accum) combiner(my_float_comb) outconverter(my_flo…
67 #pragma rs reduce(my_float2) accumulator(my_float2_accum) combiner(my_float2_comb) outconverter(my_…
72 #pragma rs reduce(my_float4) accumulator(my_float4_accum) combiner(my_float4_comb) outconverter(my_…
77 #pragma rs reduce(my_array_float) accumulator(my_array_float_accum) combiner(my_array_float_comb) o…
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_halter/
Dstderr.txt.expect1 reduce_general_bad_halter.rscript:18:13: error: halter halt_void() for '#pragma rs reduce(halt_void…
2 reduce_general_bad_halter.rscript:22:12: error: halter halt_int() for '#pragma rs reduce(halt_int)'…
3 reduce_general_bad_halter.rscript:26:13: error: halter halt0() for '#pragma rs reduce(halt0)' (redu…
4 reduce_general_bad_halter.rscript:30:13: error: halter halt2() for '#pragma rs reduce(halt2)' (redu…
5 reduce_general_bad_halter.rscript:34:13: error: halter halt_special() for '#pragma rs reduce(halt_s…
6 reduce_general_bad_halter.rscript:38:13: error: halter hva_halt() for '#pragma rs reduce(halt_vs_ac…
7 …or: duplicate function definition for 'halter(halt_dup)' for '#pragma rs reduce(halt_dup)' (reduce…
8 …could not find function definition for 'halter(halt_missing)' for '#pragma rs reduce(halt_missing)'
9 reduce_general_bad_halter.rscript:54:6: error: halter halt_nonstatic() for '#pragma rs reduce(halt_…
10 reduce_general_bad_halter.rscript:58:29: error: halter halt_const() for '#pragma rs reduce(halt_con…
Dreduce_general_bad_halter.rscript17 #pragma rs reduce(halt_void) accumulator(AccumInt) halter(halt_void)
21 #pragma rs reduce(halt_int) accumulator(AccumInt) halter(halt_int)
25 #pragma rs reduce(halt0) accumulator(AccumInt) halter(halt0)
29 #pragma rs reduce(halt2) accumulator(AccumInt) halter(halt2)
33 #pragma rs reduce(halt_special) accumulator(AccumInt) halter(halt_special)
37 #pragma rs reduce(halt_vs_accum) accumulator(AccumInt) halter(hva_halt)
41 #pragma rs reduce(halt_over) accumulator(AccumInt) halter(halt_over)
45 #pragma rs reduce(halt_dup) accumulator(AccumInt) halter(halt_dup)
50 #pragma rs reduce(halt_missing) accumulator(AccumInt) halter(halt_missing)
53 #pragma rs reduce(halt_nonstatic) accumulator(AccumInt) halter(halt_nonstatic)
[all …]
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp155 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i]; in dumpInfo() local
156 fprintf(info, "%u - %s - %u - %u\n", reduce.mSignature, reduce.mReduceName, in dumpInfo()
157 reduce.mInputCount, reduce.mAccumulatorDataSize); in dumpInfo()
158 dumpReduceInfo(info, "initializer", reduce.mInitializerName); in dumpInfo()
159 dumpReduceInfo(info, "accumulator", reduce.mAccumulatorName); in dumpInfo()
160 dumpReduceInfo(info, "combiner", reduce.mCombinerName); in dumpInfo()
161 dumpReduceInfo(info, "outconverter", reduce.mOutConverterName); in dumpInfo()
162 dumpReduceInfo(info, "halter", reduce.mHalterName); in dumpInfo()
222 const bcinfo::MetadataExtractor::Reduce &reduce = reduceList[i]; in dumpMetadata() local
223 printf("exportReduceList[%zu]: %s - 0x%08x - %u - %u\n", i, reduce.mReduceName, in dumpMetadata()
[all …]
/frameworks/ml/nn/common/operations/
DReduce.cpp32 namespace reduce { namespace
256 NN_REGISTER_OPERATION(REDUCE_PROD, "REDUCE_PROD", reduce::validateProdSum, reduce::prepare,
257 reduce::executeProd);
258 NN_REGISTER_OPERATION(REDUCE_SUM, "REDUCE_SUM", reduce::validateProdSum, reduce::prepare,
259 reduce::executeSum);
260 NN_REGISTER_OPERATION(REDUCE_MAX, "REDUCE_MAX", reduce::validateMaxMin, reduce::prepare,
261 reduce::executeMax);
262 NN_REGISTER_OPERATION(REDUCE_MIN, "REDUCE_MIN", reduce::validateMaxMin, reduce::prepare,
263 reduce::executeMin);
264 NN_REGISTER_OPERATION(REDUCE_ANY, "REDUCE_ANY", reduce::validateLogical, reduce::prepare,
[all …]
/frameworks/compile/libbcc/lib/
DRSEmbedInfo.cpp132 const bcinfo::MetadataExtractor::Reduce &reduce = exportReduceList[i]; in getRSInfoString() local
133 s << reduce.mSignature << " - " in getRSInfoString()
134 << reduce.mAccumulatorDataSize << " - " in getRSInfoString()
135 << reduce.mReduceName << " - " in getRSInfoString()
136 << reduceFnName(reduce.mInitializerName) << " - " in getRSInfoString()
137 << reduceFnName(reduce.mAccumulatorName) << " - " in getRSInfoString()
138 << ((reduce.mCombinerName != nullptr) in getRSInfoString()
139 ? reduce.mCombinerName in getRSInfoString()
140 : nameReduceCombinerFromAccumulator(reduce.mAccumulatorName)) << " - " in getRSInfoString()
141 << reduceFnName(reduce.mOutConverterName) << " - " in getRSInfoString()
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/
Dstderr.txt.expect3 reduce_general_bad_accumulator.rscript:14:13: error: accumulator AccumIntA() for '#pragma rs reduce
4 reduce_general_bad_accumulator.rscript:14:13: error: accumulator AccumIntA() for '#pragma rs reduce
5 …script:28:13: error: accumulator AccumStructIncomplete() for '#pragma rs reduce(redStructIncomplet…
6 …script:28:13: error: accumulator AccumStructIncomplete() for '#pragma rs reduce(redStructIncomplet…
7 reduce_general_bad_accumulator.rscript:43:13: error: accumulator AccumFn() for '#pragma rs reduce(r…
8 reduce_general_bad_accumulator.rscript:44:44: error: combiner CombineFn() for '#pragma rs reduce(re…
9 reduce_general_bad_accumulator.rscript:43:13: error: accumulator AccumFn() for '#pragma rs reduce(r…
10 reduce_general_bad_accumulator.rscript:44:44: error: combiner CombineFn() for '#pragma rs reduce(re…
11 reduce_general_bad_accumulator.rscript:48:39: error: outconverter OutFn() for '#pragma rs reduce(re…
12 reduce_general_bad_accumulator.rscript:55:13: error: accumulator AccumObj() for '#pragma rs reduce(…
[all …]
Dreduce_general_bad_accumulator.rscript13 #pragma rs reduce(redIntA) accumulator(AccumIntA) combiner(CombIntA)
18 #pragma rs reduce(redIntAOut) accumulator(AccumIntA) combiner(CombIntA) outconverter(OutIntA)
27 #pragma rs reduce(redStructIncomplete) accumulator(AccumStructIncomplete) combiner(CombStructIncomp…
32 #pragma rs reduce(redStructIncompleteOut) accumulator(AccumStructIncomplete) combiner(CombStructInc…
42 #pragma rs reduce(redFn) accumulator(AccumFn) combiner(CombineFn)
47 #pragma rs reduce(redFnOut) accumulator(AccumFn) combiner(CombineFn) outconverter(OutFn)
54 #pragma rs reduce(redObj) accumulator(AccumObj) combiner(CombineObj)
59 #pragma rs reduce(redObjOut) accumulator(AccumObj) combiner(CombineObj) outconverter(OutObj)
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dreduce_general_bad_result.rscript21 #pragma rs reduce(redUInt2dA) accumulator(AccumUInt2dA) combiner(CombUInt2dA)
26 #pragma rs reduce(redUInt2dAOutFix) accumulator(AccumUInt2dA) combiner(CombUInt2dA) \
31 #pragma rs reduce(redUInt2dAOutBreak) accumulator(AccumInt) outconverter(OutUInt2dABreak)
52 #pragma rs reduce(redUnionShortDouble) accumulator(AccumUnionShortDouble) \
59 #pragma rs reduce(redUnionCharIntOutFix) accumulator(AccumUnionCharInt) \
66 #pragma rs reduce(redUnionLongFloatOutBreak) accumulator(AccumInt) \
91 #pragma rs reduce(redUnionIntFloatArray) accumulator(AccumUnionIntFloatArray) \
98 #pragma rs reduce(redUnionDoubleFloatArrayOutFix) accumulator(AccumUnionDoubleFloatArray) \
106 #pragma rs reduce(redUnionCharLongArrayOutBreak) accumulator(AccumInt) \
128 #pragma rs reduce(redBits) accumulator(AccumBits) combiner(CombineBits)
[all …]
Dstderr.txt.expect11 reduce_general_bad_result.rscript:183:36: error: accumulator AccumMat() for '#pragma rs reduce(redM…
12 reduce_general_bad_result.rscript:191:39: error: outconverter OutMatBreak() for '#pragma rs reduce(…
13 reduce_general_bad_result.rscript:199:43: error: accumulator AccumMatArray() for '#pragma rs reduce
14 …t.rscript:209:46: error: outconverter OutMatArrayBreak() for '#pragma rs reduce(redMatArrayOutBrea…
15 reduce_general_bad_result.rscript:215:37: error: outconverter OutAlloc() for '#pragma rs reduce(red…
16 …sult.rscript:224:39: error: outconverter OutAllocArray() for '#pragma rs reduce(redAllocArray)' (r…
17 reduce_general_bad_result.rscript:236:45: error: outconverter OutStructObj() for '#pragma rs reduce
18 ….rscript:250:48: error: outconverter OutStructObjArray() for '#pragma rs reduce(redStructObjArray)…
19 reduce_general_bad_result.rscript:258:27: error: accumulator AccumPtr() for '#pragma rs reduce(redP…
20 reduce_general_bad_result.rscript:268:30: error: outconverter OutPtrBreak() for '#pragma rs reduce(…
[all …]
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra32/
Dreflection3264_reduce_extra32.rscript6 #pragma rs reduce(aa) accumulator(accum)
7 #pragma rs reduce(bb) accumulator(accum)
10 #pragma rs reduce(cc) accumulator(accum)
11 #pragma rs reduce(dd) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_reduce_extra64/
Dreflection3264_reduce_extra64.rscript6 #pragma rs reduce(aa) accumulator(accum)
7 #pragma rs reduce(bb) accumulator(accum)
10 #pragma rs reduce(cc) accumulator(accum)
11 #pragma rs reduce(dd) accumulator(accum)
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dreflection3264_reduce_mismatch.rscript8 #pragma rs reduce(aa) accumulator(aaAccum) combiner(aaCombAlpha) outconverter(aaOut)
10 #pragma rs reduce(aa) accumulator(aaAccum) combiner(aaCombBeta) outconverter(aaOut)
24 #pragma rs reduce(bb) accumulator(bbAccum) combiner(bbComb) outconverter(bbOut)
27 #pragma rs reduce(bb) accumulator(bbAccum) combiner(bbComb)
37 #pragma rs reduce(cc) accumulator(ccAccum) combiner(ccComb) outconverter(ccOut)
43 #pragma rs reduce(dd) accumulator(ddAccum) combiner(ddComb)
52 #pragma rs reduce(ee) accumulator(eeAccum) combiner(eeComb) outconverter(eeOut)
53 #pragma rs reduce(ff) accumulator(ffAccum) combiner(ffComb) outconverter(ffOut)
54 #pragma rs reduce(gg) accumulator(ggAccum) outconverter(ggOut)
/frameworks/compile/slang/tests/P_reduce_general_reflect/
Dreduce_general_reflect.rscript11 #pragma rs reduce(d1) accumulator(d1_accum) outconverter(d1_out)
15 #pragma rs reduce(d2) accumulator(d2_accum)
22 #pragma rs reduce(a3) accumulator(a3_accum) combiner(a3_comb)
27 #pragma rs reduce(a7) accumulator(a7_accum) combiner(a7_comb)
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript12 #pragma rs reduce(addint) \
19 #pragma rs reduce(mpyint) \
28 #pragma rs reduce(dp) \
40 #pragma rs reduce(findMinAndMax) \
86 #pragma rs reduce(fz) \
103 #pragma rs reduce(fz2) \
125 #pragma rs reduce(histogram) \
138 #pragma rs reduce(mode) \
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript14 #pragma rs reduce(addint) \
23 #pragma rs reduce(mpyint) \
35 #pragma rs reduce(dp) \
80 #pragma rs reduce(findMinAndMax) \
97 #pragma rs reduce(fz) \
119 #pragma rs reduce(fz2) \
135 #pragma rs reduce(histogram) \
146 #pragma rs reduce(mode) \
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch_name_exp/
Dreflection3264_reduce_mismatch_name_exp.rscript7 #pragma rs reduce(a64) accumulator(accumBad)
9 #pragma rs reduce(a32) accumulator(accumBad)
15 #pragma rs reduce(b) accumulator(accumBad)

1234