Skip to content

Commit

Permalink
fixing a fatal indexing bug in the relative kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Carsten Griwodz committed Jan 14, 2025
1 parent b2cd992 commit 33ca53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popsift/s_pyramid_build_ai.cu
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ __global__ static void horiz(cudaTextureObject_t src_linear_tex, cudaSurfaceObje
const int span = d_gauss.inc.i_span[dst_level];
const float* filter = &d_gauss.inc.i_filter[dst_level*GAUSS_ALIGN];
const int idx = blockIdx.x * blockDim.x + threadIdx.x;
const int idy = blockIdx.x * blockDim.x + threadIdx.x;
const int idy = blockIdx.y * blockDim.y + threadIdx.y;

float out = 0.0f;

Expand Down

0 comments on commit 33ca53d

Please sign in to comment.