Home
last modified time | relevance | path

Searched refs:combiner (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript14 // Trivial combiner shared by all test cases
15 static void combiner(int *accum, const int *other) { }
17 #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)
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rscript14 // Trivial combiner shared by all test cases
15 static void combiner(int *accum, const int *other) { }
17 #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)
[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_function/
Dreduce_general_bad_function.rscript94 #pragma rs reduce(accum_ptr) accumulator(accum_ptr) combiner(comb_ptr)
99 #pragma rs reduce(accum_arr) accumulator(accum_arr) combiner(comb_arr)
105 #pragma rs reduce(accum_obj) accumulator(accum_obj) combiner(comb_obj)
138 // combiner
141 // combiner must take exactly 2 parameters
142 #pragma rs reduce(comb0) accumulator(AccumInt) combiner(comb0)
145 // combiner must take exactly 2 parameters
146 #pragma rs reduce(comb1) accumulator(AccumInt) combiner(comb1)
149 // combiner must take exactly 2 parameters
150 #pragma rs reduce(comb3) accumulator(AccumInt) combiner(comb3)
[all …]
Dstderr.txt.expect25 reduce_general_bad_function.rscript:143:13: error: combiner comb0() for '#pragma rs reduce(comb0)' …
26 reduce_general_bad_function.rscript:147:13: error: combiner comb1() for '#pragma rs reduce(comb1)' …
27 reduce_general_bad_function.rscript:151:13: error: combiner comb3() for '#pragma rs reduce(comb3)' …
28 reduce_general_bad_function.rscript:156:13: error: combiner cva_comb() for '#pragma rs reduce(comb_…
29 reduce_general_bad_function.rscript:156:13: error: combiner cva_comb() for '#pragma rs reduce(comb_…
30 …159:12) must have exactly 1 input and no special parameters in order for the combiner to be omitted
31 …163:12) must have exactly 1 input and no special parameters in order for the combiner to be omitted
32 …ointer to the type of parameter 'val' (type 'unsigned int') in order for the combiner to be omitted
33 reduce_general_bad_function.rscript:175:12: error: duplicate function definition for 'combiner(comb…
34 reduce_general_bad_function.rscript:180:12: error: could not find function definition for 'combiner
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/
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)
Dstderr.txt.expect8 reduce_general_bad_accumulator.rscript:44:44: error: combiner CombineFn() for '#pragma rs reduce(re…
10 reduce_general_bad_accumulator.rscript:44:44: error: combiner CombineFn() for '#pragma rs reduce(re…
/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)
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
Dreduce_general_examples_explicit.rscript22 accumulator(aicAccum) combiner(aicComb)
31 initializer(aiicInit) accumulator(aiicAccum) combiner(aiicComb)
42 initializer(dpiInit) accumulator(dpiAccum) combiner(dpiSum)
50 // combiner function
56 initializer(hsgiInit) accumulator(hsgiAccum) combiner(hsgiCombine)
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rscript32 // combiner function
36 accumulator(dpAccum) combiner(dpSum)
82 combiner(fMMCombiner) outconverter(fMMOutConverter)
99 accumulator(fzAccum) combiner(fzCombine)
121 accumulator(fz2Accum) combiner(fz2Combine)
136 accumulator(hsgAccum) combiner(hsgCombine)
147 accumulator(hsgAccum) combiner(hsgCombine) \
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rscript29 accumulator(dpAccum) combiner(dpSum)
35 // combiner function
42 combiner(fMMCombiner) outconverter(fMMOutConverter)
88 accumulator(fzAccum) combiner(fzCombine)
105 accumulator(fz2Accum) combiner(fz2Combine)
126 accumulator(hsgAccum) combiner(hsgCombine)
139 accumulator(hsgAccum) combiner(hsgCombine) \
/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) \
53 combiner(CombineUnionShortDouble)
60 combiner(CombineUnionCharInt) outconverter(OutUnionCharIntFix)
92 combiner(CombineUnionIntFloatArray)
99 combiner(CombineUnionDoubleFloatArray) outconverter(OutUnionDoubleFloatArrayFix)
128 #pragma rs reduce(redBits) accumulator(AccumBits) combiner(CombineBits)
133 #pragma rs reduce(redBitsOutFix) accumulator(AccumBitsOutFix) combiner(CombineBitsOutFix) \
164 #pragma rs reduce(redBitsArray) accumulator(AccumBitsArray) combiner(CombineBitsArray)
170 combiner(CombineBitsArrayOutFix) outconverter(OutBitsArrayFix)
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce_backward.rscript81 combiner(fMMCombiner) outconverter(fMMOutConverter)
98 accumulator(fzAccum) combiner(fzCombine)
120 accumulator(fz2Accum) combiner(fz2Combine)
144 accumulator(fz3Accum) combiner(fz3Combine)
159 accumulator(hsgAccum) combiner(hsgCombine)
170 accumulator(hsgAccum) combiner(hsgCombine) \
Dreduce.rscript60 initializer(fMinAbsNaNInit) accumulator(fMinAbsNaNAccumulator) combiner(fMinAbsNaNCombiner)
92 initializer(fMinAbsBoolInit) accumulator(fMinAbsBoolAccumulator) combiner(fMinAbsBoolCombiner) \
118 combiner(fMMCombiner) outconverter(fMMOutConverter)
165 accumulator(fzAccum) combiner(fzCombine)
182 accumulator(fz2Accum) combiner(fz2Combine)
204 accumulator(fz3Accum) combiner(fz3Combine)
227 accumulator(hsgAccum) combiner(hsgCombine)
240 accumulator(hsgAccum) combiner(hsgCombine) \
253 #pragma rs reduce(sumgcd) accumulator(sgAccum) combiner(sgCombine)
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce_backward.rscript79 combiner(fMMCombiner) outconverter(fMMOutConverter)
96 accumulator(fzAccum) combiner(fzCombine)
118 accumulator(fz2Accum) combiner(fz2Combine)
142 accumulator(fz3Accum) combiner(fz3Combine)
157 accumulator(hsgAccum) combiner(hsgCombine)
168 accumulator(hsgAccum) combiner(hsgCombine) \
Dreduce.rscript58 initializer(fMinAbsNaNInit) accumulator(fMinAbsNaNAccumulator) combiner(fMinAbsNaNCombiner)
90 initializer(fMinAbsBoolInit) accumulator(fMinAbsBoolAccumulator) combiner(fMinAbsBoolCombiner) \
116 combiner(fMMCombiner) outconverter(fMMOutConverter)
163 accumulator(fzAccum) combiner(fzCombine)
180 accumulator(fz2Accum) combiner(fz2Combine)
202 accumulator(fz3Accum) combiner(fz3Combine)
225 accumulator(hsgAccum) combiner(hsgCombine)
238 accumulator(hsgAccum) combiner(hsgCombine) \
251 #pragma rs reduce(sumgcd) accumulator(sgAccum) combiner(sgCombine)
/frameworks/compile/slang/tests/F_reduce_general_void/
Dreduce_general_void.rscript9 #pragma rs reduce(voidA) initializer(voidA_init) accumulator(voidA_accum) combiner(voidA_comb)
15 #pragma rs reduce(voidI) accumulator(voidI_accum) combiner(voidI_comb)
/frameworks/compile/slang/tests/P_reduce_general_reflect/
Dreduce_general_reflect.rscript22 #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_halter/
Dreduce_general_examples_halter.rscript9 accumulator(fzAccum) combiner(fzCombine) \
32 accumulator(fz2Accum) combiner(fz2Combine) \
/frameworks/compile/slang/tests/P_reduce_general_struct/
Dreduce_general_struct.rscript8 #pragma rs reduce(inStruct) accumulator(inStructAccum) combiner(inStructComb)
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll14 ; CHECK: combiner(dpSum)
18 ; CHECK: combiner(fMMCombiner)
23 ; CHECK: combiner(fzCombine)
28 ; CHECK: combiner(fz2Combine)
32 ; CHECK: combiner(hsgCombine)
35 ; CHECK: combiner(hsgCombine)
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dstderr.txt.expect13 …pragma reduce'; expected one of the following keywords: 'accumulator', 'combiner', 'initializer', …
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java451 StatCombiner<T> combiner, boolean skipEvents) { in queryStats() argument
491 truncatedEndTime, combiner, skipEvents); in queryStats()
508 combiner.combine(currentStats, true, results); in queryStats()
DUsageStatsDatabase.java826 StatCombiner<T> combiner, boolean skipEvents) { in queryUsageStats() argument
882 && !combiner.combine(stats, false, results)) { in queryUsageStats()

12