Lines Matching +full:test +full:-

1 .. zephyr:code-sample:: number_crunching
17 .. code-block:: cmake
32 - :file:`main.c`: calls the generic math functions;
33 - :file:`math_ops.c`: executes the math functions, computes the cycles it took to execute and check…
34 - :file:`cmsis_dsp_wrapper.c`: calls the exact math functions from CMSIS-DSP if :kconfig:option:`CO…
35 - :file:`nature_dsp_wrapper`: if ``LIB_LOCATION`` is defined and points to an out of tree location …
42 CMSIS-DSP is an optional module and needs to be added explicitly to your Zephyr workspace:
44 .. code-block:: shell
46 west config manifest.project-filter -- +cmsis-dsp
47 west update cmsis-dsp
49 NatureDSP can be taken from Github: https://github.com/foss-xtensa/ndsplib-hifi4/tree/main.
58 .. zephyr-app-commands::
59 :zephyr-app: samples/boards/nxp/adsp/number_crunching/
64 An output example, for CMSIS-DSP is:
66 .. code-block:: console
68 *** Booting Zephyr OS build v3.7.0-2815-g9018e424d7a1 ***
72 [Library Test] == Vector Sum test ==
73 [Backend] CMSIS-DSP module
74 [Library Test] Vector Sum takes 6886 cycles
75 [Library Test] == Vector Sum test end with 1 ==
77 [Library Test] == Vector power sum test ==
78 [Backend] CMSIS-DSP module
79 [Library Test] Vector power sum takes 6659 cycles
80 [Library Test] == Vector power sum test end with 1 ==
82 [Library Test] == Vector power sum test ==
83 [Backend] CMSIS-DSP module
84 [Library Test] Vector power sum takes 3681 cycles
85 [Library Test] == Vector power sum test end ==
87 [Library Test] == Fast Fourier Transform on Real Data test ==
88 [Backend] CMSIS-DSP module
89 [Library Test] Fast Fourier Transform on Real Data takes 67956 cycles
90 [Library Test] == Fast Fourier Transform on Real Data test end ==
92 [Library Test] == Bi-quad Real Block IIR test ==
93 [Backend] CMSIS-DSP module
94 [Library Test] Bi-quad Real Block IIR takes 506702 cycles
95 [Library Test] == Bi-quad Real Block IIR end ==
97 [Library Test] == Least Mean Square (LMS) Filter for Real Data test ==
98 [Backend] CMSIS-DSP module
99 [Library Test] Least Mean Square (LMS) Filter for Real Data test takes 184792 cycles
100 [Library Test] == Least Mean Square (LMS) Filter for Real Data test end ==
104 .. code-block:: console
106 *** Booting Zephyr OS build v3.7.0-2815-g9018e424d7a1 ***
110 [Library Test] == Vector Sum test ==
112 [Library Test] Vector Sum takes 3829 cycles
113 [Library Test] == Vector Sum test end with 1 ==
115 [Library Test] == Vector power sum test ==
117 [Library Test] Vector power sum takes 2432 cycles
118 [Library Test] == Vector power sum test end with 1 ==
120 [Library Test] == Vector power sum test ==
122 [Library Test] Vector power sum takes 2594 cycles
123 [Library Test] == Vector power sum test end ==
125 [Library Test] == Fast Fourier Transform on Real Data test ==
127 [Library Test] Fast Fourier Transform on Real Data takes 3338 cycles
128 [Library Test] == Fast Fourier Transform on Real Data test end ==
130 [Library Test] == Bi-quad Real Block IIR test ==
132 [Library Test] Bi-quad Real Block IIR takes 13501 cycles
133 [Library Test] == Bi-quad Real Block IIR end ==
135 [Library Test] == Least Mean Square (LMS) Filter for Real Data test ==
138 [Library Test] Least Mean Square (LMS) Filter for Real Data test takes 7724 cycles
139 [Library Test] == Least Mean Square (LMS) Filter for Real Data test end ==