diff --git a/cpp/include/raft/neighbors/detail/cagra/search_single_cta_kernel-inl.cuh b/cpp/include/raft/neighbors/detail/cagra/search_single_cta_kernel-inl.cuh index f47e2e4c5a..e8bbb73bfb 100644 --- a/cpp/include/raft/neighbors/detail/cagra/search_single_cta_kernel-inl.cuh +++ b/cpp/include/raft/neighbors/detail/cagra/search_single_cta_kernel-inl.cuh @@ -531,7 +531,7 @@ __launch_bounds__(BLOCK_SIZE, BLOCK_COUNT) __global__ auto smem_working_ptr = reinterpret_cast(terminate_flag + 1); // A flag for filtering. - auto filter_frag = terminate_flag; + auto filter_flag = terminate_flag; const DATA_T* const query_ptr = queries_ptr + query_id * dataset_dim; for (unsigned i = threadIdx.x; i < MAX_DATASET_DIM; i += BLOCK_SIZE) {