added cv::repeat to T-API (fix for copyTo -> UMat is needed)

This commit is contained in:
Ilya Lavrenov
2013-12-01 01:57:13 +04:00
parent e17107e864
commit fed7e61879
3 changed files with 6 additions and 15 deletions

View File

@@ -1893,7 +1893,7 @@ Context2& Context2::getDefault()
// First, try to retrieve existing context of the same type.
// In its turn, Platform::getContext() may call Context2::create()
// if there is no such context.
ctx.create(Device::TYPE_CPU);
ctx.create(Device::TYPE_ACCELERATOR);
if(!ctx.p)
ctx.create(Device::TYPE_DGPU);
if(!ctx.p)