/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Tests/ |
D | WindowTestsF32.cpp | 24 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_welch_f32() 37 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_bartlett_f32() 50 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hamming_f32() 63 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hanning_f32() 76 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall3_f32() 89 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall4_f32() 102 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall3a_f32() 115 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall3b_f32() 128 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall4a_f32() 141 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_blackman_harris_92db_f32() [all …]
|
D | WindowTestsF64.cpp | 24 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_welch_f64() 37 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_bartlett_f64() 50 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_hamming_f64() 63 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_hanning_f64() 76 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall3_f64() 89 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall4_f64() 102 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall3a_f64() 115 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall3b_f64() 128 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_nuttall4a_f64() 141 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_blackman_harris_92db_f64() [all …]
|
D | QuaternionTestsF32.cpp | 27 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_norm_f32() 42 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_inverse_f32() 57 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_conjugate_f32() 72 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_normalize_f32() 94 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_prod_single_f32() 110 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion_product_f32() 125 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_quaternion2rotation_f32() 162 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_rotation2quaternion_f32()
|
D | BasicTestsF16.cpp | 31 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_add_f16() 46 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_clip_f16() 61 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_sub_f16() 76 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mult_f16() 93 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_negate_f16() 110 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_offset_f16() 127 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_scale_f16() 144 ASSERT_SNR(output,ref,(float16_t)SNR_DOTPROD_THRESHOLD); in test_dot_prod_f16() 164 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_abs_f16()
|
D | BasicTestsF32.cpp | 28 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_add_f32() 43 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_clip_f32() 57 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_sub_f32() 71 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mult_f32() 87 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_negate_f32() 103 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_offset_f32() 119 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_scale_f32() 135 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_dot_prod_f32() 154 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_abs_f32()
|
D | BasicTestsF64.cpp | 28 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_add_f64() 58 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_sub_f64() 72 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_mult_f64() 88 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_negate_f64() 104 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_offset_f64() 120 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_scale_f64() 136 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_dot_prod_f64() 155 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_abs_f64()
|
D | FastMathQ15.cpp | 33 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q15() 56 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_atan2_scalar_q15() 77 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q15() 95 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_q15() 111 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_q15() 131 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sqrt_q15() 149 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_recip_q15()
|
D | FastMathQ31.cpp | 41 ASSERT_SNR(ref,output,(q31_t)SNR_THRESHOLD); in test_atan2_scalar_q31() 53 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_q31() 76 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_division_q31() 94 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_q31() 110 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_q31() 146 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_recip_q31()
|
D | FastMathF16.cpp | 37 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); 53 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); 77 ASSERT_SNR(ref,output,(float16_t)SNR_ATAN2_THRESHOLD); in test_atan2_scalar_f16() 97 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_sqrt_f16() 125 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_vexp_f16() 139 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_inverse_f16()
|
D | FastMathF32.cpp | 59 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_cos_f32() 75 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sin_f32() 94 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_sqrt_f32() 107 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vlog_f32() 120 ASSERT_SNR(ref,output,(float32_t)SNR_THRESHOLD); in test_vexp_f32()
|
D | InterpolationTestsF16.cpp | 32 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_linear_interp_f16() 54 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_bilinear_interp_f16() 77 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); 96 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); 115 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD);
|
D | InterpolationTestsF32.cpp | 30 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_linear_interp_f32() 52 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_bilinear_interp_f32() 75 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_spline_square_f32() 94 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_spline_sine_f32() 113 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_spline_ramp_f32()
|
D | UnaryTestsF16.cpp | 208 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_householder_f16() 209 ASSERT_SNR(outputBeta,refBeta,(float16_t)SNR_THRESHOLD); in test_householder_f16() 302 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_vec_mult_f16() 329 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_add_f16() 356 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_sub_f16() 383 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_scale_f16() 410 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_trans_f16() 437 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_mat_cmplx_trans_f16() 492 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD_INV); in test_mat_inverse_f16() 529 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD_CHOL); in test_mat_cholesky_dpo_f16() [all …]
|
D | UnaryTestsF32.cpp | 235 ASSERT_SNR(output,ref,(float32_t)SNR_HOUSEHOLDER_THRESHOLD); in test_householder_f32() 236 ASSERT_SNR(outputBeta,refBeta,(float32_t)SNR_HOUSEHOLDER_THRESHOLD); in test_householder_f32() 311 ASSERT_SNR(refQ,outputQ,(float32_t)SNR_QR_THRESHOLD); in test_mat_qr_f32() 312 ASSERT_SNR(refR,outputR,(float32_t)SNR_QR_THRESHOLD); in test_mat_qr_f32() 313 ASSERT_SNR(refTau,outputTau,(float32_t)SNR_QR_THRESHOLD); in test_mat_qr_f32() 340 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_vec_mult_f32() 368 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_add_f32() 396 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_sub_f32() 424 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_scale_f32() 452 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_trans_f32() [all …]
|
D | BIQUADF16.cpp | 83 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_biquad_cascade_df1_ref() 146 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_biquad_cascade_df2T_ref() 223 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_biquad_cascade_df1_rand() 294 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_biquad_cascade_df2T_rand() 365 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_biquad_cascade_stereo_df2T_rand()
|
D | UnaryTestsQ15.cpp | 164 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_vec_mult_q15() 191 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_add_q15() 218 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_sub_q15() 245 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_scale_q15() 271 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_trans_q15() 298 ASSERT_SNR(output,ref,(q15_t)SNR_THRESHOLD); in test_mat_cmplx_trans_q15()
|
D | UnaryTestsQ31.cpp | 147 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_vec_mult_q31() 175 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_add_q31() 203 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_sub_q31() 231 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_scale_q31() 259 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_trans_q31() 287 ASSERT_SNR(output,ref,(q31_t)SNR_THRESHOLD); in test_mat_cmplx_trans_q31()
|
D | BIQUADF32.cpp | 82 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_biquad_cascade_df1_ref() 156 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_biquad_cascade_df2T_ref() 233 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_biquad_cascade_df1_rand() 320 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_biquad_cascade_df2T_rand() 391 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_biquad_cascade_stereo_df2T_rand()
|
D | ComplexTestsQ15.cpp | 31 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_conj_q15() 51 ASSERT_SNR(dotOutput,dotRef,(float32_t)SNR_THRESHOLD); in test_cmplx_dot_prod_q15() 69 ASSERT_SNR(output,ref,(float32_t)SNR_MAG_THRESHOLD); in test_cmplx_mag_q15() 84 ASSERT_SNR(output,ref,(float32_t)SNR_MAG_FAST_THRESHOLD); in test_cmplx_mag_fast_q15() 100 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_squared_q15() 117 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_q15() 134 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_real_q15()
|
D | UnaryTestsF64.cpp | 183 ASSERT_SNR(output,ref,(float64_t)SNR_HOUSEHOLDER_THRESHOLD); in test_householder_f64() 184 ASSERT_SNR(outputBeta,refBeta,(float64_t)SNR_HOUSEHOLDER_THRESHOLD); in test_householder_f64() 279 ASSERT_SNR(refQ,outputQ,(float64_t)SNR_QR_THRESHOLD); in test_mat_qr_f64() 280 ASSERT_SNR(refR,outputR,(float64_t)SNR_QR_THRESHOLD); in test_mat_qr_f64() 281 ASSERT_SNR(refTau,outputTau,(float64_t)SNR_QR_THRESHOLD); in test_mat_qr_f64() 309 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_mat_sub_f64() 340 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_mat_trans_f64() 397 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_mat_inverse_f64() 434 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD_CHOL); in test_mat_cholesky_dpo_f64() 474 ASSERT_SNR(output,ref,(float64_t)SNR_THRESHOLD); in test_solve_upper_triangular_f64() [all …]
|
D | ComplexTestsF16.cpp | 19 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_conj_f16() 40 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_dot_prod_f16() 56 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mag_f16() 71 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mag_squared_f16() 87 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_f16() 103 ASSERT_SNR(output,ref,(float16_t)SNR_THRESHOLD); in test_cmplx_mult_real_f16()
|
D | ComplexTestsF32.cpp | 19 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_conj_f32() 40 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_dot_prod_f32() 56 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_f32() 71 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_squared_f32() 87 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_f32() 103 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_real_f32()
|
D | ComplexTestsQ31.cpp | 27 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_conj_q31() 47 ASSERT_SNR(dotOutput,dotRef,(float32_t)SNR_THRESHOLD); in test_cmplx_dot_prod_q31() 65 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_q31() 81 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mag_squared_q31() 98 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_cmplx_q31() 115 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_cmplx_mult_real_q31()
|
D | MISCQ15.cpp | 30 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_correlate_q15() 46 ASSERT_SNR(ref,output,(q15_t)SNR_THRESHOLD); in test_conv_q15() 73 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_q15() 96 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_fast_q15() 125 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_opt_q15() 154 ASSERT_SNR(ref,tmp,(q15_t)SNR_THRESHOLD); in test_conv_partial_fast_opt_q15()
|
D | StatsTestsF16.cpp | 223 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_mean_f16() 245 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_power_f16() 267 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_rms_f16() 289 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_std_f16() 311 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_var_f16() 376 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_entropy_f16() 396 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_logsumexp_f16() 418 ASSERT_SNR(ref,output,(float16_t)SNR_KULLBACK_THRESHOLD); in test_kullback_leibler_f16() 440 ASSERT_SNR(ref,output,(float16_t)SNR_THRESHOLD); in test_logsumexp_dot_prod_f16() 462 ASSERT_SNR(result,refp[this->refOffset],(float16_t)SNR_THRESHOLD); in test_mse_f16() [all …]
|