added cv::threshold to T-API

This commit is contained in:
Ilya Lavrenov
2013-12-03 00:13:05 +04:00
parent 474fc887a6
commit e2b99a32b2
5 changed files with 63 additions and 80 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)