/frameworks/compile/slang/tests/P_reduce_general_accumulator/ |
D | reduce_general_accumulator.rs | 30 static void my_half_accum(half *accum, int val) { } 31 static void my_half_comb(half *accum, const half *other) { } 32 static void my_half_out(int *out, const half *accum) { } 35 static void my_half2_accum(half2 *accum, int val) { } 36 static void my_half2_comb(half2 *accum, const half2 *other) { } 37 static void my_half2_out(int *out, const half2 *accum) { } 40 static void my_half4_accum(half4 *accum, int val) { } 41 static void my_half4_comb(half4 *accum, const half4 *other) { } 42 static void my_half4_out(int *out, const half4 *accum) { } 46 static void my_array_half_accum(array_half *accum, int val) { } [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_result/ |
D | reduce_general_result.rs | 14 static void my_half_accum(half *accum, half val) { } 15 static void my_half_comb(half *accum, const half *other) { } 18 static void my_half2_accum(half2 *accum, half2 val) { } 19 static void my_half2_comb(half2 *accum, const half2 *other) { } 22 static void my_half4_accum(half4 *accum, half4 val) { } 23 static void my_half4_comb(half4 *accum, const half4 *other) { } 27 static void my_array_half_accum(array_half *accum, half val) { } 28 static void my_array_half_comb(array_half *accum, const array_half *other) { } 32 static void my_array_half2_accum(array_half2 *accum, half2 val) { } 33 static void my_array_half2_comb(array_half2 *accum, const array_half2 *other) { } [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | reduce.rs | 16 static void aiAccum(int *accum, int val) { *accum += val; } 33 static void fMMInit(MinAndMax *accum) { 34 accum->min.val = posInf; 35 accum->min.idx = -1; 36 accum->max.val = negInf; 37 accum->max.idx = -1; 40 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 45 if (me.val < accum->min.val) 46 accum->min = me; 47 if (me.val > accum->max.val) [all …]
|
D | reduce_backward.rs | 13 static void aiAccum(int *accum, int val) { *accum += val; } 29 static void fMMInit(MinAndMax *accum) { 30 accum->min.val = posInf; 31 accum->min.idx = -1; 32 accum->max.val = negInf; 33 accum->max.idx = -1; 36 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 41 if (me.val < accum->min.val) 42 accum->min = me; 43 if (me.val > accum->max.val) [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | reduce_backward.rs | 11 static void aiAccum(int *accum, int val) { *accum += val; } 27 static void fMMInit(MinAndMax *accum) { 28 accum->min.val = posInf; 29 accum->min.idx = -1; 30 accum->max.val = negInf; 31 accum->max.idx = -1; 34 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 39 if (me.val < accum->min.val) 40 accum->min = me; 41 if (me.val > accum->max.val) [all …]
|
D | reduce.rs | 15 static void aiAccum(int *accum, int val) { *accum += val; } 32 static void fMMInit(MinAndMax *accum) { 33 accum->min.val = posInf; 34 accum->min.idx = -1; 35 accum->max.val = negInf; 36 accum->max.idx = -1; 39 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 44 if (me.val < accum->min.val) 45 accum->min = me; 46 if (me.val > accum->max.val) [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/ |
D | reduce_general_examples_explicit.rs | 15 static void aiiInit(int *accum) { *accum = 0; } // unnecessary 17 static void aiiAccum(int *accum, int val) { *accum += val; } 24 static void aicAccum(int *accum, int val) { *accum += val; } 26 static void aicComb(int *accum, const int *other) { *accum += *other; } // unnecessary 33 static void aiicInit(int *accum) { *accum = 0; } // unnecessary 35 static void aiicAccum(int *accum, int val) { *accum += val; } 37 static void aiicComb(int *accum, const int *other) { *accum += *other; } // unnecessary 44 static void dpiInit(float *accum) { *accum = 0.0f; } // unnecessary 46 static void dpiAccum(float *accum, float in1, float in2) { 47 *accum += in1*in2; [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
D | reduce_general_inputs.rs | 15 static void combiner(int *accum, const int *other) { } 18 static void my_half_half_0_accum(int *accum, half a, half b) { } 21 static void my_half_half_1_accum(int *accum, half a, half b, rs_kernel_context context) { } 24 static void my_half_half2_0_accum(int *accum, half a, half2 b) { } 27 static void my_half_half2_1_accum(int *accum, half a, half2 b, rs_kernel_context context) { } 30 static void my_half_half4_0_accum(int *accum, half a, half4 b) { } 33 static void my_half_half4_1_accum(int *accum, half a, half4 b, rs_kernel_context context) { } 36 static void my_half_float_0_accum(int *accum, half a, float b) { } 39 static void my_half_float_1_accum(int *accum, half a, float b, rs_kernel_context context) { } 42 static void my_half_float2_0_accum(int *accum, half a, float2 b) { } [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_input/ |
D | reduce_general_input.rs | 15 static void combiner(int *accum, const int *other) { } 18 static void my_half_0_accum(int *accum, half in) { } 21 static void my_half_1_accum(int *accum, half in, rs_kernel_context context) { } 24 static void my_half_2_accum(int *accum, half in, uint x) { } 27 static void my_half_3_accum(int *accum, half in, rs_kernel_context context, uint x) { } 30 static void my_half_4_accum(int *accum, half in, uint y) { } 33 static void my_half_5_accum(int *accum, half in, rs_kernel_context context, uint y) { } 36 static void my_half_6_accum(int *accum, half in, uint x, uint y) { } 39 static void my_half_7_accum(int *accum, half in, rs_kernel_context context, uint x, uint y) { } 42 static void my_half_8_accum(int *accum, half in, uint z) { } [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples/ |
D | reduce_general_examples.rs | 15 static void aiAccum(int *accum, int val) { *accum += val; } 22 static void mpyInit(int *accum) { *accum = 1; } 24 static void mpyAccum(int *accum, int val) { *accum *= val; } 31 static void dpAccum(float *accum, float in1, float in2) { 32 *accum += in1*in2; 36 static void dpSum(float *accum, const float *val) { *accum += *val; } 56 static void fMMInit(MinAndMax *accum) { 58 *accum = r; 61 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 66 if (me.val < accum->min.val) [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/ |
D | reduce_general_examples_backward.rs | 12 static void aiAccum(int *accum, int val) { *accum += val; } 19 static void mpyInit(int *accum) { *accum = 1; } 21 static void mpyAccum(int *accum, int val) { *accum *= val; } 28 static void dpAccum(float *accum, float in1, float in2) { 29 *accum += in1*in2; 33 static void dpSum(float *accum, const float *val) { *accum += *val; } 52 static void fMMInit(MinAndMax *accum) { 54 *accum = r; 57 static void fMMAccumulator(MinAndMax *accum, float in, int x) { 62 if (me.val < accum->min.val) [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_function/ |
D | reduce_general_bad_function.rs | 10 static void AccumInt(int *accum, int val) { } 42 static __attribute__((overloadable)) void init_over(int *accum) { } 46 static __attribute__((overloadable)) void init_dup(int *accum) { } 47 static __attribute__((overloadable)) void init_dup(unsigned int *accum) { } 54 void init_nonstatic(int *accum) { } 58 static int init_nonvoid(int *accum) { return 0; } 62 static void init_const(const int *accum) { } 66 static void init_valconst(int *const accum) { } constant 82 static void accum_noptr(int accum, int val) { } 86 static void avi_init(int *accum) { } [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/ |
D | reduce_general_examples_halter.rs | 35 static void fz2Init(int2 *accum) { accum->x = accum->y = -1; } 37 static void fz2Accum(int2 *accum, 42 accum->x = x; 43 accum->y = y; 47 static void fz2Combine(int2 *accum, const int2 *accum2) { 48 if (accum2->x >= 0) *accum = *accum2; 52 static bool fz2Found(const int2 *accum) { 53 return accum->x >= 0;
|
/frameworks/compile/slang/tests/F_reduce_general_bad_result/ |
D | reduce_general_bad_result.rs | 6 static void AccumInt(int *accum, int val) { } 22 static void AccumUInt2dA(UIntA916 *accum, int val) { } 23 static void CombUInt2dA(UIntA916 *accum, const UIntA916 *val) { } 54 static void AccumUnionShortDouble(union UnionShortDouble *accum, short s, double d) { } 55 static void CombineUnionShortDouble(union UnionShortDouble *accum, 61 static void AccumUnionCharInt(union UnionCharInt *accum, short s, double d) { } 62 static void CombineUnionCharInt(union UnionCharInt *accum, const union UnionCharInt *other) { } 93 static void AccumUnionIntFloatArray(UnionIntFloatArray *accum, int val) { } 94 static void CombineUnionIntFloatArray(UnionIntFloatArray *accum, 100 static void AccumUnionDoubleFloatArray(UnionDoubleFloatArray *accum, short s, double d) { } [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirProcessNeon.h | 99 int32x4_t accum, accum2; in ProcessNeonIntrinsic() local 102 accum = vdupq_n_s32(0); in ProcessNeonIntrinsic() 135 accum = vmlal_s16(accum, vget_low_s16(posSamp), vget_high_s16(posCoef)); // reversed in ProcessNeonIntrinsic() 136 accum = vmlal_s16(accum, vget_high_s16(posSamp), vget_low_s16(posCoef)); // reversed in ProcessNeonIntrinsic() 137 accum = vmlal_s16(accum, vget_low_s16(negSamp), vget_low_s16(negCoef)); in ProcessNeonIntrinsic() 138 accum = vmlal_s16(accum, vget_high_s16(negSamp), vget_high_s16(negCoef)); in ProcessNeonIntrinsic() 149 accum = vmlal_s16(accum, vget_low_s16(posSamp.val[0]), vget_high_s16(posCoef)); // r in ProcessNeonIntrinsic() 150 accum = vmlal_s16(accum, vget_high_s16(posSamp.val[0]), vget_low_s16(posCoef)); // r in ProcessNeonIntrinsic() 153 accum = vmlal_s16(accum, vget_low_s16(negSamp.val[0]), vget_low_s16(negCoef)); in ProcessNeonIntrinsic() 154 accum = vmlal_s16(accum, vget_high_s16(negSamp.val[0]), vget_high_s16(negCoef)); in ProcessNeonIntrinsic() [all …]
|
/frameworks/native/opengl/libagl/ |
D | matrix.h | 221 int32_t accum; in mla3a16() 224 accum = int64_t(a0)*int16_t(b0) >> 16; in mla3a16() 225 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16() 226 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16() 227 accum = (accum << shift) + c; in mla3a16() 228 return accum; in mla3a16() 262 int32_t accum; in mla3a16_btb() 266 accum = int64_t(a0)*int16_t(b0) >> 16; in mla3a16_btb() 267 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16_btb() 268 accum += int64_t(a2)*int16_t(b2) >> 16; in mla3a16_btb() [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_halter/ |
D | reduce_general_bad_halter.rs | 10 static void AccumInt(int *accum, int val) { } 18 static void halt_void(const int *accum) { } 22 static int halt_int(const int *accum) { return 0; } 30 static bool halt2(const int *accum, const int *accum2) { return false; } 38 static bool hva_halt(const unsigned *accum) { return false; } 42 static __attribute__((overloadable)) bool halt_over(const int *accum) { return false; } 46 static __attribute__((overloadable)) bool halt_dup(const int *accum) { return false; } 47 static __attribute__((overloadable)) bool halt_dup(const unsigned int *accum) { return false; } 54 bool halt_nonstatic(const int *accum) { return false; } 58 static bool halt_const(int *accum) { return false; }
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | ets_to_wmf.cpp | 174 UWord8 accum; in ets_to_wmf() local 220 accum = (UWord8) * (ptr_temp++) << 7; in ets_to_wmf() 221 accum |= (UWord8) * (ptr_temp++) << 6; in ets_to_wmf() 222 accum |= (UWord8) * (ptr_temp++) << 5; in ets_to_wmf() 223 accum |= (UWord8) * (ptr_temp++) << 4; in ets_to_wmf() 224 accum |= (UWord8) * (ptr_temp++) << 3; in ets_to_wmf() 225 accum |= (UWord8) * (ptr_temp++) << 2; in ets_to_wmf() 226 accum |= (UWord8) * (ptr_temp++) << 1; in ets_to_wmf() 227 accum |= (UWord8) * (ptr_temp++); in ets_to_wmf() 229 wmf_output_ptr[j++] = accum; in ets_to_wmf()
|
D | ets_to_if2.cpp | 149 UWord8 accum; in ets_to_if2() local 208 accum = (UWord8) * (ptr_temp++); in ets_to_if2() 209 accum |= (UWord8) * (ptr_temp++) << 1; in ets_to_if2() 210 accum |= (UWord8) * (ptr_temp++) << 2; in ets_to_if2() 211 accum |= (UWord8) * (ptr_temp++) << 3; in ets_to_if2() 212 accum |= (UWord8) * (ptr_temp++) << 4; in ets_to_if2() 213 accum |= (UWord8) * (ptr_temp++) << 5; in ets_to_if2() 214 accum |= (UWord8) * (ptr_temp++) << 6; in ets_to_if2() 215 accum |= (UWord8) * (ptr_temp++) << 7; in ets_to_if2() 217 if2_output_ptr[j++] = accum; in ets_to_if2()
|
/frameworks/compile/slang/tests/F_reduce_general_bad_accumulator/ |
D | reduce_general_bad_accumulator.rs | 3 #pragma rs java_package_name(accum) 14 static void AccumIntA(IntA *accum, int val) { } 15 static void CombIntA(IntA *accum, const IntA *val) { } 28 static void AccumStructIncomplete(struct Incomplete *accum, int val) { } 29 static void CombStructIncomplete(struct Incomplete *accum, const struct Incomplete *other) { } 43 static void AccumFn(Fn *accum, int val) { } 44 static void CombineFn(Fn *accum, const Fn *other) { } 55 static void AccumObj(rs_element *accum, int val) { } 56 static void CombineObj(rs_element *accum, const rs_element *other) { }
|
/frameworks/compile/slang/tests/F_reduce_general_void/ |
D | reduce_general_void.rs | 10 static void voidA_init(void *accum) { } 11 static void voidA_accum(void *accum, int val) { } 12 static void voidA_comb(void *accum, const void *other) { } 16 static void voidI_accum(int *accum, void *val) { } 17 static void voidI_comb(int *accum, const int *other) { } 21 static void voidO_accum(int *accum, int val) { }
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | test_reduce_general_cleanup.ll | 52 define internal void @aiAccum(i32* nocapture %accum, i32 %val) #0 { 53 %1 = load i32, i32* %accum, align 4, !tbaa !22 55 store i32 %2, i32* %accum, align 4, !tbaa !22 60 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 { 62 %2 = load float, float* %accum, align 4, !tbaa !26 64 store float %3, float* %accum, align 4, !tbaa !26 69 define internal void @dpSum(float* nocapture %accum, float* nocapture %val) #0 { 71 %2 = load float, float* %accum, align 4, !tbaa !26 73 store float %3, float* %accum, align 4, !tbaa !26 78 define internal void @fMMInit(%struct.MinAndMax* nocapture %accum) #0 { [all …]
|
D | test_reduce_general_metadata.ll | 49 define internal void @aiAccum(i32* nocapture %accum, i32 %val) #0 { 50 %1 = load i32, i32* %accum, align 4, !tbaa !18 52 store i32 %2, i32* %accum, align 4, !tbaa !18 57 define internal void @mpyInit(i32* nocapture %accum) #0 { 58 store i32 1, i32* %accum, align 4, !tbaa !18 63 define internal void @mpyAccum(i32* nocapture %accum, i32 %val) #0 { 64 %1 = load i32, i32* %accum, align 4, !tbaa !18 66 store i32 %2, i32* %accum, align 4, !tbaa !18 71 define internal void @dpAccum(float* nocapture %accum, float %in1, float %in2) #0 { 73 %2 = load float, float* %accum, align 4, !tbaa !22 [all …]
|
/frameworks/compile/slang/tests/P_reduce_general_reflect/ |
D | reduce_general_reflect.rs | 12 static void d1_accum(float *accum, float val) { } 16 static void d2_accum(double *accum, double val) { } 24 static void a3_accum(IntA3 *accum, int val) { } 25 static void a3_comb(IntA3 *accum, const IntA3 *other) { } 29 static void a7_accum(IntA7 *accum, int val) { } 30 static void a7_comb(IntA7 *accum, const IntA7 *other) { }
|
/frameworks/compile/slang/tests/F_reduce_general_parse/ |
D | reduce_general_parse.rs | 14 #pragma rs reduce(foo) initializer(init) accumulator(accum) 22 static void init(int *accum) { } 23 static void accum(int *accum, int val) { } 25 static void binit(int *accum) { } 26 static void baccum(int *accum, int val) { }
|