Commit f9c52894 authored by Elena Gvozdeva's avatar Elena Gvozdeva

fixed

parent 037ac27e
...@@ -49,7 +49,7 @@ PARAM_TEST_CASE(IPPAsync, MatDepth, Channels, hppAccelType) ...@@ -49,7 +49,7 @@ PARAM_TEST_CASE(IPPAsync, MatDepth, Channels, hppAccelType)
TEST_P(IPPAsync, accuracy) TEST_P(IPPAsync, accuracy)
{ {
sts = hppCreateInstance(accelType, 0, &accel); sts = hppCreateInstance(accelType, 0, &accel);
if (sts!=HPP_STATUS_NO_ERROR) printf("hppStatus= %d\n",sts); if (sts!=HPP_STATUS_NO_ERROR) printf("hppStatus = %d\n",sts);
CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert(sts==HPP_STATUS_NO_ERROR);
virtMatrix = hppiCreateVirtualMatrices(accel, 2); virtMatrix = hppiCreateVirtualMatrices(accel, 2);
...@@ -133,7 +133,7 @@ PARAM_TEST_CASE(IPPAsyncShared, Channels, hppAccelType) ...@@ -133,7 +133,7 @@ PARAM_TEST_CASE(IPPAsyncShared, Channels, hppAccelType)
TEST_P(IPPAsyncShared, accuracy) TEST_P(IPPAsyncShared, accuracy)
{ {
sts = hppCreateInstance(accelType, 0, &accel); sts = hppCreateInstance(accelType, 0, &accel);
if (sts!=HPP_STATUS_NO_ERROR) printf("hppStatus= %d\n",sts); if (sts!=HPP_STATUS_NO_ERROR) printf("hppStatus = %d\n",sts);
CV_Assert(sts==HPP_STATUS_NO_ERROR); CV_Assert(sts==HPP_STATUS_NO_ERROR);
virtMatrix = hppiCreateVirtualMatrices(accel, 2); virtMatrix = hppiCreateVirtualMatrices(accel, 2);
......
...@@ -37,7 +37,7 @@ const char* keys = ...@@ -37,7 +37,7 @@ const char* keys =
{ {
"{c camera | | use camera or not}" "{c camera | | use camera or not}"
"{fn file_name|baboon.jpg | image file }" "{fn file_name|baboon.jpg | image file }"
"{a accel |cpu | accelerator type: auto (default), cpu, gpu}" "{a accel |auto | accelerator type: auto (default), cpu, gpu}"
}; };
//this is a sample for hppiSobel functions //this is a sample for hppiSobel functions
...@@ -92,8 +92,7 @@ int main(int argc, const char** argv) ...@@ -92,8 +92,7 @@ int main(int argc, const char** argv)
sAccel = accelType == HPP_ACCEL_TYPE_CPU ? "cpu": sAccel = accelType == HPP_ACCEL_TYPE_CPU ? "cpu":
accelType == HPP_ACCEL_TYPE_GPU ? "gpu": accelType == HPP_ACCEL_TYPE_GPU ? "gpu":
accelType == HPP_ACCEL_TYPE_GPU_VIA_DX9 ? "gpu": accelType == HPP_ACCEL_TYPE_GPU_VIA_DX9 ? "gpu dx9": "?";
accelType == HPP_ACCEL_TYPE_OCL ? "ocl": "?";
printf("accelType %s\n", sAccel.c_str()); printf("accelType %s\n", sAccel.c_str());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment