projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2c434
)
fixed bug in SURF_GPU (reduce_sum25)
author
Vladislav Vinogradov
<no@email>
Wed, 25 May 2011 08:16:17 +0000
(08:16 +0000)
committer
Vladislav Vinogradov
<no@email>
Wed, 25 May 2011 08:16:17 +0000
(08:16 +0000)
modules/gpu/src/cuda/surf.cu
patch
|
blob
|
history
diff --git
a/modules/gpu/src/cuda/surf.cu
b/modules/gpu/src/cuda/surf.cu
index
a7f49e8
..
695b0c0
100644
(file)
--- a/
modules/gpu/src/cuda/surf.cu
+++ b/
modules/gpu/src/cuda/surf.cu
@@
-794,7
+794,7
@@
namespace cv { namespace gpu { namespace surf
}
\r
\r
// sum (reduce) from 16 to 1 (unrolled - aligned to a half-warp)
\r
- if (tid <
16
)
\r
+ if (tid <
8
)
\r
{
\r
sdata1[tid] += sdata1[tid + 8];
\r
sdata1[tid] += sdata1[tid + 4];
\r