Home
last modified time | relevance | path

Searched refs:A (Results 1 – 25 of 63) sorted by relevance

123

/cmsis-dsp-latest/Include/dsp/
Dmatrix_utils.h41 #define ELEM(A,ROW,COL) &((A)->pData[(A)->numCols* (ROW) + (COL)]) argument
43 #define SCALE_COL_T(T,CAST,A,ROW,v,i) \ argument
46 T *data = (A)->pData; \
47 const int32_t _numCols = (A)->numCols; \
48 const int32_t nb = (A)->numRows - ROW;\
59 #define COPY_COL_T(T,A,ROW,COL,DST) \ argument
63 T *_pa = (A)->pData + ROW * (A)->numCols + COL;\
64 for(_row = ROW; _row < (A)->numRows; _row ++) \
67 _pa += (A)->numCols; \
74 #define SWAP_ROWS_F16(A,COL,i,j) \ argument
[all …]
/cmsis-dsp-latest/dsppp/tests/
Dmatrix_utils.h41 #define ELEM(A,ROW,COL) &((A)->pData[(A)->numCols* (ROW) + (COL)]) argument
43 #define SCALE_COL_T(T,CAST,A,ROW,v,i) \ argument
46 T *data = (A)->pData; \
47 const int32_t _numCols = (A)->numCols; \
48 const int32_t nb = (A)->numRows - ROW;\
59 #define COPY_COL_T(T,A,ROW,COL,DST) \ argument
63 T *_pa = (A)->pData + ROW * (A)->numCols + COL;\
64 for(_row = ROW; _row < (A)->numRows; _row ++) \
67 _pa += (A)->numCols; \
74 #define SWAP_ROWS_F16(A,COL,i,j) \ argument
[all …]
Dcommon_tests.h17 #define ERROR(A,B,AE,RE) ((fabs((A) - (B)) > (AE + RE * fabs((B))))) argument
60 template<int> typename A>
61 void init_array(Vector<T,L,A> &pDst,std::size_t nb) in init_array()
71 template<int> typename A>
72 void init_array(Vector<float16_t,L,A> &pDst,std::size_t nb) in init_array()
Dmatrix_test.cpp263 template<typename T,int R,int C, template<int> typename A>
264 void init_mat(Matrix<T,R,C,A> &pDst,std::size_t r,std::size_t c) in init_mat()
308 template<int> typename A,
310 void _matinv(const Matrix<T,NB,NB,A> &a,M && res) in _matinv()
380 template<int> typename A,
382 Matrix<T,NB,NB,TMP_ALLOC> matinv(const Matrix<T,NB,NB,A> &a) in matinv()
391 template<int> typename A,
393 Matrix<T,DYNAMIC,DYNAMIC,TMP_ALLOC> matinv(const Matrix<T,NB,NB,A> &a) in matinv()
402 template<int> typename A,
404 void matinv(Matrix<T,DYNAMIC,DYNAMIC,TMP_ALLOC> &res, const Matrix<T,NB,NB,A> &a) in matinv()
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/num_features/
Dgroup.hpp169 template<typename A,typename V,std::size_t... Ns>
170 __STATIC_FORCEINLINE A vmacc_impl(const A &acc,const V &a,const V &b, std::index_sequence<Ns...>) in vmacc_impl()
187 template<typename A,typename ...E>
188 __STATIC_FORCEINLINE A
189 vmacc(const A &acc,const std::tuple<E...> &a,const std::tuple<E...> &b) in vmacc()
209 template<typename A,typename V,typename B,std::size_t... Ns>
210 …__STATIC_FORCEINLINE A vmacc_impl(const A &acc,const V &a,const V &b, const B p0,std::index_sequen… in vmacc_impl()
229 template<typename A,typename B,typename ...E>
230 __STATIC_FORCEINLINE A
231 vmacc(const A &acc,const std::tuple<E...> &a,const std::tuple<E...> &b,const B p0) in vmacc()
[all …]
/cmsis-dsp-latest/PrivateInclude/
Darm_vec_fft.h38 #define MVE_CMPLX_ADD_A_ixB(A, B) vcaddq_rot90(A,B) argument
39 #define MVE_CMPLX_SUB_A_ixB(A,B) vcaddq_rot270(A,B) argument
40 #define MVE_CMPLX_MULT_FLT_AxB(A,B) vcmlaq_rot90(vcmulq(A, B), A, B) argument
41 #define MVE_CMPLX_MULT_FLT_Conj_AxB(A,B) vcmlaq_rot270(vcmulq(A, B), A, B) argument
43 #define MVE_CMPLX_MULT_FX_AxB(A,B,TyA) vqdmladhxq(vqdmlsdhq((TyA)vuninitializedq_s32(), A, B),… argument
44 #define MVE_CMPLX_MULT_FX_AxConjB(A,B,TyA) vqdmladhq(vqdmlsdhxq((TyA)vuninitializedq_s32(), A, B),… argument
46 #define MVE_CMPLX_ADD_FX_A_ixB(A, B) vhcaddq_rot90(A,B) argument
47 #define MVE_CMPLX_SUB_FX_A_ixB(A,B) vhcaddq_rot270(A,B) argument
/cmsis-dsp-latest/Testing/FrameworkInclude/
DError.h156 #define ASSERT_EQ(A,B) Client::assert_equal(__LINE__,A,B) argument
157 #define ASSERT_EQ_PARTIAL(NB,A,B) Client::assert_equal_partial(__LINE__,NB,A,B) argument
159 #define ASSERT_NEAR_EQ(A,B,THRESH) Client::assert_near_equal(__LINE__,A,B,THRESH) argument
160 #define ASSERT_REL_ERROR(A,B,THRESH) Client::assert_relative_error(__LINE__,A,B,THRESH) argument
161 #define ASSERT_CLOSE_ERROR(A,B,ABSTHRESH,RELTHRESH) Client::assert_close_error(__LINE__,A,B,ABSTHRE… argument
162 #define ASSERT_SNR(A,B,SNR) Client::assert_snr_error(__LINE__,A,B,SNR) argument
163 #define ASSERT_TRUE(A) Client::assert_true(__LINE__,A) argument
164 #define ASSERT_FALSE(A) Client::assert_false(__LINE__,A) argument
165 #define ASSERT_NOT_EMPTY(A) Client::assert_not_empty(__LINE__,A) argument
166 #define ASSERT_EMPTY_TAIL(A) if (!A.isTailEmpty()) throw (Client::Error(TAIL_NOT_EMPTY_ERROR,__LINE… argument
/cmsis-dsp-latest/Examples/ARM/arm_matrix_example/
Darm_matrix_example_f32.c149 arm_matrix_instance_f32 A; /* Matrix A Instance */ in main() local
162 arm_mat_init_f32(&A, srcRows, srcColumns, (float32_t *)A_f32); in main()
170 status = arm_mat_trans_f32(&A, &AT); in main()
179 status = arm_mat_mult_f32(&AT, &A, &ATMA); in main()
/cmsis-dsp-latest/Source/TransformFunctions/
Darm_rfft_q31.c162 …define MVE_CMPLX_MULT_FX_AxB_S32(A,B) vqdmladhxq_s32(vqdmlsdhq_s32((__typeof(A))vuninitia… argument
163 …fine MVE_CMPLX_MULT_FX_AxConjB_S32(A,B) vqdmladhq_s32(vqdmlsdhxq_s32((__typeof(A))vuninitiali… argument
Darm_rfft_q15.c163 …define MVE_CMPLX_MULT_FX_AxB_S16(A,B) vqdmladhxq_s16(vqdmlsdhq_s16((__typeof(A))vuninitia… argument
164 …fine MVE_CMPLX_MULT_FX_AxConjB_S16(A,B) vqdmladhq_s16(vqdmlsdhxq_s16((__typeof(A))vuninitiali… argument
/cmsis-dsp-latest/Testing/Source/Benchmarks/
DMISCF32.cpp4 #define MAX(A,B) (A) > (B) ? (A) : (B) argument
DMISCQ15.cpp4 #define MAX(A,B) (A) > (B) ? (A) : (B) argument
DMISCQ31.cpp4 #define MAX(A,B) (A) > (B) ? (A) : (B) argument
DMISCQ7.cpp4 #define MAX(A,B) (A) > (B) ? (A) : (B) argument
DMISCF16.cpp4 #define MAX(A,B) (A) > (B) ? (A) : (B) argument
/cmsis-dsp-latest/dsppp/Include/dsppp/
Dvec.hpp50 template<int> typename A>
51 struct VecRef<Vector<P,L,A>,(L<0)>
55 … static VectorView<P,1> ref(const Vector<P,L,A>&a,typename std::enable_if<(L<0)>::type* = nullptr){ in ref()
62 template<int> typename A>
63 struct VecRef<Vector<P,L,A>,(L>0)>
65 typedef const Vector<P,L,A>& type;
66 …static const Vector<P,L,A>& ref(const Vector<P,L,A>&a,typename std::enable_if<(L>0)>::type* = null… in ref()
Dmatrix.hpp30 template<int> typename A>
31 struct traits<Matrix<P,R,C,A>>
49 template<int> typename A>
50 struct traits<const Matrix<P,R,C,A>&>
439 template<int> typename A>
440 struct VecRef<Matrix<P,R,C,A>,((R>0) && (C>0))>
442 typedef const Matrix<P,R,C,A>& type;
443 … static type ref(const Matrix<P,R,C,A>&a,typename std::enable_if<(R>0) && (C>0)>::type* = nullptr){ in ref()
449 template<int> typename A>
450 struct VecRef<Matrix<P,R,C,A>,((R<0) || (C<0))>
[all …]
Dalgorithms.hpp63 template<int> typename A,
67 inline void _diagonal(Matrix<P,R,R,A> &v, in _diagonal()
87 template<int> typename A,
91 inline void _fill_diagonal(Matrix<P,R,R,A> &v, in _fill_diagonal()
102 template<int> typename A>
103 inline void _identity(Matrix<P,R,R,A> &v, in _identity()
/cmsis-dsp-latest/Testing/
DREADME.md97 #### R3 : A test shall be uniquely identified
121 A test suite is a set of tests packaged with some data.
129 A test should start (as far as possible) in a clean state. There should not be interferences betwee…
151 A test description file is defined with a specific syntax to support R1 to R8.
171 A folder can be reused for different nodes. For instance, you may have a suite for testing and one …
173 A test suite is more complex than a group since it contains the description of the tests and relate…
188 A function is described with some text and followed by the name of the function in the C++ class.
193 A test is requiring input patterns, reference patterns and outputs (to be compared to the reference…
212 A pattern or output description is an ID (to be used in the code) followed by a filename.
220 A benchmark will often have to be run with different lengths for the input.
[all …]
Dbench.txt31 A = [16,32,64,128,256]
72 A = [16,32,64,128,256]
102 A = [16,32,64,128,256]
140 A = [16,32,64,128,256]
178 A = [16,32,64,128,256]
212 A = [16,32,64,128,256]
242 A = [16,32,64,128,256]
272 A = [16,32,64,128,256]
302 A = [16,32,64,128,256]
338 A = [16,32,64,128,256]
[all …]
/cmsis-dsp-latest/ComputeLibrary/Include/
DNEMath.h274 float32x4_t A = vmlaq_f32(vld1q_f32(&coeffs[4*0]), vld1q_f32(&coeffs[4*4]), x); in vtaylor_polyq_f32() local
280 float32x4_t res = vmlaq_f32(vmlaq_f32(A, B, x2), vmlaq_f32(C, D, x2), x4); in vtaylor_polyq_f32()
288 float64x2_t A = vmlaq_f64(vld1q_f64(&coeffs[2*0]), vld1q_f64(&coeffs[2*4]), x); in vtaylor_polyq_f64() local
294 float64x2_t res = vmlaq_f64(vmlaq_f64(A, B, x2), vmlaq_f64(C, D, x2), x4); in vtaylor_polyq_f64()
425 … const float16x8_t A = vaddq_f16(vld1q_f16(&coeffs[8*0]), vmulq_f16(vld1q_f16(&coeffs[8*4]), x)); in vtaylor_polyq_f16() local
431 …const float16x8_t res = vaddq_f16(vaddq_f16(A, vmulq_f16(B, x2)), vmulq_f16(vaddq_f16(C, vmulq_f16… in vtaylor_polyq_f16()
/cmsis-dsp-latest/PythonWrapper/examples/
Dexample_1_5.py81 def checkOrtho(A,err=1e-10): argument
82 product = A.T.dot(A)
Dtestrfft_all.py22 def chop(A, eps = 1e-6): argument
23 B = np.copy(A)
24 B[np.abs(A) < eps] = 0
/cmsis-dsp-latest/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_module.h48 #define CAT1(A,B) A##B argument
49 #define CAT(A,B) CAT1(A,B) argument
/cmsis-dsp-latest/
DREADME.md10 It provides optimized compute kernels for Cortex-M and for Cortex-A.
16 * Test framework for bare metal Cortex-M or Cortex-A
41 A [PythonWrapper](https://pypi.org/project/cmsisdsp/) is also available and can be installed with:
152 If you are building for `Cortex-A` and want to use Neon, you'll also need to include `ComputeLibrar…
198 The intrinsics defined in `Core_A/Include` are not available on recent Cortex-A processors.
200 But you can still build for those Cortex-A cores and benefit from the Neon intrinsics.
269 * CMSIS-DSP Test framework for bare metal Cortex-M and Cortex-A

123