Lines Matching full:output

25 	float16_t *output;  in test_arm_cmplx_conj_f16()  local
30 /* Allocate output buffer */ in test_arm_cmplx_conj_f16()
31 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_conj_f16()
32 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_conj_f16()
35 arm_cmplx_conj_f16((float16_t *)input1, output, length); in test_arm_cmplx_conj_f16()
37 /* Validate output */ in test_arm_cmplx_conj_f16()
39 test_snr_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_conj_f16()
44 test_rel_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_conj_f16()
48 /* Free output buffer */ in test_arm_cmplx_conj_f16()
49 free(output); in test_arm_cmplx_conj_f16()
60 float16_t *output; in test_arm_cmplx_dot_prod_f16() local
62 /* Allocate output buffer */ in test_arm_cmplx_dot_prod_f16()
63 output = malloc(2 * sizeof(float16_t)); in test_arm_cmplx_dot_prod_f16()
64 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_dot_prod_f16()
69 &output[0], &output[1]); in test_arm_cmplx_dot_prod_f16()
71 /* Validate output */ in test_arm_cmplx_dot_prod_f16()
73 test_snr_error_f16(2, output, (float16_t *)ref, in test_arm_cmplx_dot_prod_f16()
78 test_rel_error_f16(2, output, (float16_t *)ref, in test_arm_cmplx_dot_prod_f16()
82 /* Free output buffer */ in test_arm_cmplx_dot_prod_f16()
83 free(output); in test_arm_cmplx_dot_prod_f16()
96 float16_t *output; in test_arm_cmplx_mag_f16() local
98 /* Allocate output buffer */ in test_arm_cmplx_mag_f16()
99 output = malloc(length * sizeof(float16_t)); in test_arm_cmplx_mag_f16()
100 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_f16()
103 arm_cmplx_mag_f16((float16_t *)input1, output, length); in test_arm_cmplx_mag_f16()
105 /* Validate output */ in test_arm_cmplx_mag_f16()
107 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_cmplx_mag_f16()
112 test_rel_error_f16(length, output, (float16_t *)ref, in test_arm_cmplx_mag_f16()
116 /* Free output buffer */ in test_arm_cmplx_mag_f16()
117 free(output); in test_arm_cmplx_mag_f16()
127 float16_t *output; in test_arm_cmplx_mag_squared_f16() local
129 /* Allocate output buffer */ in test_arm_cmplx_mag_squared_f16()
130 output = malloc(length * sizeof(float16_t)); in test_arm_cmplx_mag_squared_f16()
131 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mag_squared_f16()
134 arm_cmplx_mag_squared_f16((float16_t *)input1, output, length); in test_arm_cmplx_mag_squared_f16()
136 /* Validate output */ in test_arm_cmplx_mag_squared_f16()
138 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_cmplx_mag_squared_f16()
143 test_rel_error_f16(length, output, (float16_t *)ref, in test_arm_cmplx_mag_squared_f16()
147 /* Free output buffer */ in test_arm_cmplx_mag_squared_f16()
148 free(output); in test_arm_cmplx_mag_squared_f16()
160 float16_t *output; in test_arm_cmplx_mult_cmplx_f16() local
165 /* Allocate output buffer */ in test_arm_cmplx_mult_cmplx_f16()
166 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_mult_cmplx_f16()
167 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_cmplx_f16()
171 (float16_t *)input1, (float16_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f16()
173 /* Validate output */ in test_arm_cmplx_mult_cmplx_f16()
175 test_snr_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_cmplx_f16()
180 test_rel_error_f16(buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_cmplx_f16()
184 /* Free output buffer */ in test_arm_cmplx_mult_cmplx_f16()
185 free(output); in test_arm_cmplx_mult_cmplx_f16()
200 float16_t *output; in test_arm_cmplx_mult_real_f16() local
205 /* Allocate output buffer */ in test_arm_cmplx_mult_real_f16()
206 output = malloc(buf_length * sizeof(float16_t)); in test_arm_cmplx_mult_real_f16()
207 zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED); in test_arm_cmplx_mult_real_f16()
211 (float16_t *)input1, (float16_t *)input2, output, length); in test_arm_cmplx_mult_real_f16()
213 /* Validate output */ in test_arm_cmplx_mult_real_f16()
216 buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_real_f16()
222 buf_length, output, (float16_t *)ref, in test_arm_cmplx_mult_real_f16()
226 /* Free output buffer */ in test_arm_cmplx_mult_real_f16()
227 free(output); in test_arm_cmplx_mult_real_f16()