fixed warnings on old compute capabilities

This commit is contained in:
Vladislav Vinogradov
2012-11-15 12:00:38 +04:00
parent e6b1ccdcdf
commit 76e8794e81
3 changed files with 14 additions and 0 deletions

View File

@@ -568,7 +568,9 @@ namespace cv { namespace gpu { namespace device
float bestx = 0, besty = 0, best_mod = 0;
#if __CUDA_ARCH__ >= 200
#pragma unroll
#endif
for (int i = 0; i < 18; ++i)
{
const int dir = (i * 4 + threadIdx.y) * ORI_SEARCH_INC;