Commit Graph

691 Commits (e8d1f3a10cf44c9f2d00930ccf21678a6d80ad60)
 

Author SHA1 Message Date
Christophe Favergeon e8d1f3a10c Python wrapper update
Increased minimum python version to 3.7
Updated readme.
3 years ago
Christophe Favergeon 3b415fe48e Correction to Python wrapper
Issue for distances on aarch64 ...
3 years ago
Christophe Favergeon 57c7ff6670 Updated examples
Change CMSIS-DSP pack version in the csolution of the examples.
3 years ago
Christophe Favergeon 3a04f817a4 Improvement to Python wrapper
Some small changes to Compute graph API to define structured datatype.
Some small changes to take into account google colab new version numbers
for the packages.
3 years ago
Christophe Favergeon d760b35617 Added some tests for the ComputeGraph. 3 years ago
Christophe Favergeon 5ca0d342ed Use integer rather than all for flax-vector-conversions in clang. 3 years ago
Christophe Favergeon 33c01206f0 Added option for lax vector conversions when compiling Helium code.
In relation with issue #58

When HELIUM, MVEF or MVEI are used as cmake options, the option
LAXVECTORCONVERSIONS can be set to ON or OFF to enable / disable
lax vector conversions in GCC or ArmClang.

Currently, CMSIS-DSP won't build if lax vector conversions are disabled.
The option is ON by default.
3 years ago
Christophe Favergeon 2458ff8670 Correction of issue #93
Const qualifier in interpolation functions
3 years ago
Christophe Favergeon 61478be82a Added event recorder example and documentation for the compute graph. 3 years ago
Christophe Favergeon 4806c7f01d
Streamdoc (#94)
Reworked the documentation and examples for the compute graph.
3 years ago
Christophe Favergeon d7e4dea51a Update to PythonWrapper build
Added cmake script for building darwin version.
3 years ago
Christophe Favergeon 8b49478b1f Update to the Python wrapper
Corrected issue with RFFT APIs
Added some features to compute graph

Improved documentation related to RFFT
Changed how Python wrapper is built (to prepare fro future
evolution).
3 years ago
Christophe Favergeon 0fe2214dc7 Missing header in arm_math.h added
THe new dsp/window_functions.h header was missing.
(But it could be used and included separately from arm_math.h)
3 years ago
Christophe Favergeon d7beaf6cee Updated the README
The last part of the README was moved to a dedicated page in the wiki.
3 years ago
Christophe Favergeon bc9321d1aa Corrected typo in MFCC documentation for Q15 and Q31 (issue #87). 3 years ago
Christophe Favergeon 441f779647 Added a cross reference to compute graph README. 3 years ago
Christophe Favergeon 18d3504390 Corrected issue #85
Add compilation tests for MIN/MAX macro definitions.
3 years ago
Christophe Favergeon d1bf6fe5d1 Update compute graph nodes to remove overriding issue. 3 years ago
Christophe Favergeon 1378fa94f5 Improved compute graph documentation
More details about the new dynamic mode.
3 years ago
Christophe Favergeon fc38d7d21f Some corrections to the compute graph README. 3 years ago
Christophe Favergeon fab8a1e6a8 Correction to python wrapper build so that the result can be used on google colab 3 years ago
Christophe Favergeon d1a2633be0 Updated PythonWrapper version and README 3 years ago
Christophe Favergeon 31d9d2ef4a Missing file in pack. Small correction for compute graph. 3 years ago
Christophe Favergeon de04777329 Corrected path in pack generation script 3 years ago
Christophe Favergeon 66ea68b096 Added a dynamic mode to the compute graph.
The compute graph hierarchy (Python and C++) has been modified.
It will break the code using the CG and the include and import will
have to be modified.

New function prepareForRunning is needed in CG nodes even if not used in
static mode. Without this function, code using compute graph won't build.
3 years ago
Christophe Favergeon 82559adce2 Added DTW to the PythonWrapper API 3 years ago
Christophe Favergeon b46a2f86b5 First version of the dynamic time warping algorithm.
F32 only. Some windows suppported.
3 years ago
Christophe Favergeon 5bee006eaa Added some documentation for the compute graph.
Some details about the inner working of the schedule generation algorithm.
3 years ago
Richard Allen a8f4056f79
use 32-bit bitreversal loop index (#81)
With GCC 8.3.1:
arm_bitreversal_16 - saves 1 instruction
arm_bitreversal_64 - saves 5 instructions
3 years ago
SaiCharan bd4b47a205
fix: typo from algorthms to algorithms (#84) 3 years ago
Christophe Favergeon f757add3bb Added window functions for use with Fourier transforms.
Regular functions for use with tone detection and noise estimation.
Flat-top windows for estimation of tone amplitudes.

Parameters of the windows are given.

Kaiser window missing (Bessel function not available in the library).

No f16 implementation since it is not accurate enough. It is better
to compute a f32 window and convert to f16 after.
3 years ago
a1lu 8ec25f7a9e
Add braces around MAX macro (#77)
The current implementation leads to wrong calculation of output lengths.
3 years ago
Peter Torelli 1e84880535
Converted atan2_coefs_q15 to `signed int` constants (#75)
Removes conversion warning with `-pedantic`
3 years ago
Christophe Favergeon 258f31c5e6 Corrected issue #72
arm_sqrt_f32 optimizations for clang and gcc.
3 years ago
Christophe Favergeon f91c1f3c24 Better test automation with cmsis build tools
Added a python script for automation of tests with cmsis build tools.
Correction to some tests
Float promotion issues in some f16 code.
3 years ago
Christophe Favergeon 43aa2a9e7f Corrected pack generation script.
Missing header files.
3 years ago
Christophe Favergeon db4253f0ee New f16 files were not testing for ARM_FLOAT16_SUPPORTED 3 years ago
Christophe Favergeon 989370fe55 Corrected some python wrapper tests.
The deprecated rfft f32 has been removed from the wrapper
(rfft fast f32 is still included).
3 years ago
Christophe Favergeon 4d090bed42 Corrected Python wrapper for barycenter. 3 years ago
Lingkai Dong 7a27992cdc
Apply -flax-vector-conversions flag to GCC (#65)
Some CMSIS-DSP code does not explicitly convert between vectors of
different numbers and types of elements. While some other compilers
default to implicitly converting vectors, gcc does not do this unless
explicitly enabled.

Signed-off-by: Lingkai Dong <lingkai.dong@arm.com>

Signed-off-by: Lingkai Dong <lingkai.dong@arm.com>
3 years ago
Christophe Favergeon 25c3fa3c02 Corrected compilation warnings. 3 years ago
Christophe Favergeon 9c425b04b9 Corrected doxygen generation script 3 years ago
Silfurion 633ab5913e Add Conversion functions from and to 64 bit floating point
Cleaned f64 conversion functions.
3 years ago
KoenVda88 60e1e88f45
doc(args): make sure function declarations have the same arguments names (#67)
Co-authored-by: Koen <koen@gsf.engineering>
3 years ago
Lingkai Dong 8d5aae1e01
Add root CMakeLists.txt to better support FetchContent (#64)
CMake's `FetchContent_MakeAvailable()` treats the fetched repository as
a CMake project and automatically calls `subdirectory()` on it, if a
`CMakeLists.txt` exists in the root directory.

Signed-off-by: Lingkai Dong <lingkai.dong@arm.com>

Signed-off-by: Lingkai Dong <lingkai.dong@arm.com>
3 years ago
Christophe Favergeon 91ef795234 Corrected issue #66
Saturation problem in arm_absmax_no_idx_q(7|15|31)
Difference of behavior for absmax_q(7|15|31) between reference and code:
reference is first max found. Code was last max found.
3 years ago
Christophe Favergeon 3d1a7f7ff4 Improvement to the Python wrapper
Corrected issues with arm_fir_decimate and arm_fir_interpolate
Corrected issues with real FFTs in the wrapper
Added a customization option for the FIFO class in compute graph.
Added Python tests for the corrected functions.
3 years ago
Christophe Favergeon 0705c67568 Corrected issue #59
Out of bound access for arm_correlate MVE implementations.
3 years ago
Christophe Favergeon 54be9aeaee Corrected issue #61
Table configuration issue with RFFT Fast F32 and F16

The define use to include or exclude the bit reverse table is different
for scalar and MVE versions. The test was not covering both cases.
3 years ago
Christophe Favergeon 68ddaa577d Corrected issue #62
MVE tables were not const qualified.
3 years ago