One more fix for Kepler-specific gpu::integral usage

This commit is contained in:
marina.kolpakova
2012-10-12 13:02:35 +04:00
parent 1d3ec99102
commit 296aa7c4fb
4 changed files with 46 additions and 31 deletions

View File

@@ -553,7 +553,7 @@ void cv::gpu::integralBuffered(const GpuMat& src, GpuMat& sum, GpuMat& buffer, S
src.locateROI(whole, offset);
if (info.supports(WARP_SHUFFLE_FUNCTIONS) )
if (info.supports(WARP_SHUFFLE_FUNCTIONS) && src.cols <= 2048)
{
GpuMat srcAlligned;