Commit 7fc3856
![]()
Peter Andreas Entschev
committed
Fixed out-of-bounds memory access in CUDA/OpenCL SIFT
2 files changed
Lines changed: 8 additions & 4 deletions
File tree
src/backend
cuda/kernel
opencl/kernel
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -333,8 +333,10 @@ __global__ void sub( | |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -255,8 +255,10 @@ __kernel void sub( | |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |