Home
last modified time | relevance | path

Searched refs:accumulator (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rs17 #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.rs17 #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/
Dreduce_general_bad_function.rs17 #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 …]
Dstderr.txt.expect12 reduce_general_bad_function.rs:74:13: error: accumulator accum0() for '#pragma rs reduce(accum0)' (…
13 reduce_general_bad_function.rs:78:13: error: accumulator accum1() for '#pragma rs reduce(accum1)' (…
14 reduce_general_bad_function.rs:82:13: error: accumulator accum_noptr() for '#pragma rs reduce(accum…
15 reduce_general_bad_function.rs:87:13: error: accumulator avi_accum() for '#pragma rs reduce(accum_v…
16 reduce_general_bad_function.rs:91:13: error: accumulator accum_special() for '#pragma rs reduce(acc…
17 reduce_general_bad_function.rs:95:41: error: accumulator accum_ptr() for '#pragma rs reduce(accum_p…
18 reduce_general_bad_function.rs:101:45: error: accumulator accum_arr() for '#pragma rs reduce(accum_…
19 reduce_general_bad_function.rs:106:55: error: accumulator accum_obj() for '#pragma rs reduce(accum_…
20 reduce_general_bad_function.rs:114:12: error: duplicate function definition for 'accumulator(accum_…
21 reduce_general_bad_function.rs:119:12: error: could not find function definition for 'accumulator(a…
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rs13 #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/F_reduce_general_bad_result/
Dreduce_general_bad_result.rs21 #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 …]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rs3 #pragma rs java_package_name(accumulator)
29 #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_…
[all …]
/frameworks/compile/slang/tests/F_reduce_general_bad_halter/
Dreduce_general_bad_halter.rs17 #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/av/media/libnbaio/
DNBAIO.cpp77 size_t accumulator = 0; in writeVia() local
78 while (accumulator < total) { in writeVia()
79 size_t count = total - accumulator; in writeVia()
90 accumulator += ret; in writeVia()
94 return accumulator > 0 ? accumulator : ret; in writeVia()
96 return accumulator; in writeVia()
113 size_t accumulator = 0; in readVia() local
114 while (accumulator < total) { in readVia()
115 size_t count = total - accumulator; in readVia()
126 accumulator += ret; in readVia()
[all …]
DAudioBufferProviderSource.cpp90 for (size_t accumulator = 0; ; ) { in readVia() local
91 ALOG_ASSERT(accumulator <= total); in readVia()
92 size_t count = total - accumulator; in readVia()
94 return accumulator; in readVia()
113 return accumulator > 0 ? accumulator : (ssize_t) status; in readVia()
123 if (CC_LIKELY(accumulator > 0)) { in readVia()
124 return accumulator; in readVia()
130 accumulator += ret; in readVia()
/frameworks/compile/slang/tests/F_reduce_general_parse/
Dreduce_general_parse.rs14 #pragma rs reduce(foo) initializer(init) accumulator(accum)
15 #pragma rs reduce(foo) initializer(init2) accumulator(accum2)
16 #pragma rs reduce(bar) accumulator(baccum) initializer(binit)
17 #pragma rs reduce(baz) accumulator(baccum) initializer(binit) accumulator(baccum)
18 #pragma rs reduce(baz) accumulator(baccum) initializer(binit) accumulator(baccum2)
20 #pragma rs reduce(goo) initializer(gi) accumulator(ga) (
Dstderr.txt.expect7 reduce_general_parse.rs:11:12: error: missing 'accumulator' for '#pragma rs reduce'
9 reduce_general_parse.rs:13:12: error: missing 'accumulator' for '#pragma rs reduce'
11 reduce_general_parse.rs:17:63: error: more than one 'accumulator' for '#pragma rs reduce'
12 reduce_general_parse.rs:18:63: error: more than one 'accumulator' for '#pragma rs reduce'
13 …ething' for '#pragma reduce'; expected one of the following keywords: 'accumulator', 'combiner', '…
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/
Dreduce_general_bad_accumulator.rs13 #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.expect3 reduce_general_bad_accumulator.rs:14:13: error: accumulator AccumIntA() for '#pragma rs reduce(redI…
4 reduce_general_bad_accumulator.rs:14:13: error: accumulator AccumIntA() for '#pragma rs reduce(redI…
5 reduce_general_bad_accumulator.rs:28:13: error: accumulator AccumStructIncomplete() for '#pragma rs…
6 reduce_general_bad_accumulator.rs:28:13: error: accumulator AccumStructIncomplete() for '#pragma rs…
7 reduce_general_bad_accumulator.rs:43:13: error: accumulator AccumFn() for '#pragma rs reduce(redFn)…
9 reduce_general_bad_accumulator.rs:43:13: error: accumulator AccumFn() for '#pragma rs reduce(redFnO…
12 reduce_general_bad_accumulator.rs:55:13: error: accumulator AccumObj() for '#pragma rs reduce(redOb…
13 reduce_general_bad_accumulator.rs:55:13: error: accumulator AccumObj() for '#pragma rs reduce(redOb…
/frameworks/compile/slang/tests/F_reflection3264_reduce_mismatch/
Dreflection3264_reduce_mismatch.rs8 #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/F_reflection3264_reduce_extra32/
Dreflection3264_reduce_extra32.rs6 #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.rs6 #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/ml/nn/runtime/
DManager.cpp102 uint32_t accumulator = baseAccumulator; in getSupportedOperations() local
104 accumulator ^= static_cast<uint32_t>(operation.type); in getSupportedOperations()
105 auto accumulateOperands = [&hidlModel, &accumulator](const hidl_vec<uint32_t>& operands) { in getSupportedOperations()
108 accumulator ^= static_cast<uint32_t>(operand.type); in getSupportedOperations()
109 accumulator ^= operand.dimensions.size(); in getSupportedOperations()
111 accumulator ^= dimension; in getSupportedOperations()
114 accumulator ^= 1; in getSupportedOperations()
121 if (accumulator & 1) { in getSupportedOperations()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dreduce.rs35 accumulator(aiAccum)
58 initializer(fMinAbsNaNInit) accumulator(fMinAbsNaNAccumulator) combiner(fMinAbsNaNCombiner)
90 initializer(fMinAbsBoolInit) accumulator(fMinAbsBoolAccumulator) combiner(fMinAbsBoolCombiner) \
115 initializer(fMMInit) accumulator(fMMAccumulator) \
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)
[all …]
Dreduce_backward.rs32 accumulator(aiAccum)
78 initializer(fMMInit) accumulator(fMMAccumulator) \
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) \
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dreduce.rs37 accumulator(aiAccum)
60 initializer(fMinAbsNaNInit) accumulator(fMinAbsNaNAccumulator) combiner(fMinAbsNaNCombiner)
92 initializer(fMinAbsBoolInit) accumulator(fMinAbsBoolAccumulator) combiner(fMinAbsBoolCombiner) \
117 initializer(fMMInit) accumulator(fMMAccumulator) \
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)
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples/
Dreduce_general_examples.rs13 accumulator(aiAccum)
20 initializer(mpyInit) accumulator(mpyAccum)
29 accumulator(dpAccum) combiner(dpSum)
41 initializer(fMMInit) accumulator(fMMAccumulator) \
88 accumulator(fzAccum) combiner(fzCombine)
105 accumulator(fz2Accum) combiner(fz2Combine)
126 accumulator(hsgAccum) combiner(hsgCombine)
139 accumulator(hsgAccum) combiner(hsgCombine) \
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
Dreduce_general_examples_backward.rs15 accumulator(aiAccum)
24 initializer(mpyInit) accumulator(mpyAccum)
36 accumulator(dpAccum) combiner(dpSum)
81 initializer(fMMInit) accumulator(fMMAccumulator) \
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_reflect/
Dreduce_general_reflect.rs11 #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_explicit/
Dreduce_general_examples_explicit.rs13 initializer(aiiInit) accumulator(aiiAccum)
22 accumulator(aicAccum) combiner(aicComb)
31 initializer(aiicInit) accumulator(aiicAccum) combiner(aiicComb)
42 initializer(dpiInit) accumulator(dpiAccum) combiner(dpiSum)
56 initializer(hsgiInit) accumulator(hsgiAccum) combiner(hsgiCombine)

123