<divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * This source code is licensed under the CC-by-NC license found in the</span></div>
<divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * LICENSE file in the root directory of this source tree.</span></div>
<divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment">// Copyright 2004-present Facebook. All Rights Reserved.</span></div>
<divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> <spanclass="comment"> /// What indices storage options are we using?</span></div>
<divclass="line"><aname="l00053"></a><spanclass="lineno"> 53</span> <spanclass="comment"> /// Is our coarse quantizer storing and performing math in float16?</span></div>
<divclass="line"><aname="l00056"></a><spanclass="lineno"> 56</span> <spanclass="comment"> /// Copy what we need from the CPU equivalent</span></div>
<divclass="line"><aname="l00059"></a><spanclass="lineno"> 59</span> <spanclass="comment"> /// Copy what we have to the CPU equivalent</span></div>
<divclass="line"><aname="l00062"></a><spanclass="lineno"> 62</span> <spanclass="comment"> /// Returns the number of inverted lists we're managing</span></div>
<divclass="line"><aname="l00065"></a><spanclass="lineno"> 65</span> <spanclass="comment"> /// Sets the number of list probes per query</span></div>
<divclass="line"><aname="l00068"></a><spanclass="lineno"> 68</span> <spanclass="comment"> /// Returns our current number of list probes per query</span></div>
<divclass="line"><aname="l00071"></a><spanclass="lineno"> 71</span> <spanclass="comment"> /// `x` can be resident on the CPU or any GPU; the proper copies are</span></div>
<divclass="line"><aname="l00073"></a><spanclass="lineno"> 73</span> <spanclass="comment"> /// Forwards to add_with_ids; assigns IDs as needed</span></div>
<divclass="line"><aname="l00074"></a><spanclass="lineno"> 74</span> <spanclass="comment"> /// FIXME: remove override for C++03 compatibility</span></div>
<divclass="line"><aname="l00075"></a><spanclass="lineno"> 75</span> <spanclass="comment"></span><spanclass="keywordtype">void</span><aclass="code"href="classfaiss_1_1gpu_1_1GpuIndexIVF.html#ace41857c97a357284acbe4556c9da3da">add</a>(<aclass="code"href="structfaiss_1_1Index.html#a040c6aed1f224f3ea7bf58eebc0c31a4">Index::idx_t</a> n, <spanclass="keyword">const</span><spanclass="keywordtype">float</span>* x) <spanclass="keyword">override</span>;</div>
<divclass="line"><aname="l00081"></a><spanclass="lineno"> 81</span> <spanclass="comment"> /// How should indices be stored on the GPU?</span></div>
<divclass="line"><aname="l00084"></a><spanclass="lineno"> 84</span> <spanclass="comment"> /// Do we want to use float16 storage and math in our coarse</span></div>
<divclass="line"><aname="l00088"></a><spanclass="lineno"> 88</span> <spanclass="comment"> /// Number of inverted lists that we manage</span></div>
<divclass="line"><aname="l00091"></a><spanclass="lineno"> 91</span> <spanclass="comment"> /// Number of inverted list probes per query</span></div>
<divclass="line"><aname="l00100"></a><spanclass="lineno"> 100</span> <spanclass="comment"> /// Do we own the above quantizer instance?</span></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a91eb7171dbec0d09b8a1a6ae86a03b3e"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a91eb7171dbec0d09b8a1a6ae86a03b3e">faiss::gpu::GpuIndexIVF::getIndicesOptions</a></div><divclass="ttdeci">IndicesOptions getIndicesOptions() const </div><divclass="ttdoc">What indices storage options are we using? </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00110">GpuIndexIVF.cu:110</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a13bce124f8acada641daf60d6edddb33"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a13bce124f8acada641daf60d6edddb33">faiss::gpu::GpuIndexIVF::getNumProbes</a></div><divclass="ttdeci">int getNumProbes() const </div><divclass="ttdoc">Returns our current number of list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00247">GpuIndexIVF.cu:247</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a1efac4b9801d57fa6d0085d6aed9c1f2"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a1efac4b9801d57fa6d0085d6aed9c1f2">faiss::gpu::GpuIndexIVF::setNumProbes</a></div><divclass="ttdeci">void setNumProbes(int nprobe)</div><divclass="ttdoc">Sets the number of list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00241">GpuIndexIVF.cu:241</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a43a63e93d55b79eac38173f219743ddf"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a43a63e93d55b79eac38173f219743ddf">faiss::gpu::GpuIndexIVF::getNumLists</a></div><divclass="ttdeci">int getNumLists() const </div><divclass="ttdoc">Returns the number of inverted lists we&#39;re managing. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00236">GpuIndexIVF.cu:236</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a9b678cc83dedf93dfc6a31782f9405ed"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a9b678cc83dedf93dfc6a31782f9405ed">faiss::gpu::GpuIndexIVF::getUseFloat16CoarseQuantizer</a></div><divclass="ttdeci">bool getUseFloat16CoarseQuantizer() const </div><divclass="ttdoc">Is our coarse quantizer storing and performing math in float16? </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00115">GpuIndexIVF.cu:115</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a187bdcbbac02bf8fd0e6bb40a1c0426b"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a187bdcbbac02bf8fd0e6bb40a1c0426b">faiss::gpu::GpuIndexIVF::nprobe_</a></div><divclass="ttdeci">int nprobe_</div><divclass="ttdoc">Number of inverted list probes per query. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00092">GpuIndexIVF.h:92</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a58e0f685aab12409eca26de01d43e39e"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a58e0f685aab12409eca26de01d43e39e">faiss::gpu::GpuIndexIVF::indicesOptions_</a></div><divclass="ttdeci">const IndicesOptions indicesOptions_</div><divclass="ttdoc">How should indices be stored on the GPU? </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00082">GpuIndexIVF.h:82</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a1db0a796b8b2917d989952c5f07fbe55"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a1db0a796b8b2917d989952c5f07fbe55">faiss::gpu::GpuIndexIVF::copyTo</a></div><divclass="ttdeci">void copyTo(faiss::IndexIVF *index) const </div><divclass="ttdoc">Copy what we have to the CPU equivalent. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00187">GpuIndexIVF.cu:187</a></div></div>
<divclass="ttc"id="structfaiss_1_1Index_html_a040c6aed1f224f3ea7bf58eebc0c31a4"><divclass="ttname"><ahref="structfaiss_1_1Index.html#a040c6aed1f224f3ea7bf58eebc0c31a4">faiss::Index::idx_t</a></div><divclass="ttdeci">long idx_t</div><divclass="ttdoc">all indices are this type </div><divclass="ttdef"><b>Definition:</b><ahref="Index_8h_source.html#l00064">Index.h:64</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_aba606c141e714fab843493cc58167494"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#aba606c141e714fab843493cc58167494">faiss::gpu::GpuIndexIVF::nlist_</a></div><divclass="ttdeci">int nlist_</div><divclass="ttdoc">Number of inverted lists that we manage. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00089">GpuIndexIVF.h:89</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_aaa7dd748e3cbd7ef68f2e384ac503eab"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#aaa7dd748e3cbd7ef68f2e384ac503eab">faiss::gpu::GpuIndexIVF::quantizer_</a></div><divclass="ttdeci">GpuIndexFlat * quantizer_</div><divclass="ttdoc">Quantizer for inverted lists. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00098">GpuIndexIVF.h:98</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a94c2c171f9a2d27085dea9101067bdf2"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a94c2c171f9a2d27085dea9101067bdf2">faiss::gpu::GpuIndexIVF::copyFrom</a></div><divclass="ttdeci">void copyFrom(const faiss::IndexIVF *index)</div><divclass="ttdoc">Copy what we need from the CPU equivalent. </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00120">GpuIndexIVF.cu:120</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_a13c34dd6df2fb042bade2a37f7a525f8"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#a13c34dd6df2fb042bade2a37f7a525f8">faiss::gpu::GpuIndexIVF::ownsQuantizer_</a></div><divclass="ttdeci">bool ownsQuantizer_</div><divclass="ttdoc">Do we own the above quantizer instance? </div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8h_source.html#l00101">GpuIndexIVF.h:101</a></div></div>
<divclass="ttc"id="classfaiss_1_1gpu_1_1GpuIndexIVF_html_ace41857c97a357284acbe4556c9da3da"><divclass="ttname"><ahref="classfaiss_1_1gpu_1_1GpuIndexIVF.html#ace41857c97a357284acbe4556c9da3da">faiss::gpu::GpuIndexIVF::add</a></div><divclass="ttdeci">void add(Index::idx_t n, const float *x) override</div><divclass="ttdef"><b>Definition:</b><ahref="GpuIndexIVF_8cu_source.html#l00252">GpuIndexIVF.cu:252</a></div></div>
<divclass="ttc"id="namespacefaiss_html_afd12191c638da74760ff397cf319752c"><divclass="ttname"><ahref="namespacefaiss.html#afd12191c638da74760ff397cf319752c">faiss::MetricType</a></div><divclass="ttdeci">MetricType</div><divclass="ttdoc">Some algorithms support both an inner product vetsion and a L2 search version. </div><divclass="ttdef"><b>Definition:</b><ahref="Index_8h_source.html#l00044">Index.h:44</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">