| 114 | ); |
| 115 | |
| 116 | rabitqlib::ivf::parallel_for( |
| 117 | 0, |
| 118 | nq, |
| 119 | num_threads, |
| 120 | [&](size_t idx, size_t /*threadId*/) { |
| 121 | index_->search( |
| 122 | query_array.data() + (idx * dim_), |
| 123 | k, |
| 124 | nprobe, |
| 125 | ids_data + (idx * k), |
| 126 | dists_data + (idx * k), |
| 127 | high_accuracy |
| 128 | ); |
| 129 | } |
| 130 | ); |
nothing calls this directly
no test coverage detected