Merge pull request #2907 from ilya-lavrenov:tapi_perf_transpose
This commit is contained in:
commit
cbd0511a56
@ -308,6 +308,23 @@ OCL_PERF_TEST_P(TransposeFixture, Transpose, ::testing::Combine(
|
|||||||
SANITY_CHECK(dst);
|
SANITY_CHECK(dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OCL_PERF_TEST_P(TransposeFixture, TransposeInplace, ::testing::Combine(
|
||||||
|
OCL_PERF_ENUM(Size(640, 640), Size(1280, 1280), Size(2160, 2160)), OCL_TEST_TYPES_134))
|
||||||
|
{
|
||||||
|
const Size_MatType_t params = GetParam();
|
||||||
|
const Size srcSize = get<0>(params);
|
||||||
|
const int type = get<1>(params);
|
||||||
|
|
||||||
|
checkDeviceMaxMemoryAllocSize(srcSize, type);
|
||||||
|
|
||||||
|
UMat src(srcSize, type);
|
||||||
|
declare.in(src, WARMUP_RNG).out(src, WARMUP_NONE);
|
||||||
|
|
||||||
|
OCL_TEST_CYCLE() cv::transpose(src, src);
|
||||||
|
|
||||||
|
SANITY_CHECK_NOTHING();
|
||||||
|
}
|
||||||
|
|
||||||
///////////// Flip ////////////////////////
|
///////////// Flip ////////////////////////
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user