Lines Matching full:length
31 static void test_arm_copy_f16(const uint16_t *input1, size_t length) in test_arm_copy_f16() argument
36 output = malloc(length * sizeof(float16_t)); in test_arm_copy_f16()
40 arm_copy_f16((float16_t *)input1, output, length); in test_arm_copy_f16()
44 test_equal_f16(length, (float16_t *)input1, output), in test_arm_copy_f16()
55 static void test_arm_fill_f16(size_t length) in test_arm_fill_f16() argument
62 output = malloc(length * sizeof(float16_t)); in test_arm_fill_f16()
66 arm_fill_f16(val, output, length); in test_arm_fill_f16()
69 for (index = 0; index < length; index++) { in test_arm_fill_f16()
83 const uint16_t *input1, const q15_t *ref, size_t length) in test_arm_f16_to_q15() argument
88 output = malloc(length * sizeof(q15_t)); in test_arm_f16_to_q15()
92 arm_f16_to_q15((float16_t *)input1, output, length); in test_arm_f16_to_q15()
96 test_near_equal_q15(length, ref, output, ABS_ERROR_THRESH_Q15), in test_arm_f16_to_q15()
108 const uint16_t *input1, const uint32_t *ref, size_t length) in test_arm_f16_to_float() argument
113 output = malloc(length * sizeof(float32_t)); in test_arm_f16_to_float()
117 arm_f16_to_float((float16_t *)input1, output, length); in test_arm_f16_to_float()
121 test_rel_error_f32(length, (float32_t *)ref, output, in test_arm_f16_to_float()
134 const q15_t *input1, const uint16_t *ref, size_t length) in test_arm_q15_to_f16() argument
139 output = malloc(length * sizeof(float16_t)); in test_arm_q15_to_f16()
143 arm_q15_to_f16(input1, output, length); in test_arm_q15_to_f16()
147 test_rel_error_f16(length, (float16_t *)ref, output, in test_arm_q15_to_f16()
160 const uint32_t *input1, const uint16_t *ref, size_t length) in test_arm_float_to_f16() argument
165 output = malloc(length * sizeof(float16_t)); in test_arm_float_to_f16()
169 arm_float_to_f16((float32_t *)input1, output, length); in test_arm_float_to_f16()
173 test_rel_error_f16(length, (float16_t *)ref, output, in test_arm_float_to_f16()
186 int ref_offset, size_t length) in test_arm_weighted_average_f16() argument
198 output[0] = arm_weighted_average_f16(val, coeff, length); in test_arm_weighted_average_f16()