2017-02-23 06:26:44 +08:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
< title > Faiss: faiss::gpu::DeviceMemoryReservation Class Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > Faiss
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "annotated.html" > < span > Class  List< / span > < / a > < / li >
< li > < a href = "classes.html" > < span > Class  Index< / span > < / a > < / li >
< li > < a href = "hierarchy.html" > < span > Class  Hierarchy< / span > < / a > < / li >
< li > < a href = "functions.html" > < span > Class  Members< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Namespaces< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Friends< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespacefaiss.html" > faiss< / a > < / li > < li class = "navelem" > < b > gpu< / b > < / li > < li class = "navelem" > < a class = "el" href = "classfaiss_1_1gpu_1_1DeviceMemoryReservation.html" > DeviceMemoryReservation< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classfaiss_1_1gpu_1_1DeviceMemoryReservation-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > faiss::gpu::DeviceMemoryReservation Class Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:afac15f171fd2da8e5548d4aa54a65642" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "afac15f171fd2da8e5548d4aa54a65642" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > DeviceMemoryReservation< / b > (< a class = "el" href = "classfaiss_1_1gpu_1_1DeviceMemory.html" > DeviceMemory< / a > *state, int device, void *p, size_t size, cudaStream_t stream)< / td > < / tr >
< tr class = "separator:afac15f171fd2da8e5548d4aa54a65642" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aba80f98b88d53c328ffebd33026f7cf1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aba80f98b88d53c328ffebd33026f7cf1" > < / a >
  < / td > < td class = "memItemRight" valign = "bottom" > < b > DeviceMemoryReservation< / b > (< a class = "el" href = "classfaiss_1_1gpu_1_1DeviceMemoryReservation.html" > DeviceMemoryReservation< / a > & & m) noexcept< / td > < / tr >
< tr class = "separator:aba80f98b88d53c328ffebd33026f7cf1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adbb6c16e08b16a03edc53d9497d547ce" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "adbb6c16e08b16a03edc53d9497d547ce" > < / a >
< a class = "el" href = "classfaiss_1_1gpu_1_1DeviceMemoryReservation.html" > DeviceMemoryReservation< / a > &   < / td > < td class = "memItemRight" valign = "bottom" > < b > operator=< / b > (< a class = "el" href = "classfaiss_1_1gpu_1_1DeviceMemoryReservation.html" > DeviceMemoryReservation< / a > & & m)< / td > < / tr >
< tr class = "separator:adbb6c16e08b16a03edc53d9497d547ce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a48f95706b430a1a7cbe9768a3fb0c798" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a48f95706b430a1a7cbe9768a3fb0c798" > < / a >
int  < / td > < td class = "memItemRight" valign = "bottom" > < b > device< / b > ()< / td > < / tr >
< tr class = "separator:a48f95706b430a1a7cbe9768a3fb0c798" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0e0c73d308d7ebb6a582436e3ec127cb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a0e0c73d308d7ebb6a582436e3ec127cb" > < / a >
void *  < / td > < td class = "memItemRight" valign = "bottom" > < b > get< / b > ()< / td > < / tr >
< tr class = "separator:a0e0c73d308d7ebb6a582436e3ec127cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae1a92bef2607acd65c2392d80272327c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ae1a92bef2607acd65c2392d80272327c" > < / a >
size_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > size< / b > ()< / td > < / tr >
< tr class = "separator:ae1a92bef2607acd65c2392d80272327c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a184697f222ea8a8db44b5ddda0097338" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a184697f222ea8a8db44b5ddda0097338" > < / a >
cudaStream_t  < / td > < td class = "memItemRight" valign = "bottom" > < b > stream< / b > ()< / td > < / tr >
< tr class = "separator:a184697f222ea8a8db44b5ddda0097338" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" >
< p > Definition at line < a class = "el" href = "DeviceMemory_8h_source.html#l00021" > 21< / a > of file < a class = "el" href = "DeviceMemory_8h_source.html" > DeviceMemory.h< / a > .< / p >
< / div > < hr / > The documentation for this class was generated from the following files:< ul >
2017-03-01 17:50:47 +08:00
< li > < a class = "el" href = "DeviceMemory_8h_source.html" > DeviceMemory.h< / a > < / li >
< li > < a class = "el" href = "DeviceMemory_8cpp_source.html" > DeviceMemory.cpp< / a > < / li >
2017-02-23 06:26:44 +08:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.5
< / small > < / address >
< / body >
< / html >