From a2d35bd7b21a0b9bc3131212861cfc29a0194a3b Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 9 Sep 2026 15:20:56 -0400 Subject: [PATCH 1/2] brute_force_prefiltered test warp boundary but with less input --- .../neighbors/brute_force_prefiltered.cu | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/cpp/tests/neighbors/brute_force_prefiltered.cu b/cpp/tests/neighbors/brute_force_prefiltered.cu index aac00f39af..19c68fb035 100644 --- a/cpp/tests/neighbors/brute_force_prefiltered.cu +++ b/cpp/tests/neighbors/brute_force_prefiltered.cu @@ -1012,21 +1012,23 @@ const std::vector> selectk_inputs = { {1024, 8192, 3, 1, 0.1, cuvs::distance::DistanceType::InnerProduct}, {1024, 8192, 5, 1, 0.1, cuvs::distance::DistanceType::L2SqrtExpanded}, {1024, 8192, 8, 1, 0.1, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 2050, 16, 0.4, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 2051, 16, 0.5, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 2052, 16, 0.2, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 2050, 16, 0.4, cuvs::distance::DistanceType::InnerProduct}, - {1024, 8192, 2051, 16, 0.5, cuvs::distance::DistanceType::InnerProduct}, - {1024, 8192, 2052, 16, 0.2, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::L2Expanded}, + {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::L2Expanded}, + {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 2050, 16, 0.4, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 2051, 16, 0.5, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 2052, 16, 0.2, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 2050, 16, 0.4, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 2051, 16, 0.5, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::InnerProduct}, + + {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::L2SqrtExpanded}, + {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::L2SqrtExpanded}, + {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::L2SqrtExpanded}, + + {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 2052, 16, 0.2, cuvs::distance::DistanceType::CosineExpanded}, {1024, 8192, 1, 16, 0.5, cuvs::distance::DistanceType::L2Expanded}, {1024, 8192, 2, 16, 0.2, cuvs::distance::DistanceType::L2Expanded}, From 117955491b13eeaf27b9df5b6f5144daca9dbf8c Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 11 Sep 2026 19:57:46 -0400 Subject: [PATCH 2/2] Update to restore values to see if that fixes test failure --- .../neighbors/brute_force_prefiltered.cu | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/cpp/tests/neighbors/brute_force_prefiltered.cu b/cpp/tests/neighbors/brute_force_prefiltered.cu index 19c68fb035..93c62ef5c9 100644 --- a/cpp/tests/neighbors/brute_force_prefiltered.cu +++ b/cpp/tests/neighbors/brute_force_prefiltered.cu @@ -1013,21 +1013,21 @@ const std::vector> selectk_inputs = { {1024, 8192, 5, 1, 0.1, cuvs::distance::DistanceType::L2SqrtExpanded}, {1024, 8192, 8, 1, 0.1, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::L2Expanded}, + {1024, 8192, 2050, 16, 0.04, cuvs::distance::DistanceType::L2Expanded}, + {1024, 8192, 2051, 16, 0.05, cuvs::distance::DistanceType::L2Expanded}, + {1024, 8192, 2052, 16, 0.035, cuvs::distance::DistanceType::L2Expanded}, - {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::InnerProduct}, - {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::InnerProduct}, - {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 2050, 16, 0.04, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 2051, 16, 0.05, cuvs::distance::DistanceType::InnerProduct}, + {1024, 8192, 2052, 16, 0.035, cuvs::distance::DistanceType::InnerProduct}, - {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::L2SqrtExpanded}, + {1024, 8192, 2050, 16, 0.04, cuvs::distance::DistanceType::L2SqrtExpanded}, + {1024, 8192, 2051, 16, 0.05, cuvs::distance::DistanceType::L2SqrtExpanded}, + {1024, 8192, 2052, 16, 0.035, cuvs::distance::DistanceType::L2SqrtExpanded}, - {1024, 8192, 34, 16, 0.04, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 35, 16, 0.05, cuvs::distance::DistanceType::CosineExpanded}, - {1024, 8192, 36, 16, 0.035, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 2050, 16, 0.04, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 2051, 16, 0.05, cuvs::distance::DistanceType::CosineExpanded}, + {1024, 8192, 2052, 16, 0.035, cuvs::distance::DistanceType::CosineExpanded}, {1024, 8192, 1, 16, 0.5, cuvs::distance::DistanceType::L2Expanded}, {1024, 8192, 2, 16, 0.2, cuvs::distance::DistanceType::L2Expanded},