Skip to content

Commit 33ca53d

Browse files
author
Carsten Griwodz
committed
fixing a fatal indexing bug in the relative kernel
1 parent b2cd992 commit 33ca53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popsift/s_pyramid_build_ai.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ __global__ static void horiz(cudaTextureObject_t src_linear_tex, cudaSurfaceObje
2020
const int span = d_gauss.inc.i_span[dst_level];
2121
const float* filter = &d_gauss.inc.i_filter[dst_level*GAUSS_ALIGN];
2222
const int idx = blockIdx.x * blockDim.x + threadIdx.x;
23-
const int idy = blockIdx.x * blockDim.x + threadIdx.x;
23+
const int idy = blockIdx.y * blockDim.y + threadIdx.y;
2424

2525
float out = 0.0f;
2626

0 commit comments

Comments
 (0)