@@ -162,7 +162,7 @@ static void declare_qv_query_heap_finite_ram(py::module& m, const std::string& s
162162
163163template <typename T, typename Id_Type = uint64_t >
164164static void declare_nuv_query_heap_infinite_ram (py::module & m, const std::string& suffix) {
165- m.def ((" nuv_query_heap_infinite_ram_ " + suffix).c_str (),
165+ m.def ((" nuv_query_heap_infinite_ram_reg_blocked_ " + suffix).c_str (),
166166 [](const ColMajorMatrix<T>& parts,
167167 const ColMajorMatrix<float >& centroids,
168168 const ColMajorMatrix<float >& query_vectors,
@@ -173,7 +173,7 @@ static void declare_nuv_query_heap_infinite_ram(py::module& m, const std::string
173173 bool nth,
174174 size_t nthreads) -> ColMajorMatrix<size_t > { // TODO change return type
175175
176- auto r = detail::ivf::nuv_query_heap_infinite_ram (
176+ auto r = detail::ivf::nuv_query_heap_infinite_ram_reg_blocked (
177177 parts,
178178 centroids,
179179 query_vectors,
@@ -189,7 +189,7 @@ static void declare_nuv_query_heap_infinite_ram(py::module& m, const std::string
189189
190190template <typename T, typename Id_Type = uint64_t >
191191static void declare_nuv_query_heap_finite_ram (py::module & m, const std::string& suffix) {
192- m.def ((" nuv_query_heap_finite_ram_ " + suffix).c_str (),
192+ m.def ((" nuv_query_heap_finite_ram_reg_blocked_ " + suffix).c_str (),
193193 [](tiledb::Context& ctx,
194194 const std::string& parts_uri,
195195 const ColMajorMatrix<float >& centroids,
@@ -202,7 +202,7 @@ static void declare_nuv_query_heap_finite_ram(py::module& m, const std::string&
202202 bool nth,
203203 size_t nthreads) -> ColMajorMatrix<size_t > { // TODO change return type
204204
205- auto r = detail::ivf::nuv_query_heap_finite_ram <T, Id_Type>(
205+ auto r = detail::ivf::nuv_query_heap_finite_ram_reg_blocked <T, Id_Type>(
206206 ctx,
207207 parts_uri,
208208 centroids,
@@ -465,7 +465,7 @@ PYBIND11_MODULE(_tiledbvspy, m) {
465465 });
466466
467467 m.def (" validate_top_k_u64" ,
468- [](const ColMajorMatrix<uint64_t >& top_k,
468+ [](const ColMajorMatrix<size_t >& top_k,
469469 const ColMajorMatrix<int32_t >& ground_truth) -> bool {
470470 return validate_top_k (top_k, ground_truth);
471471 });
0 commit comments