/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/ |
D | u32.c | 35 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref) in test_arm_distance() argument 52 val = arm_dice_distance(input1, input2, DIMS_VEC); in test_arm_distance() 55 val = arm_hamming_distance(input1, input2, DIMS_VEC); in test_arm_distance() 58 val = arm_jaccard_distance(input1, input2, DIMS_VEC); in test_arm_distance() 61 val = arm_kulsinski_distance(input1, input2, DIMS_VEC); in test_arm_distance() 65 input1, input2, DIMS_VEC); in test_arm_distance() 69 input1, input2, DIMS_VEC); in test_arm_distance() 73 input1, input2, DIMS_VEC); in test_arm_distance() 77 input1, input2, DIMS_VEC); in test_arm_distance() 80 val = arm_yule_distance(input1, input2, DIMS_VEC); in test_arm_distance() [all …]
|
D | f32.c | 39 const float32_t *input2 = (const float32_t *)dinput2; in test_arm_distance_f32() local 62 memcpy(tmp2, input2, DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32() 69 input1, input2, DIMS_VEC); in test_arm_distance_f32() 73 input1, input2, DIMS_VEC); in test_arm_distance_f32() 77 input1, input2, DIMS_VEC); in test_arm_distance_f32() 81 input1, input2, DIMS_VEC); in test_arm_distance_f32() 89 input1, input2, DIMS_VEC); in test_arm_distance_f32() 93 input1, input2, DIMS_VEC); in test_arm_distance_f32() 97 input1, input2, DIMS_VEC); in test_arm_distance_f32() 108 input2 += DIMS_VEC; in test_arm_distance_f32() [all …]
|
D | f16.c | 41 const float16_t *input2 = (const float16_t *)dinput2; in test_arm_distance_f16() local 64 memcpy(tmp2, input2, DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16() 71 input1, input2, DIMS_VEC); in test_arm_distance_f16() 75 input1, input2, DIMS_VEC); in test_arm_distance_f16() 79 input1, input2, DIMS_VEC); in test_arm_distance_f16() 83 input1, input2, DIMS_VEC); in test_arm_distance_f16() 91 input1, input2, DIMS_VEC); in test_arm_distance_f16() 95 input1, input2, DIMS_VEC); in test_arm_distance_f16() 99 input1, input2, DIMS_VEC); in test_arm_distance_f16() 110 input2 += DIMS_VEC; in test_arm_distance_f16() [all …]
|
/Zephyr-latest/tests/benchmarks/cmsis_dsp/basicmath/src/ |
D | q15.c | 51 static const q15_t input2[256] = { variable 99 arm_add_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 124 arm_sub_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 149 arm_mult_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 270 arm_dot_prod_q15(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | q31.c | 83 static const q31_t input2[256] = { variable 163 arm_add_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 188 arm_sub_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 213 arm_mult_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 334 arm_dot_prod_q31(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | q7.c | 51 static const q7_t input2[PATTERN_LENGTH] = { variable 99 arm_add_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 124 arm_sub_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 149 arm_mult_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 270 arm_dot_prod_q7(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | f32.c | 83 static const uint32_t input2[256] = { variable 164 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 191 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 218 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 341 (float32_t *)input1, (float32_t *)input2, PATTERN_LENGTH, in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/complexmath/src/ |
D | f16.c | 57 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_arm_cmplx_dot_prod_f16() argument 68 (float16_t *)input1, (float16_t *)input2, length, in test_arm_cmplx_dot_prod_f16() 156 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_arm_cmplx_mult_cmplx_f16() argument 171 (float16_t *)input1, (float16_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f16() 196 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_arm_cmplx_mult_real_f16() argument 211 (float16_t *)input1, (float16_t *)input2, output, length); in test_arm_cmplx_mult_real_f16()
|
D | f32.c | 57 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref, in test_arm_cmplx_dot_prod_f32() argument 68 (float32_t *)input1, (float32_t *)input2, length, in test_arm_cmplx_dot_prod_f32() 156 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref, in test_arm_cmplx_mult_cmplx_f32() argument 171 (float32_t *)input1, (float32_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f32() 196 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref, in test_arm_cmplx_mult_real_f32() argument 211 (float32_t *)input1, (float32_t *)input2, output, length); in test_arm_cmplx_mult_real_f32()
|
D | q15.c | 58 const q15_t *input1, const q15_t *input2, const q31_t *ref, in test_arm_cmplx_dot_prod_q15() argument 68 arm_cmplx_dot_prod_q15(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q15() 149 const q15_t *input1, const q15_t *input2, const q15_t *ref, in test_arm_cmplx_mult_cmplx_q15() argument 163 arm_cmplx_mult_cmplx_q15(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q15() 187 const q15_t *input1, const q15_t *input2, const q15_t *ref, in test_arm_cmplx_mult_real_q15() argument 201 arm_cmplx_mult_real_q15(input1, input2, output, length); in test_arm_cmplx_mult_real_q15()
|
D | q31.c | 57 const q31_t *input1, const q31_t *input2, const q63_t *ref, in test_arm_cmplx_dot_prod_q31() argument 67 arm_cmplx_dot_prod_q31(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q31() 148 const q31_t *input1, const q31_t *input2, const q31_t *ref, in test_arm_cmplx_mult_cmplx_q31() argument 162 arm_cmplx_mult_cmplx_q31(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q31() 186 const q31_t *input1, const q31_t *input2, const q31_t *ref, in test_arm_cmplx_mult_real_q31() argument 200 arm_cmplx_mult_real_q31(input1, input2, output, length); in test_arm_cmplx_mult_real_q31()
|
/Zephyr-latest/tests/subsys/dsp/basicmath/src/ |
D | q31.c | 20 static void test_zdsp_add_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_add_q31() argument 30 zdsp_add_q31(input1, input2, output, length); in test_zdsp_add_q31() 53 static void test_zdsp_add_q31_in_place(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_add_q31_in_place() argument 66 zdsp_add_q31(output, input2, output, length); in test_zdsp_add_q31_in_place() 89 static void test_zdsp_sub_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_sub_q31() argument 99 zdsp_sub_q31(input1, input2, output, length); in test_zdsp_sub_q31() 122 static void test_zdsp_sub_q31_in_place(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_sub_q31_in_place() argument 135 zdsp_sub_q31(output, input2, output, length); in test_zdsp_sub_q31_in_place() 158 static void test_zdsp_mult_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_mult_q31() argument 168 zdsp_mult_q31(input1, input2, output, length); in test_zdsp_mult_q31() [all …]
|
D | q15.c | 22 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_add_q15() argument 32 zdsp_add_q15(input1, input2, output, length); in test_zdsp_add_q15() 57 static void test_zdsp_add_q15_in_place(const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, in test_zdsp_add_q15_in_place() argument 70 zdsp_add_q15(output, input2, output, length); in test_zdsp_add_q15_in_place() 94 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_sub_q15() argument 104 zdsp_sub_q15(input1, input2, output, length); in test_zdsp_sub_q15() 129 static void test_zdsp_sub_q15_in_place(const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, in test_zdsp_sub_q15_in_place() argument 142 zdsp_sub_q15(output, input2, output, length); in test_zdsp_sub_q15_in_place() 166 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_mult_q15() argument 176 zdsp_mult_q15(input1, input2, output, length); in test_zdsp_mult_q15() [all …]
|
D | q7.c | 20 static void test_zdsp_add_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_add_q7() argument 30 zdsp_add_q7(input1, input2, output, length); in test_zdsp_add_q7() 53 static void test_zdsp_add_q7_in_place(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_add_q7_in_place() argument 66 zdsp_add_q7(output, input2, output, length); in test_zdsp_add_q7_in_place() 89 static void test_zdsp_sub_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_sub_q7() argument 99 zdsp_sub_q7(input1, input2, output, length); in test_zdsp_sub_q7() 122 static void test_zdsp_sub_q7_in_place(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_sub_q7_in_place() argument 135 zdsp_sub_q7(output, input2, output, length); in test_zdsp_sub_q7_in_place() 158 static void test_zdsp_mult_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_mult_q7() argument 168 zdsp_mult_q7(input1, input2, output, length); in test_zdsp_mult_q7() [all …]
|
D | f32.c | 19 static void test_zdsp_add_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_add_f32() argument 29 zdsp_add_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_add_f32() 53 const DSP_DATA uint32_t *input2, const uint32_t *ref, size_t length) in test_zdsp_add_f32_in_place() argument 65 zdsp_add_f32(output, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_add_f32_in_place() 84 static void test_zdsp_sub_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_sub_f32() argument 94 zdsp_sub_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_sub_f32() 118 const DSP_DATA uint32_t *input2, const uint32_t *ref, size_t length) in test_zdsp_sub_f32_in_place() argument 130 zdsp_sub_f32(output, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_sub_f32_in_place() 149 static void test_zdsp_mult_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_mult_f32() argument 159 zdsp_mult_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_mult_f32() [all …]
|
D | f16.c | 21 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_zdsp_add_f16() argument 31 zdsp_add_f16((float16_t *)input1, (float16_t *)input2, output, length); in test_zdsp_add_f16() 54 static void test_zdsp_add_f16_in_place(const uint16_t *input1, const uint16_t *input2, in test_zdsp_add_f16_in_place() argument 67 zdsp_add_f16(output, (float16_t *)input2, output, length); in test_zdsp_add_f16_in_place() 87 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_zdsp_sub_f16() argument 97 zdsp_sub_f16((float16_t *)input1, (float16_t *)input2, output, length); in test_zdsp_sub_f16() 120 static void test_zdsp_sub_f16_in_place(const uint16_t *input1, const uint16_t *input2, in test_zdsp_sub_f16_in_place() argument 133 zdsp_sub_f16(output, (float16_t *)input2, output, length); in test_zdsp_sub_f16_in_place() 153 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_zdsp_mult_f16() argument 163 zdsp_mult_f16((float16_t *)input1, (float16_t *)input2, output, length); in test_zdsp_mult_f16() [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/statistics/src/ |
D | f64.c | 60 const float64_t *input2 = (float64_t *)in_kl2; in ZTEST() local 74 input1, input2, in_kl_dim[index + 1]); in ZTEST() 77 input2 += in_kl_dim[index + 1]; in ZTEST()
|
D | f32.c | 361 const float32_t *input2 = (float32_t *)in_kl2; in ZTEST() local 375 input1, input2, in_kl_dim[index + 1]); in ZTEST() 378 input2 += in_kl_dim[index + 1]; in ZTEST() 400 const float32_t *input2 = (float32_t *)in_logsumexp_dp2; in ZTEST() local 418 input1, input2, in ZTEST() 422 input2 += in_logsumexp_dp_dim[index + 1]; in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/quaternionmath/src/ |
D | f32.c | 137 const float32_t *input2 = (const float32_t *)in_com2; in ZTEST() local 149 arm_quaternion_product_single_f32(input1, input2, output); in ZTEST() 153 input2 += 4; in ZTEST() 174 const float32_t *input2 = (const float32_t *)in_com2; in ZTEST() local 183 arm_quaternion_product_f32(input1, input2, output, length / 4); in ZTEST()
|
/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/ |
D | binary_f32.c | 26 static void test_op2(int op, const uint32_t *input1, const uint32_t *input2, in test_op2() argument 74 memcpy(mat_in2.pData, input2, in test_op2() 117 static void test_op2c(int op, const uint32_t *input1, const uint32_t *input2, in test_op2c() argument 165 memcpy(mat_in2.pData, input2, in test_op2c()
|
D | binary_f64.c | 26 static void test_op2(int op, const uint64_t *input1, const uint64_t *input2, in test_op2() argument 74 memcpy(mat_in2.pData, input2, in test_op2() 122 static void test_op2c(int op, const uint64_t *input1, const uint64_t *input2, 170 memcpy(mat_in2.pData, input2,
|
D | binary_q31.c | 26 static void test_op2(int op, const q31_t *input1, const q31_t *input2, in test_op2() argument 74 memcpy(mat_in2.pData, input2, in test_op2() 115 static void test_op2c(int op, const q31_t *input1, const q31_t *input2, in test_op2c() argument 163 memcpy(mat_in2.pData, input2, in test_op2c()
|
D | binary_f16.c | 26 static void test_op2(int op, const uint16_t *input1, const uint16_t *input2, in test_op2() argument 74 memcpy(mat_in2.pData, input2, in test_op2() 117 static void test_op2c(int op, const uint16_t *input1, const uint16_t *input2, in test_op2c() argument 165 memcpy(mat_in2.pData, input2, in test_op2c()
|
D | binary_q15.c | 28 static void test_op2(int op, const q15_t *input1, const q15_t *input2, in test_op2() argument 79 memcpy(mat_in2.pData, input2, in test_op2() 123 static void test_op2c(int op, const q15_t *input1, const q15_t *input2, in test_op2c() argument 174 memcpy(mat_in2.pData, input2, in test_op2c()
|
D | unary_f64.c | 318 float64_t *input1, *input2, *tmp1, *tmp2, *output; in ZTEST() local 338 input2 = (float64_t *)in_rnda_dpo; in ZTEST() 355 memcpy(mat_in2.pData, input2, in ZTEST() 367 input2 += (rows * columns); in ZTEST() 395 float64_t *input1, *input2, *tmp1, *tmp2, *output; in ZTEST() local 415 input2 = (float64_t *)in_rnda_dpo; in ZTEST() 432 memcpy(mat_in2.pData, input2, in ZTEST() 444 input2 += (rows * columns); in ZTEST()
|