<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="l00080"></a><spanclass="lineno"> 80</span> <spanclass="comment"> /// How should indices be stored on the GPU?</span></div>
<divclass="line"><aname="l00083"></a><spanclass="lineno"> 83</span> <spanclass="comment"> /// Do we want to use float16 storage and math in our coarse</span></div>
<divclass="line"><aname="l00087"></a><spanclass="lineno"> 87</span> <spanclass="comment"> /// Number of inverted lists that we manage</span></div>
<divclass="line"><aname="l00090"></a><spanclass="lineno"> 90</span> <spanclass="comment"> /// Number of inverted list probes per query</span></div>
<divclass="line"><aname="l00099"></a><spanclass="lineno"> 99</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#l00107">GpuIndexIVF.cu:107</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#l00241">GpuIndexIVF.cu:241</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#l00235">GpuIndexIVF.cu:235</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#l00230">GpuIndexIVF.cu:230</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#l00112">GpuIndexIVF.cu:112</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#l00091">GpuIndexIVF.h:91</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#l00081">GpuIndexIVF.h:81</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#l00181">GpuIndexIVF.cu:181</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#l00088">GpuIndexIVF.h:88</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#l00097">GpuIndexIVF.h:97</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#l00117">GpuIndexIVF.cu:117</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#l00100">GpuIndexIVF.h:100</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#l00247">GpuIndexIVF.cu:247</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">