update new version

This commit is contained in:
luoliang
2022-10-09 14:18:04 +08:00
parent 6d24d6f096
commit be79c3e5c3
7 changed files with 60 additions and 63 deletions

View File

@@ -30,13 +30,15 @@ void PERF_TEST::Test_Merge(aclCxt *acl_context)
{
int val, n;
int valmax = 8192;
int cycle_index = 100;
int cycle_index = 10;
double begin, end, time, acltime;
Common_Test test;
vector<int> srcType{CV_32FC1};
vector<int> destType{CV_32FC3};
vector<int> srcType{CV_8UC1,CV_32FC1, CV_32SC1};
//vector<int> destType{CV_32FC3};
vector<int> destType{CV_8UC3,CV_32FC3, CV_32SC3};
for (size_t i = 0; i < srcType.size(); ++i)
{
test.PrintLog("Perf test : Function: merge()", srcType[i]);
@@ -100,11 +102,12 @@ void PERF_TEST::Test_Transpose(aclCxt *acl_context)
{
int val, n;
int valmax = 8192;
int cycle_index = 100;
int cycle_index = 10;
double begin, end, time, acltime;
Common_Test test;
vector<int> type{CV_32FC1};
//vector<int> type{CV_32FC1};
vector<int> type{CV_32FC1,CV_32SC1};
for (size_t i = 0; i < type.size(); ++i)
{
test.PrintLog("Perf test : Function: transpose()", type[i]);
@@ -152,13 +155,13 @@ void PERF_TEST::Test_Split(aclCxt *acl_context)
{
int val, n;
int valmax = 8192;
int cycle_index = 100;
int cycle_index = 10;
double begin, end, time, acltime;
Common_Test test;
vector<int> srcType{CV_32FC3};
vector<int> destType{CV_32FC1};
//vector<int> srcType{CV_32FC3};
vector<int> srcType{CV_8UC3,CV_32FC3, CV_32SC3};
vector<int> destType{CV_8UC1,CV_32FC1, CV_32SC1};
for (size_t i = 0; i < srcType.size(); ++i)
{
test.PrintLog("Perf test : Function: split()", srcType[i]);