blob: 7e7423dc2a73aeba93759c6ff8b1fb5bfa1c0d0e [file] [log] [blame]
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>mxnet: /work/mxnet/include/mxnet/resource.h File 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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">mxnet
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_1143c7affb9ebd026cb6818dd282def7.html">mxnet</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> </div>
<div class="headertitle">
<div class="title">resource.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Global resource allocation handling.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;dmlc/logging.h&gt;</code><br />
<code>#include &quot;<a class="el" href="include_2mxnet_2base_8h_source.html">./base.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="engine_8h_source.html">./engine.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="random__generator_8h_source.html">./random_generator.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for resource.h:</div>
<div class="dyncontent">
<div class="center"><img src="resource_8h__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2resource_8h" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2resource_8h" id="_2work_2mxnet_2include_2mxnet_2resource_8h">
<area shape="rect" id="node3" href="include_2mxnet_2base_8h.html" title="./base.h" alt="" coords="1763,169,1837,196"/>
<area shape="rect" id="node45" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="1757,95,1843,121"/>
<area shape="rect" id="node46" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="3413,95,3574,121"/>
<area shape="rect" id="node4" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="dmlc/base.h" alt="" coords="936,543,1037,569"/>
<area shape="rect" id="node10" href="3rdparty_2dmlc-core_2include_2dmlc_2io_8h.html" title="dmlc/io.h" alt="" coords="2827,319,2909,345"/>
<area shape="rect" id="node21" href="type__traits_8h.html" title="type traits information header " alt="" coords="1204,468,1316,495"/>
<area shape="rect" id="node23" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="1335,319,1473,345"/>
<area shape="rect" id="node38" href="tensor_8h.html" title="header file of tensor data structure and functions This lib requires explicit memory allocation and d..." alt="" coords="157,393,299,420"/>
<area shape="rect" id="node39" href="op_8h.html" title="Operator information structor. " alt="" coords="1897,244,1988,271"/>
<area shape="rect" id="node41" href="symbolic_8h.html" title="Symbolic graph construction API. " alt="" coords="2461,393,2595,420"/>
<area shape="rect" id="node42" href="libinfo_8h.html" title="get features of the MXNet library at runtime " alt="" coords="44,468,119,495"/>
<area shape="rect" id="node44" href="include_2mxnet_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="1991,393,2057,420"/>
<area shape="rect" id="node9" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="973,617,1174,644"/>
<area shape="rect" id="node17" href="serializer_8h.html" title="serializer template class that helps serialization. This file do not need to be directly used by most..." alt="" coords="2183,393,2284,420"/>
<area shape="rect" id="node35" href="json_8h.html" title="Lightweight JSON Reader/Writer that read save into C++ data structs. This includes STL composites and..." alt="" coords="1745,393,1815,420"/>
<area shape="rect" id="node36" href="optional_8h.html" title="Container to hold optional data. " alt="" coords="1050,393,1145,420"/>
<area shape="rect" id="node37" href="strtonum_8h.html" title="A faster implementation of strtof and strtod. " alt="" coords="475,393,576,420"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="resource_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_2include_2mxnet_2resource_8hdep" alt=""/></div>
<map name="_2work_2mxnet_2include_2mxnet_2resource_8hdep" id="_2work_2mxnet_2include_2mxnet_2resource_8hdep">
<area shape="rect" id="node2" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="181,184,336,225"/>
<area shape="rect" id="node5" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="296,95,469,136"/>
<area shape="rect" id="node3" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="5,273,160,315"/>
<area shape="rect" id="node4" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="185,273,351,315"/>
<area shape="rect" id="node6" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="411,184,605,225"/>
<area shape="rect" id="node7" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="392,273,547,315"/>
<area shape="rect" id="node8" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="490,363,678,404"/>
<area shape="rect" id="node9" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="490,452,678,493"/>
</map>
</div>
</div>
<p><a href="resource_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmxnet_1_1ResourceRequest.html">mxnet::ResourceRequest</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The resources that can be requested by <a class="el" href="classmxnet_1_1Operator.html" title="Operator interface. Operator defines basic operation unit of optimized computation graph in mxnet...">Operator</a>. <a href="structmxnet_1_1ResourceRequest.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmxnet_1_1Resource.html">mxnet::Resource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resources used by mxnet operations. A resource is something special other than <a class="el" href="classmxnet_1_1NDArray.html" title="ndarray interface ">NDArray</a>, but will still participate. <a href="structmxnet_1_1Resource.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmxnet_1_1ResourceManager.html">mxnet::ResourceManager</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global resource manager. <a href="classmxnet_1_1ResourceManager.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacemxnet"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemxnet.html">mxnet</a></td></tr>
<tr class="memdesc:namespacemxnet"><td class="mdescLeft">&#160;</td><td class="mdescRight">namespace of mxnet <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Global resource allocation handling. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 5 2023 00:58:43 for mxnet by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>