Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
tarang-jain committed Nov 9, 2023
1 parent d67fe8d commit a68d7a7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cpp/test/neighbors/ann_ivf_pq.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,19 @@ inline auto special_cases() -> test_cases_t
x.search_params.n_probes = 69;
});

ADD_CASE({
x.num_db_vecs = 4335;
x.dim = 4;
x.num_queries = 100000;
x.k = 12;
x.index_params.metric = distance::DistanceType::L2Expanded;
x.index_params.codebook_kind = ivf_pq::codebook_gen::PER_CLUSTER;
x.index_params.pq_dim = 2;
x.index_params.pq_bits = 8;
x.index_params.n_lists = 69;
x.search_params.n_probes = 69;
});

return xs;
}

Expand Down

0 comments on commit a68d7a7

Please sign in to comment.