manifest: update cmsis-dsp to v1.16.2
Update cmsis-dsp module to v1.16.2 Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
88149afff7
commit
f5946a546d
6 changed files with 17 additions and 17 deletions
|
@ -90,10 +90,10 @@ ZTEST(fastmath_q15, test_arm_sqrt_q15)
|
|||
status = arm_sqrt_q15(in_sqrt[index], &output[index]);
|
||||
|
||||
/* Validate operation status */
|
||||
if (in_sqrt[index] <= 0) {
|
||||
if (in_sqrt[index] < 0) {
|
||||
zassert_equal(status, ARM_MATH_ARGUMENT_ERROR,
|
||||
"square root did fail with an input value "
|
||||
"of '0'");
|
||||
"of less than '0'");
|
||||
} else {
|
||||
zassert_equal(status, ARM_MATH_SUCCESS,
|
||||
"square root operation did not succeed");
|
||||
|
|
|
@ -90,10 +90,10 @@ ZTEST(fastmath_q31, test_arm_sqrt_q31)
|
|||
status = arm_sqrt_q31(in_sqrt[index], &output[index]);
|
||||
|
||||
/* Validate operation status */
|
||||
if (in_sqrt[index] <= 0) {
|
||||
if (in_sqrt[index] < 0) {
|
||||
zassert_equal(status, ARM_MATH_ARGUMENT_ERROR,
|
||||
"square root did fail with an input value "
|
||||
"of '0'");
|
||||
"of less than '0'");
|
||||
} else {
|
||||
zassert_equal(status, ARM_MATH_SUCCESS,
|
||||
"square root operation did not succeed");
|
||||
|
|
|
@ -182,7 +182,7 @@ DEFINE_TEST_VARIANT3(support_f16, arm_float_to_f16, 7, ref_f32, ref_f16, 7);
|
|||
DEFINE_TEST_VARIANT3(support_f16, arm_float_to_f16, 16, ref_f32, ref_f16, 16);
|
||||
DEFINE_TEST_VARIANT3(support_f16, arm_float_to_f16, 23, ref_f32, ref_f16, 23);
|
||||
|
||||
static void test_arm_weighted_sum_f16(
|
||||
static void test_arm_weighted_average_f16(
|
||||
int ref_offset, size_t length)
|
||||
{
|
||||
const float16_t *val = (const float16_t *)in_weighted_sum_val;
|
||||
|
@ -195,7 +195,7 @@ static void test_arm_weighted_sum_f16(
|
|||
zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED);
|
||||
|
||||
/* Run test function */
|
||||
output[0] = arm_weighted_sum_f16(val, coeff, length);
|
||||
output[0] = arm_weighted_average_f16(val, coeff, length);
|
||||
|
||||
/* Validate output */
|
||||
zassert_true(
|
||||
|
@ -207,8 +207,8 @@ static void test_arm_weighted_sum_f16(
|
|||
free(output);
|
||||
}
|
||||
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_sum_f16, 7, 0, 7);
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_sum_f16, 16, 1, 16);
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_sum_f16, 23, 2, 23);
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_average_f16, 7, 0, 7);
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_average_f16, 16, 1, 16);
|
||||
DEFINE_TEST_VARIANT2(support_f16, arm_weighted_average_f16, 23, 2, 23);
|
||||
|
||||
ZTEST_SUITE(support_f16, NULL, NULL, NULL, NULL, NULL);
|
||||
|
|
|
@ -145,7 +145,7 @@ DEFINE_TEST_VARIANT3(support_f32, arm_float_to_q7, 15, in_f32, ref_q7, 15);
|
|||
DEFINE_TEST_VARIANT3(support_f32, arm_float_to_q7, 32, in_f32, ref_q7, 32);
|
||||
DEFINE_TEST_VARIANT3(support_f32, arm_float_to_q7, 33, in_f32, ref_q7, 33);
|
||||
|
||||
static void test_arm_weighted_sum_f32(
|
||||
static void test_arm_weighted_average_f32(
|
||||
int ref_offset, size_t length)
|
||||
{
|
||||
const float32_t *val = (const float32_t *)in_weighted_sum_val;
|
||||
|
@ -158,7 +158,7 @@ static void test_arm_weighted_sum_f32(
|
|||
zassert_not_null(output, ASSERT_MSG_BUFFER_ALLOC_FAILED);
|
||||
|
||||
/* Run test function */
|
||||
output[0] = arm_weighted_sum_f32(val, coeff, length);
|
||||
output[0] = arm_weighted_average_f32(val, coeff, length);
|
||||
|
||||
/* Validate output */
|
||||
zassert_true(
|
||||
|
@ -170,9 +170,9 @@ static void test_arm_weighted_sum_f32(
|
|||
free(output);
|
||||
}
|
||||
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_sum_f32, 3, 0, 3);
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_sum_f32, 8, 1, 8);
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_sum_f32, 11, 2, 11);
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_average_f32, 3, 0, 3);
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_average_f32, 8, 1, 8);
|
||||
DEFINE_TEST_VARIANT2(support_f32, arm_weighted_average_f32, 11, 2, 11);
|
||||
|
||||
static void test_arm_sort_out(
|
||||
const uint32_t *input1, const uint32_t *ref, size_t length,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue