This commit adds the complexmath F16 test patterns and implementations for the CMSIS-DSP 1.9.0. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
24 lines
477 B
C
24 lines
477 B
C
/*
|
|
* Copyright (c) 2021 Stephanos Ioannidis <root@stephanos.io>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <ztest.h>
|
|
#include <zephyr.h>
|
|
|
|
extern void test_complexmath_q15(void);
|
|
extern void test_complexmath_q31(void);
|
|
extern void test_complexmath_f16(void);
|
|
extern void test_complexmath_f32(void);
|
|
|
|
void test_main(void)
|
|
{
|
|
test_complexmath_q15();
|
|
test_complexmath_q31();
|
|
#ifdef CONFIG_CMSIS_DSP_FLOAT16
|
|
test_complexmath_f16();
|
|
#endif
|
|
test_complexmath_f32();
|
|
}
|