From a8ca5606845d8b0c5b764004f322ae4e73434d86 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 9 Dec 2015 11:08:17 -0500 Subject: [PATCH] Fixed more missing async calls. --- modules/cudafeatures2d/src/orb.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/cudafeatures2d/src/orb.cpp b/modules/cudafeatures2d/src/orb.cpp index deb5ccf..ec15253 100644 --- a/modules/cudafeatures2d/src/orb.cpp +++ b/modules/cudafeatures2d/src/orb.cpp @@ -648,9 +648,9 @@ namespace // Filter keypoints by image border ensureSizeIsEnough(sz, CV_8UC1, buf_); - buf_.setTo(Scalar::all(0)); + buf_.setTo(Scalar::all(0), stream); Rect inner(edgeThreshold_, edgeThreshold_, sz.width - 2 * edgeThreshold_, sz.height - 2 * edgeThreshold_); - buf_(inner).setTo(Scalar::all(255)); + buf_(inner).setTo(Scalar::all(255), stream); cuda::bitwise_and(maskPyr_[level], buf_, maskPyr_[level], stream); } @@ -796,8 +796,8 @@ namespace GpuMat range = keyPointsRange.rowRange(2, 4); keyPointsPyr_[level](Range(1, 3), Range(0, keyPointsCount_[level])).copyTo(range, stream); - keyPointsRange.row(4).setTo(Scalar::all(level)); - keyPointsRange.row(5).setTo(Scalar::all(patchSize_ * sf)); + keyPointsRange.row(4).setTo(Scalar::all(level), stream); + keyPointsRange.row(5).setTo(Scalar::all(patchSize_ * sf), stream); offset += keyPointsCount_[level]; } -- 2.7.4