TEST_P(IPPAsync, accuracy)
{
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);
virtMatrix = hppiCreateVirtualMatrices(accel, 2);
TEST_P(IPPAsyncShared, accuracy)
{
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);
virtMatrix = hppiCreateVirtualMatrices(accel, 2);
{
"{c camera | | use camera or not}"
"{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
sAccel = accelType == HPP_ACCEL_TYPE_CPU ? "cpu":
accelType == HPP_ACCEL_TYPE_GPU ? "gpu":
- accelType == HPP_ACCEL_TYPE_GPU_VIA_DX9 ? "gpu":
- accelType == HPP_ACCEL_TYPE_OCL ? "ocl": "?";
+ accelType == HPP_ACCEL_TYPE_GPU_VIA_DX9 ? "gpu dx9": "?";
printf("accelType %s\n", sAccel.c_str());