Skip to content

Commit

Permalink
Add support for running tests for Support benchmarks (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertHuang-CPU authored Feb 25, 2025
1 parent be484cd commit aad6463
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Testing/Source/Benchmarks/SupportQ15.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

void SupportQ15::test_copy_q15()
{
arm_copy_q15(this->pSrc, this->pDst, this->nbSamples);
}

void SupportQ15::test_fill_q15()
{

arm_fill_q15(0x9f, this->pDst, this->nbSamples);
}

void SupportQ15::test_q7_to_q15()
{

arm_q7_to_q15(this->pSrcQ7, this->pDst, this->nbSamples);
}

void SupportQ15::test_q31_to_q15()
{

arm_q31_to_q15(this->pSrcQ31, this->pDst, this->nbSamples);
}


Expand Down
8 changes: 4 additions & 4 deletions Testing/Source/Benchmarks/SupportQ31.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@

void SupportQ31::test_copy_q31()
{

arm_copy_q31(this->pSrc, this->pDst, this->nbSamples);
}

void SupportQ31::test_fill_q31()
{

arm_fill_q31(0xaf, this->pDst, this->nbSamples);
}

void SupportQ31::test_q7_to_q31()
{

arm_q7_to_q31(this->pSrcQ7, this->pDst, this->nbSamples);
}

void SupportQ31::test_q15_to_q31()
{

arm_q15_to_q31(this->pSrcQ15, this->pDst, this->nbSamples);
}

void SupportQ31::setUp(Testing::testID_t id,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr)
Expand Down
8 changes: 4 additions & 4 deletions Testing/Source/Benchmarks/SupportQ7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

void SupportQ7::test_copy_q7()
{

arm_copy_q7(this->pSrc, this->pDst, this->nbSamples);
}

void SupportQ7::test_fill_q7()
{

arm_fill_q7(0x97, this->pDst, this->nbSamples);
}

void SupportQ7::test_q15_to_q7()
{

arm_q15_to_q7(this->pSrcQ15, this->pDst, this->nbSamples);
}

void SupportQ7::test_q31_to_q7()
{

arm_q31_to_q7(this->pSrcQ31, this->pDst, this->nbSamples);
}

void SupportQ7::setUp(Testing::testID_t id,std::vector<Testing::param_t>& params,Client::PatternMgr *mgr)
Expand Down

0 comments on commit aad6463

Please sign in to comment.