From 0525971fe85c938a285b4bedb0bcc4ed5131b310 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Mon, 20 Jul 2020 08:12:12 +0200 Subject: [PATCH] CMSIS-DSP: Removed compilation warnings --- Testing/FrameworkSource/Calibrate.cpp | 6 ++---- Testing/Source/Tests/BIQUADF32.cpp | 12 +++++------- Testing/Source/Tests/BIQUADF64.cpp | 9 +++------ Testing/Source/Tests/BIQUADQ15.cpp | 7 ++----- Testing/Source/Tests/BIQUADQ31.cpp | 6 ++---- Testing/Source/Tests/BasicTestsF32.cpp | 12 +++++++++++- Testing/Source/Tests/BasicTestsQ15.cpp | 14 +++++++------- Testing/Source/Tests/BasicTestsQ31.cpp | 12 +++++------- Testing/Source/Tests/BasicTestsQ7.cpp | 15 +++++++-------- Testing/Source/Tests/BayesF32.cpp | 3 ++- Testing/Source/Tests/BinaryTestsF32.cpp | 3 ++- Testing/Source/Tests/BinaryTestsQ15.cpp | 3 ++- Testing/Source/Tests/BinaryTestsQ31.cpp | 3 ++- Testing/Source/Tests/BinaryTestsQ7.cpp | 3 ++- Testing/Source/Tests/ComplexTestsF32.cpp | 8 ++------ Testing/Source/Tests/ComplexTestsQ15.cpp | 6 +----- Testing/Source/Tests/ComplexTestsQ31.cpp | 9 +++------ Testing/Source/Tests/DECIMF32.cpp | 3 ++- Testing/Source/Tests/DECIMQ15.cpp | 2 ++ Testing/Source/Tests/DECIMQ31.cpp | 3 ++- Testing/Source/Tests/DistanceTestsF32.cpp | 2 ++ Testing/Source/Tests/DistanceTestsU32.cpp | 2 ++ Testing/Source/Tests/ExampleCategoryF32.cpp | 3 ++- Testing/Source/Tests/ExampleCategoryQ15.cpp | 3 ++- Testing/Source/Tests/ExampleCategoryQ31.cpp | 4 ++-- Testing/Source/Tests/ExampleCategoryQ7.cpp | 4 ++-- Testing/Source/Tests/FIRF32.cpp | 5 +++-- Testing/Source/Tests/FIRQ15.cpp | 5 +++-- Testing/Source/Tests/FIRQ31.cpp | 5 +++-- Testing/Source/Tests/FIRQ7.cpp | 5 +++-- Testing/Source/Tests/FastMathF32.cpp | 11 +++++------ Testing/Source/Tests/FastMathQ15.cpp | 11 +++++------ Testing/Source/Tests/FastMathQ31.cpp | 11 +++++------ Testing/Source/Tests/InterpolationTestsF32.cpp | 6 ++++-- Testing/Source/Tests/InterpolationTestsQ15.cpp | 6 ++++-- Testing/Source/Tests/InterpolationTestsQ31.cpp | 6 ++++-- Testing/Source/Tests/InterpolationTestsQ7.cpp | 6 ++++-- Testing/Source/Tests/MISCF32.cpp | 2 ++ Testing/Source/Tests/MISCQ15.cpp | 2 ++ Testing/Source/Tests/MISCQ31.cpp | 2 ++ Testing/Source/Tests/MISCQ7.cpp | 2 ++ Testing/Source/Tests/SVMF32.cpp | 6 ++---- Testing/Source/Tests/StatsTestsF32.cpp | 6 ++---- Testing/Source/Tests/StatsTestsF64.cpp | 4 ++-- Testing/Source/Tests/StatsTestsQ15.cpp | 2 ++ Testing/Source/Tests/StatsTestsQ31.cpp | 2 ++ Testing/Source/Tests/StatsTestsQ7.cpp | 2 ++ Testing/Source/Tests/SupportBarTestsF32.cpp | 2 ++ Testing/Source/Tests/SupportTestsF32.cpp | 6 ++---- Testing/Source/Tests/SupportTestsQ15.cpp | 5 ++--- Testing/Source/Tests/SupportTestsQ31.cpp | 5 ++--- Testing/Source/Tests/SupportTestsQ7.cpp | 5 ++--- Testing/Source/Tests/TransformCF32.cpp | 3 ++- Testing/Source/Tests/TransformCF64.cpp | 3 ++- Testing/Source/Tests/TransformCQ15.cpp | 5 +++-- Testing/Source/Tests/TransformCQ31.cpp | 5 +++-- Testing/Source/Tests/TransformRF32.cpp | 3 ++- Testing/Source/Tests/TransformRF64.cpp | 3 ++- Testing/Source/Tests/TransformRQ15.cpp | 5 +++-- Testing/Source/Tests/TransformRQ31.cpp | 5 +++-- Testing/Source/Tests/UnaryTestsF32.cpp | 3 ++- Testing/Source/Tests/UnaryTestsF64.cpp | 2 ++ Testing/Source/Tests/UnaryTestsQ15.cpp | 3 ++- Testing/Source/Tests/UnaryTestsQ31.cpp | 3 ++- Testing/Source/Tests/UnaryTestsQ7.cpp | 3 ++- 65 files changed, 181 insertions(+), 152 deletions(-) diff --git a/Testing/FrameworkSource/Calibrate.cpp b/Testing/FrameworkSource/Calibrate.cpp index 86edd963..acef7039 100755 --- a/Testing/FrameworkSource/Calibrate.cpp +++ b/Testing/FrameworkSource/Calibrate.cpp @@ -2,19 +2,17 @@ Calibrate::Calibrate(Testing::testID_t id):Client::Suite(id) { - } void Calibrate::empty() { } -void Calibrate::setUp(Testing::testID_t,std::vector& params,Client::PatternMgr *mgr) +void Calibrate::setUp(Testing::testID_t,std::vector& ,Client::PatternMgr *) { - } -void Calibrate::tearDown(Testing::testID_t,Client::PatternMgr *mgr) +void Calibrate::tearDown(Testing::testID_t,Client::PatternMgr *) { } diff --git a/Testing/Source/Tests/BIQUADF32.cpp b/Testing/Source/Tests/BIQUADF32.cpp index 7486ad8d..e9683bc1 100755 --- a/Testing/Source/Tests/BIQUADF32.cpp +++ b/Testing/Source/Tests/BIQUADF32.cpp @@ -12,9 +12,6 @@ a double precision computation. */ #define REL_ERROR (1.2e-3) -#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -static __ALIGNED(8) float32_t coeffArray[32]; -#endif void BIQUADF32::test_biquad_cascade_df1_ref() { @@ -182,7 +179,7 @@ static __ALIGNED(8) float32_t coeffArray[32]; int blockSize; int numStages; - int i; + unsigned long i; @@ -260,7 +257,7 @@ static __ALIGNED(8) float32_t coeffArray[32]; int blockSize; int numStages; - int i; + unsigned long i; @@ -342,7 +339,7 @@ static __ALIGNED(8) float32_t coeffArray[32]; int blockSize; int numStages; - int i; + unsigned long i; @@ -400,7 +397,7 @@ static __ALIGNED(8) float32_t coeffArray[32]; void BIQUADF32::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case BIQUADF32::TEST_BIQUAD_CASCADE_DF1_REF_1: @@ -466,6 +463,7 @@ static __ALIGNED(8) float32_t coeffArray[32]; void BIQUADF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); switch(id) { diff --git a/Testing/Source/Tests/BIQUADF64.cpp b/Testing/Source/Tests/BIQUADF64.cpp index 8c64ee0f..4ce64254 100755 --- a/Testing/Source/Tests/BIQUADF64.cpp +++ b/Testing/Source/Tests/BIQUADF64.cpp @@ -12,10 +12,6 @@ a double precision computation. */ #define REL_ERROR (1.2e-3) -#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -static __ALIGNED(8) float64_t coeffArray[64]; -#endif - void BIQUADF64::test_biquad_cascade_df2T_ref() { @@ -96,7 +92,7 @@ static __ALIGNED(8) float64_t coeffArray[64]; int blockSize; int numStages; - int i; + unsigned long i; @@ -154,7 +150,7 @@ static __ALIGNED(8) float64_t coeffArray[64]; void BIQUADF64::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case BIQUADF64::TEST_BIQUAD_CASCADE_DF2T_REF_1: @@ -186,6 +182,7 @@ static __ALIGNED(8) float64_t coeffArray[64]; void BIQUADF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BIQUADQ15.cpp b/Testing/Source/Tests/BIQUADQ15.cpp index 5b2625d0..86487610 100755 --- a/Testing/Source/Tests/BIQUADQ15.cpp +++ b/Testing/Source/Tests/BIQUADQ15.cpp @@ -13,10 +13,6 @@ It will have to be reworked #define ABS_ERROR_Q15 ((q15_t)500) -#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -static __ALIGNED(8) q15_t coeffArray[32]; -#endif - void BIQUADQ15::test_biquad_cascade_df1() { @@ -83,7 +79,7 @@ static __ALIGNED(8) q15_t coeffArray[32]; { - + (void)params; switch(id) { case BIQUADQ15::TEST_BIQUAD_CASCADE_DF1_1: @@ -106,5 +102,6 @@ static __ALIGNED(8) q15_t coeffArray[32]; void BIQUADQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BIQUADQ31.cpp b/Testing/Source/Tests/BIQUADQ31.cpp index 14dc4586..5806b06c 100755 --- a/Testing/Source/Tests/BIQUADQ31.cpp +++ b/Testing/Source/Tests/BIQUADQ31.cpp @@ -11,9 +11,6 @@ #define ABS_32x64_ERROR_Q31 ((q31_t)25) -#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) -static __ALIGNED(8) q31_t coeffArray[32]; -#endif void BIQUADQ31::test_biquad_cascade_df1() { @@ -138,7 +135,7 @@ static __ALIGNED(8) q31_t coeffArray[32]; void BIQUADQ31::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case BIQUADQ31::TEST_BIQUAD_CASCADE_DF1_1: @@ -166,5 +163,6 @@ static __ALIGNED(8) q31_t coeffArray[32]; void BIQUADQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BasicTestsF32.cpp b/Testing/Source/Tests/BasicTestsF32.cpp index 1fafcd9f..31e4a8fb 100644 --- a/Testing/Source/Tests/BasicTestsF32.cpp +++ b/Testing/Source/Tests/BasicTestsF32.cpp @@ -15,7 +15,6 @@ a double precision computation. #define GET_F32_PTR() \ const float32_t *inp1=input1.ptr(); \ const float32_t *inp2=input2.ptr(); \ -float32_t *refp=ref.ptr(); \ float32_t *outp=output.ptr(); void BasicTestsF32::test_add_f32() @@ -64,6 +63,8 @@ float32_t *outp=output.ptr(); { GET_F32_PTR(); + (void)inp2; + arm_negate_f32(inp1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -78,6 +79,8 @@ float32_t *outp=output.ptr(); { GET_F32_PTR(); + (void)inp2; + arm_offset_f32(inp1,0.5,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -92,6 +95,8 @@ float32_t *outp=output.ptr(); { GET_F32_PTR(); + (void)inp2; + arm_scale_f32(inp1,0.5,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -125,6 +130,8 @@ float32_t *outp=output.ptr(); { GET_F32_PTR(); + (void)inp2; + arm_abs_f32(inp1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -139,6 +146,8 @@ float32_t *outp=output.ptr(); void BasicTestsF32::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; + Testing::nbSamples_t nb=MAX_NB_SAMPLES; @@ -293,5 +302,6 @@ float32_t *outp=output.ptr(); void BasicTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BasicTestsQ15.cpp b/Testing/Source/Tests/BasicTestsQ15.cpp index 6797c796..f66be9f6 100755 --- a/Testing/Source/Tests/BasicTestsQ15.cpp +++ b/Testing/Source/Tests/BasicTestsQ15.cpp @@ -20,13 +20,11 @@ a double precision computation. #define GET_Q15_PTR() \ const q15_t *inp1=input1.ptr(); \ const q15_t *inp2=input2.ptr(); \ -q15_t *refp=ref.ptr(); \ q15_t *outp=output.ptr(); #define GET_LOGICAL_UINT16_PTR() \ const uint16_t *inp1=inputLogical1.ptr(); \ const uint16_t *inp2=inputLogical2.ptr(); \ -uint16_t *refp=refLogical.ptr(); \ uint16_t *outp=outputLogical.ptr(); @@ -77,7 +75,6 @@ uint16_t *outp=outputLogical.ptr(); void BasicTestsQ15::test_negate_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_negate_q15(inp1,outp,input1.nbSamples()); @@ -93,7 +90,6 @@ uint16_t *outp=outputLogical.ptr(); void BasicTestsQ15::test_offset_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_offset_q15(inp1,this->scalar,outp,input1.nbSamples()); @@ -109,7 +105,6 @@ uint16_t *outp=outputLogical.ptr(); void BasicTestsQ15::test_scale_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_scale_q15(inp1,this->scalar,0,outp,input1.nbSamples()); @@ -128,7 +123,6 @@ uint16_t *outp=outputLogical.ptr(); const q15_t *inp1=input1.ptr(); const q15_t *inp2=input2.ptr(); - q63_t *refp=dotRef.ptr(); q63_t *outp=dotOutput.ptr(); arm_dot_prod_q15(inp1,inp2,input1.nbSamples(),&r); @@ -147,6 +141,8 @@ uint16_t *outp=outputLogical.ptr(); { GET_Q15_PTR(); + (void)inp2; + arm_abs_q15(inp1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -160,9 +156,9 @@ uint16_t *outp=outputLogical.ptr(); void BasicTestsQ15::test_shift_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); + arm_shift_q15(inp1,1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -201,6 +197,8 @@ uint16_t *outp=outputLogical.ptr(); { GET_LOGICAL_UINT16_PTR(); + (void)inp2; + arm_not_u16(inp1,outp,inputLogical1.nbSamples()); ASSERT_EMPTY_TAIL(outputLogical); @@ -229,6 +227,8 @@ uint16_t *outp=outputLogical.ptr(); this->scalar = ONEHALF; + (void)params; + switch(id) { diff --git a/Testing/Source/Tests/BasicTestsQ31.cpp b/Testing/Source/Tests/BasicTestsQ31.cpp index 2e952d74..d816fd11 100755 --- a/Testing/Source/Tests/BasicTestsQ31.cpp +++ b/Testing/Source/Tests/BasicTestsQ31.cpp @@ -18,13 +18,11 @@ a double precision computation. #define GET_Q31_PTR() \ const q31_t *inp1=input1.ptr(); \ const q31_t *inp2=input2.ptr(); \ -q31_t *refp=ref.ptr(); \ q31_t *outp=output.ptr(); #define GET_LOGICAL_UINT32_PTR() \ const uint32_t *inp1=inputLogical1.ptr(); \ const uint32_t *inp2=inputLogical2.ptr(); \ -uint32_t *refp=refLogical.ptr(); \ uint32_t *outp=outputLogical.ptr(); @@ -73,7 +71,6 @@ uint32_t *outp=outputLogical.ptr(); void BasicTestsQ31::test_negate_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_negate_q31(inp1,outp,input1.nbSamples()); @@ -89,7 +86,6 @@ uint32_t *outp=outputLogical.ptr(); void BasicTestsQ31::test_offset_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_offset_q31(inp1,this->scalar,outp,input1.nbSamples()); @@ -105,7 +101,6 @@ uint32_t *outp=outputLogical.ptr(); void BasicTestsQ31::test_scale_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_scale_q31(inp1,this->scalar,0,outp,input1.nbSamples()); @@ -124,7 +119,6 @@ uint32_t *outp=outputLogical.ptr(); const q31_t *inp1=input1.ptr(); const q31_t *inp2=input2.ptr(); - q63_t *refp=dotRef.ptr(); q63_t *outp=dotOutput.ptr(); arm_dot_prod_q31(inp1,inp2,input1.nbSamples(),&r); @@ -145,6 +139,8 @@ uint32_t *outp=outputLogical.ptr(); { GET_Q31_PTR(); + (void)inp2; + arm_abs_q31(inp1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -158,7 +154,6 @@ uint32_t *outp=outputLogical.ptr(); void BasicTestsQ31::test_shift_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_shift_q31(inp1,1,outp,input1.nbSamples()); @@ -199,6 +194,8 @@ uint32_t *outp=outputLogical.ptr(); { GET_LOGICAL_UINT32_PTR(); + (void)inp2; + arm_not_u32(inp1,outp,inputLogical1.nbSamples()); ASSERT_EMPTY_TAIL(outputLogical); @@ -222,6 +219,7 @@ uint32_t *outp=outputLogical.ptr(); void BasicTestsQ31::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; Testing::nbSamples_t nb=MAX_NB_SAMPLES; this->scalar = ONEHALF; diff --git a/Testing/Source/Tests/BasicTestsQ7.cpp b/Testing/Source/Tests/BasicTestsQ7.cpp index 6723e424..4fbe33c1 100755 --- a/Testing/Source/Tests/BasicTestsQ7.cpp +++ b/Testing/Source/Tests/BasicTestsQ7.cpp @@ -12,13 +12,11 @@ #define GET_Q7_PTR() \ const q7_t *inp1=input1.ptr(); \ const q7_t *inp2=input2.ptr(); \ -q7_t *refp=ref.ptr(); \ q7_t *outp=output.ptr(); #define GET_LOGICAL_UINT8_PTR() \ const uint8_t *inp1=inputLogical1.ptr(); \ const uint8_t *inp2=inputLogical2.ptr(); \ -uint8_t *refp=refLogical.ptr(); \ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_add_q7() @@ -87,7 +85,6 @@ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_negate_q7() { const q7_t *inp1=input1.ptr(); - q7_t *refp=ref.ptr(); q7_t *outp=output.ptr(); arm_negate_q7(inp1,outp,input1.nbSamples()); @@ -103,7 +100,6 @@ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_offset_q7() { const q7_t *inp1=input1.ptr(); - q7_t *refp=ref.ptr(); q7_t *outp=output.ptr(); arm_offset_q7(inp1,this->scalar,outp,input1.nbSamples()); @@ -119,7 +115,6 @@ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_scale_q7() { const q7_t *inp1=input1.ptr(); - q7_t *refp=ref.ptr(); q7_t *outp=output.ptr(); arm_scale_q7(inp1,this->scalar,0,outp,input1.nbSamples()); @@ -138,7 +133,6 @@ uint8_t *outp=outputLogical.ptr(); const q7_t *inp1=input1.ptr(); const q7_t *inp2=input2.ptr(); - q31_t *refp=dotRef.ptr(); q31_t *outp=dotOutput.ptr(); arm_dot_prod_q7(inp1,inp2,input1.nbSamples(),&r); @@ -158,6 +152,8 @@ uint8_t *outp=outputLogical.ptr(); { GET_Q7_PTR(); + (void)inp2; + arm_abs_q7(inp1,outp,input1.nbSamples()); ASSERT_EMPTY_TAIL(output); @@ -171,7 +167,6 @@ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_shift_q7() { const q7_t *inp1=input1.ptr(); - q7_t *refp=ref.ptr(); q7_t *outp=output.ptr(); arm_shift_q7(inp1,1,outp,input1.nbSamples()); @@ -187,7 +182,7 @@ uint8_t *outp=outputLogical.ptr(); void BasicTestsQ7::test_and_u8() { - GET_LOGICAL_UINT8_PTR(); + GET_LOGICAL_UINT8_PTR(); arm_and_u8(inp1,inp2,outp,inputLogical1.nbSamples()); @@ -215,6 +210,8 @@ uint8_t *outp=outputLogical.ptr(); { GET_LOGICAL_UINT8_PTR(); + (void)inp2; + arm_not_u8(inp1,outp,inputLogical1.nbSamples()); ASSERT_EMPTY_TAIL(outputLogical); @@ -242,6 +239,8 @@ uint8_t *outp=outputLogical.ptr(); this->scalar = ONEHALF; + (void)params; + switch(id) { diff --git a/Testing/Source/Tests/BayesF32.cpp b/Testing/Source/Tests/BayesF32.cpp index bb109454..b2e0e0ce 100755 --- a/Testing/Source/Tests/BayesF32.cpp +++ b/Testing/Source/Tests/BayesF32.cpp @@ -34,7 +34,7 @@ { - + (void)paramsArgs; switch(id) { @@ -82,6 +82,7 @@ void BayesF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputProbas.dump(mgr); outputPredicts.dump(mgr); } diff --git a/Testing/Source/Tests/BinaryTestsF32.cpp b/Testing/Source/Tests/BinaryTestsF32.cpp index 209556ca..b90045fa 100755 --- a/Testing/Source/Tests/BinaryTestsF32.cpp +++ b/Testing/Source/Tests/BinaryTestsF32.cpp @@ -111,7 +111,7 @@ a double precision computation. { - + (void)params; switch(id) { case TEST_MAT_MULT_F32_1: @@ -149,5 +149,6 @@ a double precision computation. void BinaryTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BinaryTestsQ15.cpp b/Testing/Source/Tests/BinaryTestsQ15.cpp index 25460bbf..72da9426 100755 --- a/Testing/Source/Tests/BinaryTestsQ15.cpp +++ b/Testing/Source/Tests/BinaryTestsQ15.cpp @@ -117,7 +117,7 @@ a double precision computation. { - + (void)params; switch(id) { case TEST_MAT_MULT_Q15_1: @@ -157,5 +157,6 @@ a double precision computation. void BinaryTestsQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BinaryTestsQ31.cpp b/Testing/Source/Tests/BinaryTestsQ31.cpp index e0a03912..2f93e737 100755 --- a/Testing/Source/Tests/BinaryTestsQ31.cpp +++ b/Testing/Source/Tests/BinaryTestsQ31.cpp @@ -110,7 +110,7 @@ a double precision computation. { - + (void)params; switch(id) { case TEST_MAT_MULT_Q31_1: @@ -148,5 +148,6 @@ a double precision computation. void BinaryTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/BinaryTestsQ7.cpp b/Testing/Source/Tests/BinaryTestsQ7.cpp index b7a6576d..3f1aa992 100755 --- a/Testing/Source/Tests/BinaryTestsQ7.cpp +++ b/Testing/Source/Tests/BinaryTestsQ7.cpp @@ -87,7 +87,7 @@ a double precision computation. { - + (void)params; switch(id) { case TEST_MAT_MULT_Q7_1: @@ -113,5 +113,6 @@ a double precision computation. void BinaryTestsQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/ComplexTestsF32.cpp b/Testing/Source/Tests/ComplexTestsF32.cpp index 544d3137..8041ca02 100755 --- a/Testing/Source/Tests/ComplexTestsF32.cpp +++ b/Testing/Source/Tests/ComplexTestsF32.cpp @@ -9,7 +9,6 @@ void ComplexTestsF32::test_cmplx_conj_f32() { const float32_t *inp1=input1.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); @@ -31,7 +30,6 @@ const float32_t *inp1=input1.ptr(); const float32_t *inp2=input2.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); arm_cmplx_dot_prod_f32(inp1,inp2,input1.nbSamples() >> 1,&re,&im); @@ -49,7 +47,6 @@ void ComplexTestsF32::test_cmplx_mag_f32() { const float32_t *inp1=input1.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); arm_cmplx_mag_f32(inp1,outp,input1.nbSamples() >> 1 ); @@ -64,7 +61,6 @@ void ComplexTestsF32::test_cmplx_mag_squared_f32() { const float32_t *inp1=input1.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); arm_cmplx_mag_squared_f32(inp1,outp,input1.nbSamples() >> 1 ); @@ -81,7 +77,6 @@ { const float32_t *inp1=input1.ptr(); const float32_t *inp2=input2.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); arm_cmplx_mult_cmplx_f32(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -98,7 +93,6 @@ { const float32_t *inp1=input1.ptr(); const float32_t *inp2=input2.ptr(); - float32_t *refp=ref.ptr(); float32_t *outp=output.ptr(); arm_cmplx_mult_real_f32(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -115,6 +109,7 @@ { Testing::nbSamples_t nb=MAX_NB_SAMPLES; + (void)params; switch(id) @@ -308,5 +303,6 @@ void ComplexTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/ComplexTestsQ15.cpp b/Testing/Source/Tests/ComplexTestsQ15.cpp index 9a64d0ae..65782aab 100755 --- a/Testing/Source/Tests/ComplexTestsQ15.cpp +++ b/Testing/Source/Tests/ComplexTestsQ15.cpp @@ -17,7 +17,6 @@ a double precision computation. void ComplexTestsQ15::test_cmplx_conj_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_cmplx_conj_q15(inp1,outp,input1.nbSamples() >> 1 ); @@ -57,7 +56,6 @@ a double precision computation. void ComplexTestsQ15::test_cmplx_mag_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_cmplx_mag_q15(inp1,outp,input1.nbSamples() >> 1 ); @@ -74,7 +72,6 @@ a double precision computation. void ComplexTestsQ15::test_cmplx_mag_squared_q15() { const q15_t *inp1=input1.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_cmplx_mag_squared_q15(inp1,outp,input1.nbSamples() >> 1 ); @@ -92,7 +89,6 @@ a double precision computation. { const q15_t *inp1=input1.ptr(); const q15_t *inp2=input2.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_cmplx_mult_cmplx_q15(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -110,7 +106,6 @@ a double precision computation. { const q15_t *inp1=input1.ptr(); const q15_t *inp2=input2.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_cmplx_mult_real_q15(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -127,6 +122,7 @@ a double precision computation. void ComplexTestsQ15::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; Testing::nbSamples_t nb=MAX_NB_SAMPLES; diff --git a/Testing/Source/Tests/ComplexTestsQ31.cpp b/Testing/Source/Tests/ComplexTestsQ31.cpp index 9c57f718..a4273129 100755 --- a/Testing/Source/Tests/ComplexTestsQ31.cpp +++ b/Testing/Source/Tests/ComplexTestsQ31.cpp @@ -17,7 +17,6 @@ a double precision computation. void ComplexTestsQ31::test_cmplx_conj_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_cmplx_conj_q31(inp1,outp,input1.nbSamples() >> 1 ); @@ -49,7 +48,7 @@ a double precision computation. ASSERT_NEAR_EQ(dotOutput,dotRef,ABS_ERROR_Q63); - ASSERT_EMPTY_TAIL(dotOutput); + ASSERT_EMPTY_TAIL(dotOutput); } @@ -57,7 +56,6 @@ a double precision computation. void ComplexTestsQ31::test_cmplx_mag_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_cmplx_mag_q31(inp1,outp,input1.nbSamples() >> 1 ); @@ -73,7 +71,6 @@ a double precision computation. void ComplexTestsQ31::test_cmplx_mag_squared_q31() { const q31_t *inp1=input1.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_cmplx_mag_squared_q31(inp1,outp,input1.nbSamples() >> 1 ); @@ -91,7 +88,6 @@ a double precision computation. { const q31_t *inp1=input1.ptr(); const q31_t *inp2=input2.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_cmplx_mult_cmplx_q31(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -109,7 +105,6 @@ a double precision computation. { const q31_t *inp1=input1.ptr(); const q31_t *inp2=input2.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_cmplx_mult_real_q31(inp1,inp2,outp,input1.nbSamples() >> 1 ); @@ -127,6 +122,7 @@ a double precision computation. { Testing::nbSamples_t nb=MAX_NB_SAMPLES; + (void)params; switch(id) @@ -319,6 +315,7 @@ a double precision computation. void ComplexTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { case ComplexTestsQ31::TEST_CMPLX_DOT_PROD_Q31_4: diff --git a/Testing/Source/Tests/DECIMF32.cpp b/Testing/Source/Tests/DECIMF32.cpp index 289e54b8..484d721d 100755 --- a/Testing/Source/Tests/DECIMF32.cpp +++ b/Testing/Source/Tests/DECIMF32.cpp @@ -128,7 +128,7 @@ a double precision computation. void DECIMF32::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { @@ -165,5 +165,6 @@ a double precision computation. void DECIMF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/DECIMQ15.cpp b/Testing/Source/Tests/DECIMQ15.cpp index 168ab66d..5191125e 100755 --- a/Testing/Source/Tests/DECIMQ15.cpp +++ b/Testing/Source/Tests/DECIMQ15.cpp @@ -129,6 +129,7 @@ a double precision computation. void DECIMQ15::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; config.reload(DECIMQ15::CONFIGSDECIMQ15_ID,mgr); @@ -165,5 +166,6 @@ a double precision computation. void DECIMQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/DECIMQ31.cpp b/Testing/Source/Tests/DECIMQ31.cpp index 7f8187ad..0027f3c5 100755 --- a/Testing/Source/Tests/DECIMQ31.cpp +++ b/Testing/Source/Tests/DECIMQ31.cpp @@ -131,7 +131,7 @@ a double precision computation. { - + (void)params; switch(id) { case DECIMQ31::TEST_FIR_DECIMATE_Q31_1: @@ -166,5 +166,6 @@ a double precision computation. void DECIMQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/DistanceTestsF32.cpp b/Testing/Source/Tests/DistanceTestsF32.cpp index b75beeef..07906f32 100755 --- a/Testing/Source/Tests/DistanceTestsF32.cpp +++ b/Testing/Source/Tests/DistanceTestsF32.cpp @@ -192,6 +192,7 @@ void DistanceTestsF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; if ((id != DistanceTestsF32::TEST_MINKOWSKI_DISTANCE_F32_9) && (id != DistanceTestsF32::TEST_JENSENSHANNON_DISTANCE_F32_8)) { inputA.reload(DistanceTestsF32::INPUTA_F32_ID,mgr); @@ -293,5 +294,6 @@ void DistanceTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/DistanceTestsU32.cpp b/Testing/Source/Tests/DistanceTestsU32.cpp index 877b4db1..0fa26151 100755 --- a/Testing/Source/Tests/DistanceTestsU32.cpp +++ b/Testing/Source/Tests/DistanceTestsU32.cpp @@ -183,6 +183,7 @@ void DistanceTestsU32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; inputA.reload(DistanceTestsU32::INPUTA_U32_ID,mgr); inputB.reload(DistanceTestsU32::INPUTB_U32_ID,mgr); dims.reload(DistanceTestsU32::DIMS_S16_ID,mgr); @@ -258,5 +259,6 @@ void DistanceTestsU32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/ExampleCategoryF32.cpp b/Testing/Source/Tests/ExampleCategoryF32.cpp index 249204ea..71b19aaa 100755 --- a/Testing/Source/Tests/ExampleCategoryF32.cpp +++ b/Testing/Source/Tests/ExampleCategoryF32.cpp @@ -58,7 +58,7 @@ With thie threshold, the test will fail { Testing::nbSamples_t nb=MAX_NB_SAMPLES; - + (void)params; /* @@ -97,6 +97,7 @@ With thie threshold, the test will fail void ExampleCategoryF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; /* Dump output buffer into a file. diff --git a/Testing/Source/Tests/ExampleCategoryQ15.cpp b/Testing/Source/Tests/ExampleCategoryQ15.cpp index f88b926b..9fac58ca 100755 --- a/Testing/Source/Tests/ExampleCategoryQ15.cpp +++ b/Testing/Source/Tests/ExampleCategoryQ15.cpp @@ -19,7 +19,6 @@ a double precision computation. { const q15_t *inp1=input1.ptr(); const q15_t *inp2=input2.ptr(); - q15_t *refp=ref.ptr(); q15_t *outp=output.ptr(); arm_add_q15(inp1,inp2,outp,input1.nbSamples()); @@ -37,6 +36,7 @@ a double precision computation. void ExampleCategoryQ15::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; Testing::nbSamples_t nb=MAX_NB_SAMPLES; @@ -59,5 +59,6 @@ a double precision computation. void ExampleCategoryQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/ExampleCategoryQ31.cpp b/Testing/Source/Tests/ExampleCategoryQ31.cpp index 50a4724c..4cfd73d6 100755 --- a/Testing/Source/Tests/ExampleCategoryQ31.cpp +++ b/Testing/Source/Tests/ExampleCategoryQ31.cpp @@ -20,7 +20,6 @@ a double precision computation. { const q31_t *inp1=input1.ptr(); const q31_t *inp2=input2.ptr(); - q31_t *refp=ref.ptr(); q31_t *outp=output.ptr(); arm_add_q31(inp1,inp2,outp,input1.nbSamples()); @@ -39,7 +38,7 @@ a double precision computation. { Testing::nbSamples_t nb=MAX_NB_SAMPLES; - + (void)params; switch(id) { @@ -60,5 +59,6 @@ a double precision computation. void ExampleCategoryQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/ExampleCategoryQ7.cpp b/Testing/Source/Tests/ExampleCategoryQ7.cpp index e4ba59f8..d53a967a 100755 --- a/Testing/Source/Tests/ExampleCategoryQ7.cpp +++ b/Testing/Source/Tests/ExampleCategoryQ7.cpp @@ -13,7 +13,6 @@ { const q7_t *inp1=input1.ptr(); const q7_t *inp2=input2.ptr(); - q7_t *refp=ref.ptr(); q7_t *outp=output.ptr(); arm_add_q7(inp1,inp2,outp,input1.nbSamples()); @@ -32,7 +31,7 @@ { Testing::nbSamples_t nb=MAX_NB_SAMPLES; - + (void)params; switch(id) { @@ -53,5 +52,6 @@ void ExampleCategoryQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FIRF32.cpp b/Testing/Source/Tests/FIRF32.cpp index 118f26cc..2cfdd56a 100644 --- a/Testing/Source/Tests/FIRF32.cpp +++ b/Testing/Source/Tests/FIRF32.cpp @@ -36,7 +36,7 @@ void checkInnerTail(float32_t *b) const float32_t *inputp = inputs.ptr(); float32_t *outp = output.ptr(); - int i; + unsigned long i; #if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE) int j; #endif @@ -121,7 +121,7 @@ void checkInnerTail(float32_t *b) void FIRF32::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { @@ -143,5 +143,6 @@ void checkInnerTail(float32_t *b) void FIRF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FIRQ15.cpp b/Testing/Source/Tests/FIRQ15.cpp index 1108df0d..d51e8274 100644 --- a/Testing/Source/Tests/FIRQ15.cpp +++ b/Testing/Source/Tests/FIRQ15.cpp @@ -30,7 +30,7 @@ void checkInnerTail(q15_t *b) const q15_t *inputp = inputs.ptr(); q15_t *outp = output.ptr(); - int i; + unsigned long i; #if defined(ARM_MATH_MVEI) int j; #endif @@ -114,7 +114,7 @@ void checkInnerTail(q15_t *b) void FIRQ15::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case FIRQ15::TEST_FIR_Q15_1: @@ -138,5 +138,6 @@ void checkInnerTail(q15_t *b) void FIRQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FIRQ31.cpp b/Testing/Source/Tests/FIRQ31.cpp index e0a71e52..80ea681d 100644 --- a/Testing/Source/Tests/FIRQ31.cpp +++ b/Testing/Source/Tests/FIRQ31.cpp @@ -31,7 +31,7 @@ void checkInnerTail(q31_t *b) const q31_t *inputp = inputs.ptr(); q31_t *outp = output.ptr(); - int i; + unsigned long i; #if defined(ARM_MATH_MVEI) int j; #endif @@ -113,7 +113,7 @@ void checkInnerTail(q31_t *b) void FIRQ31::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case FIRQ31::TEST_FIR_Q31_1: @@ -135,5 +135,6 @@ void checkInnerTail(q31_t *b) void FIRQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FIRQ7.cpp b/Testing/Source/Tests/FIRQ7.cpp index 6751aa93..64ffda46 100644 --- a/Testing/Source/Tests/FIRQ7.cpp +++ b/Testing/Source/Tests/FIRQ7.cpp @@ -30,7 +30,7 @@ void checkInnerTail(q7_t *b) const q7_t *inputp = inputs.ptr(); q7_t *outp = output.ptr(); - int i; + unsigned long i; #if defined(ARM_MATH_MVEI) int j; #endif @@ -111,7 +111,7 @@ void checkInnerTail(q7_t *b) void FIRQ7::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { - + (void)params; switch(id) { case FIRQ7::TEST_FIR_Q7_1: @@ -133,5 +133,6 @@ void checkInnerTail(q7_t *b) void FIRQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FastMathF32.cpp b/Testing/Source/Tests/FastMathF32.cpp index d5ec8627..22547f6f 100755 --- a/Testing/Source/Tests/FastMathF32.cpp +++ b/Testing/Source/Tests/FastMathF32.cpp @@ -19,9 +19,8 @@ a double precision computation. void FastMathF32::test_cos_f32() { const float32_t *inp = input.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -36,9 +35,8 @@ a double precision computation. void FastMathF32::test_sin_f32() { const float32_t *inp = input.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -53,10 +51,9 @@ a double precision computation. void FastMathF32::test_sqrt_f32() { const float32_t *inp = input.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); arm_status status; - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -100,6 +97,7 @@ a double precision computation. void FastMathF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case FastMathF32::TEST_COS_F32_1: @@ -206,6 +204,7 @@ a double precision computation. void FastMathF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FastMathQ15.cpp b/Testing/Source/Tests/FastMathQ15.cpp index 977faaa7..338a1606 100755 --- a/Testing/Source/Tests/FastMathQ15.cpp +++ b/Testing/Source/Tests/FastMathQ15.cpp @@ -17,9 +17,8 @@ a double precision computation. void FastMathQ15::test_cos_q15() { const q15_t *inp = input.ptr(); - q15_t *refp = ref.ptr(); q15_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -34,9 +33,8 @@ a double precision computation. void FastMathQ15::test_sin_q15() { const q15_t *inp = input.ptr(); - q15_t *refp = ref.ptr(); q15_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -51,10 +49,9 @@ a double precision computation. void FastMathQ15::test_sqrt_q15() { const q15_t *inp = input.ptr(); - q15_t *refp = ref.ptr(); q15_t *outp = output.ptr(); arm_status status; - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -70,6 +67,7 @@ a double precision computation. void FastMathQ15::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case FastMathQ15::TEST_COS_Q15_1: @@ -104,6 +102,7 @@ a double precision computation. void FastMathQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/FastMathQ31.cpp b/Testing/Source/Tests/FastMathQ31.cpp index 0de59869..bde559b1 100755 --- a/Testing/Source/Tests/FastMathQ31.cpp +++ b/Testing/Source/Tests/FastMathQ31.cpp @@ -17,9 +17,8 @@ a double precision computation. void FastMathQ31::test_cos_q31() { const q31_t *inp = input.ptr(); - q31_t *refp = ref.ptr(); q31_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -34,9 +33,8 @@ a double precision computation. void FastMathQ31::test_sin_q31() { const q31_t *inp = input.ptr(); - q31_t *refp = ref.ptr(); q31_t *outp = output.ptr(); - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -51,10 +49,9 @@ a double precision computation. void FastMathQ31::test_sqrt_q31() { const q31_t *inp = input.ptr(); - q31_t *refp = ref.ptr(); q31_t *outp = output.ptr(); arm_status status; - int i; + unsigned long i; for(i=0; i < ref.nbSamples(); i++) { @@ -70,6 +67,7 @@ a double precision computation. void FastMathQ31::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case FastMathQ31::TEST_COS_Q31_1: @@ -104,6 +102,7 @@ a double precision computation. void FastMathQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/InterpolationTestsF32.cpp b/Testing/Source/Tests/InterpolationTestsF32.cpp index 010dee0b..92f4912a 100755 --- a/Testing/Source/Tests/InterpolationTestsF32.cpp +++ b/Testing/Source/Tests/InterpolationTestsF32.cpp @@ -19,7 +19,7 @@ a double precision computation. const float32_t *inp = input.ptr(); float32_t *outp = output.ptr(); - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb++) { outp[nb] = arm_linear_interp_f32(&S,inp[nb]); @@ -39,7 +39,7 @@ a double precision computation. const float32_t *inp = input.ptr(); float32_t *outp = output.ptr(); float32_t x,y; - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb += 2) { x = inp[nb]; @@ -61,6 +61,7 @@ a double precision computation. const int16_t *pConfig; Testing::nbSamples_t nb=MAX_NB_SAMPLES; + (void)params; switch(id) @@ -102,5 +103,6 @@ a double precision computation. void InterpolationTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/InterpolationTestsQ15.cpp b/Testing/Source/Tests/InterpolationTestsQ15.cpp index dfa8d565..1c6911f2 100755 --- a/Testing/Source/Tests/InterpolationTestsQ15.cpp +++ b/Testing/Source/Tests/InterpolationTestsQ15.cpp @@ -19,7 +19,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q15_t *outp = output.ptr(); - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb++) { outp[nb] = arm_linear_interp_q15(y.ptr(),inp[nb],y.nbSamples()); @@ -39,7 +39,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q15_t *outp = output.ptr(); q31_t x,y; - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb += 2) { x = inp[nb]; @@ -61,6 +61,7 @@ a double precision computation. Testing::nbSamples_t nb=MAX_NB_SAMPLES; const int16_t *pConfig; + (void)params; switch(id) { @@ -95,5 +96,6 @@ a double precision computation. void InterpolationTestsQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/InterpolationTestsQ31.cpp b/Testing/Source/Tests/InterpolationTestsQ31.cpp index e3d960b4..ec9633a0 100755 --- a/Testing/Source/Tests/InterpolationTestsQ31.cpp +++ b/Testing/Source/Tests/InterpolationTestsQ31.cpp @@ -19,7 +19,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q31_t *outp = output.ptr(); - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb++) { outp[nb] = arm_linear_interp_q31(y.ptr(),inp[nb],y.nbSamples()); @@ -39,7 +39,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q31_t *outp = output.ptr(); q31_t x,y; - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb += 2) { x = inp[nb]; @@ -61,6 +61,7 @@ a double precision computation. Testing::nbSamples_t nb=MAX_NB_SAMPLES; const int16_t *pConfig; + (void)params; switch(id) { @@ -95,5 +96,6 @@ a double precision computation. void InterpolationTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/InterpolationTestsQ7.cpp b/Testing/Source/Tests/InterpolationTestsQ7.cpp index 4acd93aa..b7d4469c 100755 --- a/Testing/Source/Tests/InterpolationTestsQ7.cpp +++ b/Testing/Source/Tests/InterpolationTestsQ7.cpp @@ -19,7 +19,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q7_t *outp = output.ptr(); - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb++) { outp[nb] = arm_linear_interp_q7(y.ptr(),inp[nb],y.nbSamples()); @@ -38,7 +38,7 @@ a double precision computation. const q31_t *inp = input.ptr(); q7_t *outp = output.ptr(); q31_t x,y; - int nb; + unsigned long nb; for(nb = 0; nb < input.nbSamples(); nb += 2) { x = inp[nb]; @@ -60,6 +60,7 @@ a double precision computation. Testing::nbSamples_t nb=MAX_NB_SAMPLES; const int16_t *pConfig; + (void)params; switch(id) { @@ -94,5 +95,6 @@ a double precision computation. void InterpolationTestsQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/MISCF32.cpp b/Testing/Source/Tests/MISCF32.cpp index 2920b25b..64d019f2 100755 --- a/Testing/Source/Tests/MISCF32.cpp +++ b/Testing/Source/Tests/MISCF32.cpp @@ -49,6 +49,7 @@ a double precision computation. void MISCF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -704,6 +705,7 @@ a double precision computation. void MISCF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/MISCQ15.cpp b/Testing/Source/Tests/MISCQ15.cpp index 96e1b866..d4497ed5 100755 --- a/Testing/Source/Tests/MISCQ15.cpp +++ b/Testing/Source/Tests/MISCQ15.cpp @@ -48,6 +48,7 @@ a double precision computation. void MISCQ15::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -463,6 +464,7 @@ a double precision computation. void MISCQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/MISCQ31.cpp b/Testing/Source/Tests/MISCQ31.cpp index d56f4f3f..a9f18a4c 100755 --- a/Testing/Source/Tests/MISCQ31.cpp +++ b/Testing/Source/Tests/MISCQ31.cpp @@ -48,6 +48,7 @@ a double precision computation. void MISCQ31::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -703,6 +704,7 @@ a double precision computation. void MISCQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/MISCQ7.cpp b/Testing/Source/Tests/MISCQ7.cpp index 6b496521..8260323f 100755 --- a/Testing/Source/Tests/MISCQ7.cpp +++ b/Testing/Source/Tests/MISCQ7.cpp @@ -48,6 +48,7 @@ a double precision computation. void MISCQ7::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -464,6 +465,7 @@ a double precision computation. void MISCQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/SVMF32.cpp b/Testing/Source/Tests/SVMF32.cpp index 95dda2c3..2be0054f 100755 --- a/Testing/Source/Tests/SVMF32.cpp +++ b/Testing/Source/Tests/SVMF32.cpp @@ -6,7 +6,6 @@ void SVMF32::test_svm_linear_predict_f32() { const float32_t *inp = samples.ptr(); - int32_t *refp = ref.ptr(); int32_t *outp = output.ptr(); int32_t *result; @@ -27,7 +26,6 @@ void SVMF32::test_svm_linear_predict_f32() void SVMF32::test_svm_polynomial_predict_f32() { const float32_t *inp = samples.ptr(); - int32_t *refp = ref.ptr(); int32_t *outp = output.ptr(); int32_t *result; @@ -47,7 +45,6 @@ void SVMF32::test_svm_polynomial_predict_f32() void SVMF32::test_svm_rbf_predict_f32() { const float32_t *inp = samples.ptr(); - int32_t *refp = ref.ptr(); int32_t *outp = output.ptr(); int32_t *result; @@ -67,7 +64,6 @@ void SVMF32::test_svm_rbf_predict_f32() void SVMF32::test_svm_sigmoid_predict_f32() { const float32_t *inp = samples.ptr(); - int32_t *refp = ref.ptr(); int32_t *outp = output.ptr(); int32_t *result; @@ -89,6 +85,7 @@ void SVMF32::setUp(Testing::testID_t id,std::vector& testparam int kind; Testing::nbSamples_t nb=MAX_NB_SAMPLES; + (void)testparams; switch(id) { @@ -253,6 +250,7 @@ void SVMF32::setUp(Testing::testID_t id,std::vector& testparam void SVMF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/StatsTestsF32.cpp b/Testing/Source/Tests/StatsTestsF32.cpp index fed98cef..ddc3877a 100755 --- a/Testing/Source/Tests/StatsTestsF32.cpp +++ b/Testing/Source/Tests/StatsTestsF32.cpp @@ -246,7 +246,6 @@ a double precision computation. const float32_t *inp = inputA.ptr(); const int16_t *dimsp = dims.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); for(int i=0;i < this->nbPatterns; i++) @@ -267,7 +266,6 @@ a double precision computation. const float32_t *inp = inputA.ptr(); const int16_t *dimsp = dims.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); for(int i=0;i < this->nbPatterns; i++) @@ -289,7 +287,6 @@ a double precision computation. const float32_t *inpB = inputB.ptr(); const int16_t *dimsp = dims.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); for(int i=0;i < this->nbPatterns; i++) @@ -311,7 +308,6 @@ a double precision computation. const float32_t *inpB = inputB.ptr(); const int16_t *dimsp = dims.ptr(); - float32_t *refp = ref.ptr(); float32_t *outp = output.ptr(); float32_t *tmpp = tmp.ptr(); @@ -332,6 +328,7 @@ a double precision computation. void StatsTestsF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case StatsTestsF32::TEST_MAX_F32_1: @@ -732,6 +729,7 @@ a double precision computation. void StatsTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { case StatsTestsF32::TEST_MAX_F32_1: diff --git a/Testing/Source/Tests/StatsTestsF64.cpp b/Testing/Source/Tests/StatsTestsF64.cpp index 0efd3695..cf4f5b0b 100755 --- a/Testing/Source/Tests/StatsTestsF64.cpp +++ b/Testing/Source/Tests/StatsTestsF64.cpp @@ -19,7 +19,6 @@ a double precision computation. const float64_t *inp = inputA.ptr(); const int16_t *dimsp = dims.ptr(); - float64_t *refp = ref.ptr(); float64_t *outp = output.ptr(); for(int i=0;i < this->nbPatterns; i++) @@ -41,7 +40,6 @@ a double precision computation. const float64_t *inpB = inputB.ptr(); const int16_t *dimsp = dims.ptr(); - float64_t *refp = ref.ptr(); float64_t *outp = output.ptr(); for(int i=0;i < this->nbPatterns; i++) @@ -60,6 +58,7 @@ a double precision computation. void StatsTestsF64::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case StatsTestsF64::TEST_ENTROPY_F64_1: @@ -92,5 +91,6 @@ a double precision computation. void StatsTestsF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/StatsTestsQ15.cpp b/Testing/Source/Tests/StatsTestsQ15.cpp index b02dea32..4e972fa1 100755 --- a/Testing/Source/Tests/StatsTestsQ15.cpp +++ b/Testing/Source/Tests/StatsTestsQ15.cpp @@ -182,6 +182,7 @@ a double precision computation. void StatsTestsQ15::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case StatsTestsQ15::TEST_MAX_Q15_1: @@ -455,6 +456,7 @@ a double precision computation. void StatsTestsQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { case StatsTestsQ15::TEST_MAX_Q15_1: diff --git a/Testing/Source/Tests/StatsTestsQ31.cpp b/Testing/Source/Tests/StatsTestsQ31.cpp index 900aef3a..edb1000c 100755 --- a/Testing/Source/Tests/StatsTestsQ31.cpp +++ b/Testing/Source/Tests/StatsTestsQ31.cpp @@ -182,6 +182,7 @@ a double precision computation. void StatsTestsQ31::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case StatsTestsQ31::TEST_MAX_Q31_1: @@ -455,6 +456,7 @@ a double precision computation. void StatsTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { case StatsTestsQ31::TEST_MAX_Q31_1: diff --git a/Testing/Source/Tests/StatsTestsQ7.cpp b/Testing/Source/Tests/StatsTestsQ7.cpp index 895a93a2..72f086c5 100755 --- a/Testing/Source/Tests/StatsTestsQ7.cpp +++ b/Testing/Source/Tests/StatsTestsQ7.cpp @@ -200,6 +200,7 @@ But the tests are kept for when they will be available. void StatsTestsQ7::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case StatsTestsQ7::TEST_MAX_Q7_1: @@ -516,6 +517,7 @@ But the tests are kept for when they will be available. void StatsTestsQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { case StatsTestsQ7::TEST_MAX_Q7_1: diff --git a/Testing/Source/Tests/SupportBarTestsF32.cpp b/Testing/Source/Tests/SupportBarTestsF32.cpp index 33bdb292..02d9e321 100755 --- a/Testing/Source/Tests/SupportBarTestsF32.cpp +++ b/Testing/Source/Tests/SupportBarTestsF32.cpp @@ -37,6 +37,7 @@ void SupportBarTestsF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; dims.reload(SupportBarTestsF32::DIM_S16_ID,mgr); const int16_t *dimsp=dims.ptr(); @@ -62,5 +63,6 @@ void SupportBarTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/SupportTestsF32.cpp b/Testing/Source/Tests/SupportTestsF32.cpp index 6c347276..7b537b8d 100755 --- a/Testing/Source/Tests/SupportTestsF32.cpp +++ b/Testing/Source/Tests/SupportTestsF32.cpp @@ -64,7 +64,6 @@ void SupportTestsF32::test_float_to_q15() { const float32_t *inp = input.ptr(); - q15_t *refp = refQ15.ptr(); q15_t *outp = outputQ15.ptr(); @@ -79,7 +78,6 @@ void SupportTestsF32::test_float_to_q31() { const float32_t *inp = input.ptr(); - q31_t *refp = refQ31.ptr(); q31_t *outp = outputQ31.ptr(); @@ -94,7 +92,6 @@ void SupportTestsF32::test_float_to_q7() { const float32_t *inp = input.ptr(); - q7_t *refp = refQ7.ptr(); q7_t *outp = outputQ7.ptr(); @@ -172,7 +169,6 @@ void SupportTestsF32::test_bubble_sort_in_f32() { float32_t *inp = input.ptr(); - float32_t *outp = output.ptr(); arm_sort_instance_f32 S; arm_sort_init_f32(&S, ARM_SORT_BUBBLE, ARM_SORT_ASCENDING); @@ -481,6 +477,7 @@ void SupportTestsF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { case TEST_WEIGHTED_SUM_F32_1: @@ -816,5 +813,6 @@ void SupportTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/SupportTestsQ15.cpp b/Testing/Source/Tests/SupportTestsQ15.cpp index 072f3c07..894ee17f 100755 --- a/Testing/Source/Tests/SupportTestsQ15.cpp +++ b/Testing/Source/Tests/SupportTestsQ15.cpp @@ -49,7 +49,6 @@ void SupportTestsQ15::test_q15_float() { const q15_t *inp = inputQ15.ptr(); - float32_t *refp = refF32.ptr(); float32_t *outp = outputF32.ptr(); @@ -64,7 +63,6 @@ void SupportTestsQ15::test_q15_q31() { const q15_t *inp = inputQ15.ptr(); - q31_t *refp = refQ31.ptr(); q31_t *outp = outputQ31.ptr(); @@ -79,7 +77,6 @@ void SupportTestsQ15::test_q15_q7() { const q15_t *inp = inputQ15.ptr(); - q7_t *refp = refQ7.ptr(); q7_t *outp = outputQ7.ptr(); @@ -161,6 +158,7 @@ void SupportTestsQ15::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -289,6 +287,7 @@ void SupportTestsQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { diff --git a/Testing/Source/Tests/SupportTestsQ31.cpp b/Testing/Source/Tests/SupportTestsQ31.cpp index db5c3ed6..010c7522 100755 --- a/Testing/Source/Tests/SupportTestsQ31.cpp +++ b/Testing/Source/Tests/SupportTestsQ31.cpp @@ -45,7 +45,6 @@ void SupportTestsQ31::test_q31_float() { const q31_t *inp = inputQ31.ptr(); - float32_t *refp = refF32.ptr(); float32_t *outp = outputF32.ptr(); @@ -60,7 +59,6 @@ void SupportTestsQ31::test_q31_q15() { const q31_t *inp = inputQ31.ptr(); - q15_t *refp = refQ15.ptr(); q15_t *outp = outputQ15.ptr(); @@ -75,7 +73,6 @@ void SupportTestsQ31::test_q31_q7() { const q31_t *inp = inputQ31.ptr(); - q7_t *refp = refQ7.ptr(); q7_t *outp = outputQ7.ptr(); @@ -91,6 +88,7 @@ void SupportTestsQ31::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -219,6 +217,7 @@ void SupportTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { diff --git a/Testing/Source/Tests/SupportTestsQ7.cpp b/Testing/Source/Tests/SupportTestsQ7.cpp index ff3569ec..5a3adf8a 100755 --- a/Testing/Source/Tests/SupportTestsQ7.cpp +++ b/Testing/Source/Tests/SupportTestsQ7.cpp @@ -50,7 +50,6 @@ void SupportTestsQ7::test_q7_float() { const q7_t *inp = inputQ7.ptr(); - float32_t *refp = refF32.ptr(); float32_t *outp = outputF32.ptr(); @@ -66,7 +65,6 @@ void SupportTestsQ7::test_q7_q31() { const q7_t *inp = inputQ7.ptr(); - q31_t *refp = refQ31.ptr(); q31_t *outp = outputQ31.ptr(); @@ -81,7 +79,6 @@ void SupportTestsQ7::test_q7_q15() { const q7_t *inp = inputQ7.ptr(); - q15_t *refp = refQ15.ptr(); q15_t *outp = outputQ15.ptr(); @@ -144,6 +141,7 @@ void SupportTestsQ7::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { + (void)paramsArgs; switch(id) { @@ -272,6 +270,7 @@ void SupportTestsQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; switch(id) { diff --git a/Testing/Source/Tests/TransformCF32.cpp b/Testing/Source/Tests/TransformCF32.cpp index c84cd65e..705a9d17 100755 --- a/Testing/Source/Tests/TransformCF32.cpp +++ b/Testing/Source/Tests/TransformCF32.cpp @@ -34,7 +34,7 @@ void TransformCF32::setUp(Testing::testID_t id,std::vector& paramsArgs,Client::PatternMgr *mgr) { - + (void)paramsArgs; switch(id) { case TransformCF32::TEST_CFFT_F32_1: @@ -476,5 +476,6 @@ void TransformCF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformCF64.cpp b/Testing/Source/Tests/TransformCF64.cpp index 72dceb73..f8c32356 100755 --- a/Testing/Source/Tests/TransformCF64.cpp +++ b/Testing/Source/Tests/TransformCF64.cpp @@ -31,7 +31,7 @@ { - + (void)paramsArgs; switch(id) { @@ -442,5 +442,6 @@ void TransformCF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformCQ15.cpp b/Testing/Source/Tests/TransformCQ15.cpp index 19bab50c..50ddc6c3 100755 --- a/Testing/Source/Tests/TransformCQ15.cpp +++ b/Testing/Source/Tests/TransformCQ15.cpp @@ -41,7 +41,7 @@ this->ifft, 1); - for(int i=0; i < outputfft.nbSamples();i++) + for(unsigned long i=0; i < outputfft.nbSamples();i++) { refp[i] >>= this->scaling; } @@ -58,7 +58,7 @@ { - + (void)paramsArgs; switch(id) { @@ -490,5 +490,6 @@ void TransformCQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformCQ31.cpp b/Testing/Source/Tests/TransformCQ31.cpp index 51934f7a..a8bdf802 100755 --- a/Testing/Source/Tests/TransformCQ31.cpp +++ b/Testing/Source/Tests/TransformCQ31.cpp @@ -46,7 +46,7 @@ this->ifft, 1); - for(int i=0; i < outputfft.nbSamples();i++) + for(unsigned long i=0; i < outputfft.nbSamples();i++) { refp[i] >>= this->scaling; } @@ -63,7 +63,7 @@ { - + (void)paramsArgs; switch(id) { @@ -495,5 +495,6 @@ void TransformCQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformRF32.cpp b/Testing/Source/Tests/TransformRF32.cpp index e3590060..b7747f2f 100755 --- a/Testing/Source/Tests/TransformRF32.cpp +++ b/Testing/Source/Tests/TransformRF32.cpp @@ -35,7 +35,7 @@ { - + (void)paramsArgs; switch(id) { @@ -469,5 +469,6 @@ void TransformRF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformRF64.cpp b/Testing/Source/Tests/TransformRF64.cpp index 4ba8e3e0..b2ba7ee6 100755 --- a/Testing/Source/Tests/TransformRF64.cpp +++ b/Testing/Source/Tests/TransformRF64.cpp @@ -35,7 +35,7 @@ { - + (void)paramsArgs; switch(id) { @@ -469,5 +469,6 @@ void TransformRF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformRQ15.cpp b/Testing/Source/Tests/TransformRQ15.cpp index 45f082a8..48353c7e 100755 --- a/Testing/Source/Tests/TransformRQ15.cpp +++ b/Testing/Source/Tests/TransformRQ15.cpp @@ -29,7 +29,7 @@ if (this->ifft) { - for(int i = 0;i < overheadoutputfft.nbSamples(); i++) + for(unsigned long i = 0;i < overheadoutputfft.nbSamples(); i++) { overoutp[i] = overoutp[i] << this->scaling; } @@ -56,7 +56,7 @@ { - + (void)paramsArgs; switch(id) { @@ -512,6 +512,7 @@ void TransformRQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); overheadoutputfft.dump(mgr); } diff --git a/Testing/Source/Tests/TransformRQ31.cpp b/Testing/Source/Tests/TransformRQ31.cpp index 4382771b..0c4dc723 100755 --- a/Testing/Source/Tests/TransformRQ31.cpp +++ b/Testing/Source/Tests/TransformRQ31.cpp @@ -28,7 +28,7 @@ if (this->ifft) { - for(int i = 0;i < overheadoutputfft.nbSamples(); i++) + for(unsigned long i = 0;i < overheadoutputfft.nbSamples(); i++) { overoutp[i] = overoutp[i] << this->scaling; } @@ -48,7 +48,7 @@ { - + (void)paramsArgs; switch(id) { @@ -504,6 +504,7 @@ void TransformRQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; outputfft.dump(mgr); overheadoutputfft.dump(mgr); } diff --git a/Testing/Source/Tests/UnaryTestsF32.cpp b/Testing/Source/Tests/UnaryTestsF32.cpp index b80fb343..ec2b487f 100755 --- a/Testing/Source/Tests/UnaryTestsF32.cpp +++ b/Testing/Source/Tests/UnaryTestsF32.cpp @@ -317,7 +317,7 @@ void UnaryTestsF32::test_mat_inverse_f32() { - + (void)params; switch(id) { case TEST_MAT_ADD_F32_1: @@ -403,5 +403,6 @@ void UnaryTestsF32::test_mat_inverse_f32() void UnaryTestsF32::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/UnaryTestsF64.cpp b/Testing/Source/Tests/UnaryTestsF64.cpp index 141c8321..562948b7 100755 --- a/Testing/Source/Tests/UnaryTestsF64.cpp +++ b/Testing/Source/Tests/UnaryTestsF64.cpp @@ -111,6 +111,7 @@ void UnaryTestsF64::test_mat_inverse_f64() void UnaryTestsF64::setUp(Testing::testID_t id,std::vector& params,Client::PatternMgr *mgr) { + (void)params; switch(id) { case TEST_MAT_INVERSE_F64_5: @@ -130,5 +131,6 @@ void UnaryTestsF64::test_mat_inverse_f64() void UnaryTestsF64::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/UnaryTestsQ15.cpp b/Testing/Source/Tests/UnaryTestsQ15.cpp index 5340dda5..33b89849 100755 --- a/Testing/Source/Tests/UnaryTestsQ15.cpp +++ b/Testing/Source/Tests/UnaryTestsQ15.cpp @@ -272,7 +272,7 @@ void UnaryTestsQ15::test_mat_cmplx_trans_q15() { - + (void)params; switch(id) { case TEST_MAT_ADD_Q15_1: @@ -350,5 +350,6 @@ void UnaryTestsQ15::test_mat_cmplx_trans_q15() void UnaryTestsQ15::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/UnaryTestsQ31.cpp b/Testing/Source/Tests/UnaryTestsQ31.cpp index 19e0a78b..f85d8275 100755 --- a/Testing/Source/Tests/UnaryTestsQ31.cpp +++ b/Testing/Source/Tests/UnaryTestsQ31.cpp @@ -270,7 +270,7 @@ void UnaryTestsQ31::test_mat_cmplx_trans_q31() { - + (void)params; switch(id) { case TEST_MAT_ADD_Q31_1: @@ -348,5 +348,6 @@ void UnaryTestsQ31::test_mat_cmplx_trans_q31() void UnaryTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); } diff --git a/Testing/Source/Tests/UnaryTestsQ7.cpp b/Testing/Source/Tests/UnaryTestsQ7.cpp index 0ca0bc5a..4b5e8fd3 100755 --- a/Testing/Source/Tests/UnaryTestsQ7.cpp +++ b/Testing/Source/Tests/UnaryTestsQ7.cpp @@ -153,7 +153,7 @@ void UnaryTestsQ7::test_mat_trans_q7() { - + (void)params; switch(id) { @@ -188,5 +188,6 @@ void UnaryTestsQ7::test_mat_trans_q7() void UnaryTestsQ7::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { + (void)id; output.dump(mgr); }