mirror of
https://github.com/Ascend/ascend-opencv.git
synced 2025-10-27 01:40:50 +08:00
update new version
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user