Skip to content

Commit

Permalink
Merge pull request #702 from argilo/absolute-accum-dp
Browse files Browse the repository at this point in the history
Use absolute tolerances for accumulator and dot product
  • Loading branch information
jdemel authored Dec 1, 2023
2 parents 735514b + d9f8f81 commit 10971d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/kernel_tests.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ std::vector<volk_test_case_t> init_test_list(volk_test_params_t test_params)
QA(VOLK_INIT_TEST(volk_16i_s32f_convert_32f, test_params))
QA(VOLK_INIT_TEST(volk_16i_convert_8i, test_params))
QA(VOLK_INIT_TEST(volk_16i_32fc_dot_prod_32fc, test_params.make_absolute(1e-1)))
QA(VOLK_INIT_TEST(volk_32f_accumulator_s32f, test_params_inacc))
QA(VOLK_INIT_TEST(volk_32f_accumulator_s32f, test_params.make_absolute(2e-2)))
QA(VOLK_INIT_TEST(volk_32f_x2_add_32f, test_params))
QA(VOLK_INIT_TEST(volk_32f_index_max_16u, test_params))
QA(VOLK_INIT_TEST(volk_32f_index_max_32u, test_params))
Expand All @@ -98,15 +98,16 @@ std::vector<volk_test_case_t> init_test_list(volk_test_params_t test_params)
QA(VOLK_INIT_TEST(volk_32fc_s32f_power_32fc, test_params_power))
QA(VOLK_INIT_TEST(volk_32f_s32f_calc_spectral_noise_floor_32f, test_params_snf))
QA(VOLK_INIT_TEST(volk_32fc_s32f_atan2_32f, test_params))
QA(VOLK_INIT_TEST(volk_32fc_x2_conjugate_dot_prod_32fc, test_params_inacc_tenth))
QA(VOLK_INIT_TEST(volk_32fc_x2_conjugate_dot_prod_32fc,
test_params.make_absolute(2e-2)))
QA(VOLK_INIT_TEST(volk_32fc_deinterleave_32f_x2, test_params))
QA(VOLK_INIT_TEST(volk_32fc_accumulator_s32fc, test_params.make_tol(1e-3)))
QA(VOLK_INIT_TEST(volk_32fc_accumulator_s32fc, test_params.make_absolute(3e-2)))
QA(VOLK_INIT_TEST(volk_32fc_deinterleave_64f_x2, test_params))
QA(VOLK_INIT_TEST(volk_32fc_s32f_deinterleave_real_16i, test_params))
QA(VOLK_INIT_TEST(volk_32fc_deinterleave_imag_32f, test_params))
QA(VOLK_INIT_TEST(volk_32fc_deinterleave_real_32f, test_params))
QA(VOLK_INIT_TEST(volk_32fc_deinterleave_real_64f, test_params))
QA(VOLK_INIT_TEST(volk_32fc_x2_dot_prod_32fc, test_params_inacc))
QA(VOLK_INIT_TEST(volk_32fc_x2_dot_prod_32fc, test_params.make_absolute(2e-2)))
QA(VOLK_INIT_TEST(volk_32fc_32f_dot_prod_32fc, test_params.make_absolute(1e-2)))
QA(VOLK_INIT_TEST(volk_32fc_index_max_16u, test_params))
QA(VOLK_INIT_TEST(volk_32fc_index_max_32u, test_params))
Expand All @@ -129,7 +130,7 @@ std::vector<volk_test_case_t> init_test_list(volk_test_params_t test_params)
QA(VOLK_INIT_TEST(volk_32fc_x2_square_dist_32f, test_params))
QA(VOLK_INIT_TEST(volk_32fc_x2_s32f_square_dist_scalar_mult_32f, test_params))
QA(VOLK_INIT_TEST(volk_32f_x2_divide_32f, test_params))
QA(VOLK_INIT_TEST(volk_32f_x2_dot_prod_32f, test_params_inacc))
QA(VOLK_INIT_TEST(volk_32f_x2_dot_prod_32f, test_params.make_absolute(1.5e-2)))
QA(VOLK_INIT_TEST(volk_32f_x2_s32f_interleave_16ic, test_params))
QA(VOLK_INIT_TEST(volk_32f_x2_interleave_32fc, test_params))
QA(VOLK_INIT_TEST(volk_32f_x2_max_32f, test_params))
Expand Down

0 comments on commit 10971d6

Please sign in to comment.