blob: 1319d61d0cb2840133d244ac5b3b43a312091fc7 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.15-->
<!-- Remember to use version doxygen 1.8.15 +-->
<!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.15"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: src/graph/GraphManager.cpp Source File</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.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;">
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.08</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_graph_manager_8cpp_source.xhtml','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle">
<div class="title">GraphManager.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_graph_manager_8cpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Copyright (c) 2018-2019 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * of this software and associated documentation files (the &quot;Software&quot;), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_graph_manager_8h.xhtml">arm_compute/graph/GraphManager.h</a>&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="graph_2_graph_8h.xhtml">arm_compute/graph/Graph.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_graph_context_8h.xhtml">arm_compute/graph/GraphContext.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="graph_2_logger_8h.xhtml">arm_compute/graph/Logger.h</a>&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_pass_manager_8h.xhtml">arm_compute/graph/PassManager.h</a>&quot;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="arm__compute_2graph_2_type_printer_8h.xhtml">arm_compute/graph/TypePrinter.h</a>&quot;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="arm__compute_2graph_2_utils_8h.xhtml">arm_compute/graph/Utils.h</a>&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_cross_layer_memory_manager_helpers_8h.xhtml">arm_compute/graph/detail/CrossLayerMemoryManagerHelpers.h</a>&quot;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_execution_helpers_8h.xhtml">arm_compute/graph/detail/ExecutionHelpers.h</a>&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_topological_sort_8h.xhtml">arm_compute/graph/algorithms/TopologicalSort.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">namespace </span>graph</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;{</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e7362b1e7b02f52aa94e150993fc3f8"> 41</a></span>&#160;<a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e7362b1e7b02f52aa94e150993fc3f8">GraphManager::GraphManager</a>()</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; : _workloads()</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;{</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#afb8c302dc3cdebfe987751793a9aa4b5"> 46</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#afb8c302dc3cdebfe987751793a9aa4b5">GraphManager::finalize_graph</a>(<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp;graph, <a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml">GraphContext</a> &amp;ctx, <a class="code" href="classarm__compute_1_1graph_1_1_pass_manager.xhtml">PassManager</a> &amp;pm, <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35d">Target</a> target)</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">// Check if graph has been registered</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordflow">if</span>(_workloads.find(graph.<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">id</a>()) != std::end(_workloads))</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a>(<span class="stringliteral">&quot;Graph is already registered!&quot;</span>);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; }</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// Force target to all graph construct</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// TODO (COMPMID-2014) : Support heterogeneous execution</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <a class="code" href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35d">Target</a> forced_target = target;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordflow">if</span>(!<a class="code" href="namespacearm__compute_1_1graph.xhtml#a6fd498c55b126dc3f078d38e8528effb">is_target_supported</a>(target))</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; forced_target = <a class="code" href="namespacearm__compute_1_1graph.xhtml#addc5c907a850a8b4d5458bd14f50c6f7">get_default_target</a>();</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="graph_2_logger_8h.xhtml#ab2d8baa35618bdad1d2814942355311e">ARM_COMPUTE_LOG_GRAPH_INFO</a>(<span class="stringliteral">&quot;Switching target from &quot;</span> &lt;&lt; target &lt;&lt; <span class="stringliteral">&quot; to &quot;</span> &lt;&lt; forced_target &lt;&lt; std::endl);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="namespacearm__compute_1_1graph.xhtml#ac5712330ef2d40408efb4eae5665dc6e">force_target_to_graph</a>(graph, forced_target);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="comment">// Setup backend context</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="comment">// TODO (COMPMID-2014) : Setup all backends needed by the graph</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="namespacearm__compute_1_1graph.xhtml#aaef0102f19fc08d670766506b1a0b66e">setup_requested_backend_context</a>(ctx, forced_target);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// Configure all tensors</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a68c7ebb89adc0c2b21449cd15f6e8eba">detail::configure_all_tensors</a>(graph);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="comment">// Apply all mutating passes</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; pm.<a class="code" href="classarm__compute_1_1graph_1_1_pass_manager.xhtml#a8ff5886e2e39da2a4db7029e8dc143e2">run_all</a>(graph);</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="comment">// Perform topological sort</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; std::vector&lt;NodeID&gt; topological_sorted_nodes = <a class="code" href="namespacearm__compute_1_1graph.xhtml#a14abdeb0f575e919aa6d586a95f23920">dfs</a>(graph);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// Validate all nodes</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#aa1d326a80e16fe0d4034637672d3b122">detail::validate_all_nodes</a>(graph);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// Configure all nodes</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">auto</span> workload = <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a82d07d3d612bee8ff703226ff9d5d452">detail::configure_all_nodes</a>(graph, ctx, topological_sorted_nodes);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(workload.tasks.empty(), <span class="stringliteral">&quot;Could not configure all nodes!&quot;</span>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="comment">// Allocate const tensors and call accessors</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a3ef7cb28de6aea7026a1e8572639f300">detail::allocate_const_tensors</a>(graph);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a6f2e226c8b1e478b0162c3d9327b032e">detail::call_all_const_node_accessors</a>(graph);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="comment">// Prepare graph</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a17b5e700b317feb19fc3cefd23a1d8bb">detail::prepare_all_tasks</a>(workload);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="comment">// Setup tensor memory (Allocate all tensors or setup transition manager)</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordflow">if</span>(ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a9c24c14abfd0ab9d1f4ce8cd5cc20819">config</a>().<a class="code" href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a1930adfaf721b59d516d41cce63746cc">use_transition_memory_manager</a>)</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#aa94e771d284b85d820f94b797eecee98">detail::configure_transition_manager</a>(graph, ctx, workload);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordflow">else</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a766bb5055ef388455c941869b32981ed">detail::allocate_all_tensors</a>(graph);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="comment">// Finalize Graph context</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; ctx.<a class="code" href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a32d626626eee0bc4ade146973f6abb1c">finalize</a>();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="comment">// Register graph</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; _workloads.insert(std::make_pair(graph.<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">id</a>(), std::move(workload)));</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <a class="code" href="graph_2_logger_8h.xhtml#a300d153929a99c7b571d4cda3f7987a5">ARM_COMPUTE_LOG_GRAPH_VERBOSE</a>(<span class="stringliteral">&quot;Created workload for graph with ID : &quot;</span> &lt;&lt; graph.<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">id</a>() &lt;&lt; std::endl);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;}</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e179588488fda9085167dd70c29ff70"> 109</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e179588488fda9085167dd70c29ff70">GraphManager::execute_graph</a>(<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp;graph)</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;{</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="comment">// Check if graph is finalized</span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">auto</span> it = _workloads.find(graph.<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">id</a>());</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(it == std::end(_workloads), <span class="stringliteral">&quot;Graph is not registered!&quot;</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordflow">while</span>(<span class="keyword">true</span>)</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="comment">// Call input accessors</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">if</span>(!<a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#adff00463fb88bf00a886e0ecef6c0b6a">detail::call_all_input_node_accessors</a>(it-&gt;second))</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">// Run graph</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#a7641ee3c6374e97c597ce6ee05545b59">detail::call_all_tasks</a>(it-&gt;second);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; <span class="comment">// Call output accessors</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">if</span>(!<a class="code" href="namespacearm__compute_1_1graph_1_1detail.xhtml#aaf7f4e1e2142802dd1c5a983ee156e77">detail::call_all_output_node_accessors</a>(it-&gt;second))</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; }</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;}</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a51543e8fce4ed3bd248eedd96d333099"> 134</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a51543e8fce4ed3bd248eedd96d333099">GraphManager::invalidate_graph</a>(<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml">Graph</a> &amp;graph)</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;{</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keyword">auto</span> it = _workloads.find(graph.<a class="code" href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">id</a>());</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(it == std::end(_workloads), <span class="stringliteral">&quot;Graph is not registered!&quot;</span>);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; _workloads.erase(it);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;}</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;} <span class="comment">// namespace graph</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;} <span class="comment">// namespace arm_compute</span></div><div class="ttc" id="namespacearm__compute_1_1graph_xhtml_ac5712330ef2d40408efb4eae5665dc6e"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#ac5712330ef2d40408efb4eae5665dc6e">arm_compute::graph::force_target_to_graph</a></div><div class="ttdeci">void force_target_to_graph(Graph &amp;g, Target target)</div><div class="ttdoc">Forces a single target to all graph constructs.</div><div class="ttdef"><b>Definition:</b> <a href="src_2graph_2_utils_8cpp_source.xhtml#l00056">Utils.cpp:56</a></div></div>
<div class="ttc" id="_error_8h_xhtml_a05b19c75afe9c24200a62b9724734bbd"><div class="ttname"><a href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR(...)</div><div class="ttdoc">Print the given message then throw an std::runtime_error.</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00261">Error.h:261</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_xhtml_a0fc44e75669b55a1347b89c7debdf037"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph.xhtml#a0fc44e75669b55a1347b89c7debdf037">arm_compute::graph::Graph::id</a></div><div class="ttdeci">GraphID id() const</div><div class="ttdoc">Returns graph id.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.xhtml#l00169">Graph.cpp:169</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_pass_manager_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_pass_manager.xhtml">arm_compute::graph::PassManager</a></div><div class="ttdoc">Pass manager.</div><div class="ttdef"><b>Definition:</b> <a href="_pass_manager_8h_source.xhtml#l00043">PassManager.h:43</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_aa94e771d284b85d820f94b797eecee98"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#aa94e771d284b85d820f94b797eecee98">arm_compute::graph::detail::configure_transition_manager</a></div><div class="ttdeci">void configure_transition_manager(Graph &amp;g, GraphContext &amp;ctx, ExecutionWorkload &amp;workload)</div><div class="ttdoc">Configures transition manager and execution workload.</div><div class="ttdef"><b>Definition:</b> <a href="_cross_layer_memory_manager_helpers_8cpp_source.xhtml#l00235">CrossLayerMemoryManagerHelpers.cpp:235</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_a51543e8fce4ed3bd248eedd96d333099"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a51543e8fce4ed3bd248eedd96d333099">arm_compute::graph::GraphManager::invalidate_graph</a></div><div class="ttdeci">void invalidate_graph(Graph &amp;graph)</div><div class="ttdoc">Invalidates the graph execution workload.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00134">GraphManager.cpp:134</a></div></div>
<div class="ttc" id="_cross_layer_memory_manager_helpers_8h_xhtml"><div class="ttname"><a href="_cross_layer_memory_manager_helpers_8h.xhtml">CrossLayerMemoryManagerHelpers.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a766bb5055ef388455c941869b32981ed"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a766bb5055ef388455c941869b32981ed">arm_compute::graph::detail::allocate_all_tensors</a></div><div class="ttdeci">void allocate_all_tensors(Graph &amp;g)</div><div class="ttdoc">Allocates all tensors of a graph.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00119">ExecutionHelpers.cpp:119</a></div></div>
<div class="ttc" id="_topological_sort_8h_xhtml"><div class="ttname"><a href="_topological_sort_8h.xhtml">TopologicalSort.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a17b5e700b317feb19fc3cefd23a1d8bb"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a17b5e700b317feb19fc3cefd23a1d8bb">arm_compute::graph::detail::prepare_all_tasks</a></div><div class="ttdeci">void prepare_all_tasks(ExecutionWorkload &amp;workload)</div><div class="ttdoc">Prepares all tasks for execution.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00216">ExecutionHelpers.cpp:216</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml">arm_compute::graph::GraphContext</a></div><div class="ttdoc">Graph context.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8h_source.xhtml#l00049">GraphContext.h:49</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_afb8c302dc3cdebfe987751793a9aa4b5"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#afb8c302dc3cdebfe987751793a9aa4b5">arm_compute::graph::GraphManager::finalize_graph</a></div><div class="ttdeci">void finalize_graph(Graph &amp;graph, GraphContext &amp;ctx, PassManager &amp;pm, Target target)</div><div class="ttdoc">Finalizes a given graph.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00046">GraphManager.cpp:46</a></div></div>
<div class="ttc" id="graph_2_logger_8h_xhtml_ab2d8baa35618bdad1d2814942355311e"><div class="ttname"><a href="graph_2_logger_8h.xhtml#ab2d8baa35618bdad1d2814942355311e">ARM_COMPUTE_LOG_GRAPH_INFO</a></div><div class="ttdeci">#define ARM_COMPUTE_LOG_GRAPH_INFO(x)</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_logger_8h_source.xhtml#l00054">Logger.h:54</a></div></div>
<div class="ttc" id="_execution_helpers_8h_xhtml"><div class="ttname"><a href="_execution_helpers_8h.xhtml">ExecutionHelpers.h</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml"><div class="ttname"><a href="namespacearm__compute.xhtml">arm_compute</a></div><div class="ttdoc">Copyright (c) 2017-2018 ARM Limited.</div><div class="ttdef"><b>Definition:</b> <a href="00__introduction_8dox_source.xhtml#l00024">00_introduction.dox:24</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_addc5c907a850a8b4d5458bd14f50c6f7"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#addc5c907a850a8b4d5458bd14f50c6f7">arm_compute::graph::get_default_target</a></div><div class="ttdeci">Target get_default_target()</div><div class="ttdoc">Returns default target for execution.</div><div class="ttdef"><b>Definition:</b> <a href="src_2graph_2_utils_8cpp_source.xhtml#l00039">Utils.cpp:39</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a68c7ebb89adc0c2b21449cd15f6e8eba"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a68c7ebb89adc0c2b21449cd15f6e8eba">arm_compute::graph::detail::configure_all_tensors</a></div><div class="ttdeci">void configure_all_tensors(Graph &amp;g)</div><div class="ttdoc">Configures all nodes of a graph.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00055">ExecutionHelpers.cpp:55</a></div></div>
<div class="ttc" id="structarm__compute_1_1graph_1_1_graph_config_xhtml_a1930adfaf721b59d516d41cce63746cc"><div class="ttname"><a href="structarm__compute_1_1graph_1_1_graph_config.xhtml#a1930adfaf721b59d516d41cce63746cc">arm_compute::graph::GraphConfig::use_transition_memory_manager</a></div><div class="ttdeci">bool use_transition_memory_manager</div><div class="ttdoc">Use a memory manager to manager transition buffer memory.</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00081">Types.h:81</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_aa1d326a80e16fe0d4034637672d3b122"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#aa1d326a80e16fe0d4034637672d3b122">arm_compute::graph::detail::validate_all_nodes</a></div><div class="ttdeci">void validate_all_nodes(Graph &amp;g)</div><div class="ttdoc">Validates all nodes.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00038">ExecutionHelpers.cpp:38</a></div></div>
<div class="ttc" id="arm__compute_2graph_2_utils_8h_xhtml"><div class="ttname"><a href="arm__compute_2graph_2_utils_8h.xhtml">Utils.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_aaef0102f19fc08d670766506b1a0b66e"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#aaef0102f19fc08d670766506b1a0b66e">arm_compute::graph::setup_requested_backend_context</a></div><div class="ttdeci">void setup_requested_backend_context(GraphContext &amp;ctx, Target target)</div><div class="ttdoc">Setups requested backend context if it exists, is supported and hasn't been initialized already.</div><div class="ttdef"><b>Definition:</b> <a href="src_2graph_2_utils_8cpp_source.xhtml#l00107">Utils.cpp:107</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_a6fd498c55b126dc3f078d38e8528effb"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#a6fd498c55b126dc3f078d38e8528effb">arm_compute::graph::is_target_supported</a></div><div class="ttdeci">bool is_target_supported(Target target)</div><div class="ttdoc">Checks if a specific target is supported.</div><div class="ttdef"><b>Definition:</b> <a href="src_2graph_2_utils_8cpp_source.xhtml#l00034">Utils.cpp:34</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a32d626626eee0bc4ade146973f6abb1c"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a32d626626eee0bc4ade146973f6abb1c">arm_compute::graph::GraphContext::finalize</a></div><div class="ttdeci">void finalize()</div><div class="ttdoc">Finalizes memory managers in graph context.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00077">GraphContext.cpp:77</a></div></div>
<div class="ttc" id="_graph_manager_8h_xhtml"><div class="ttname"><a href="_graph_manager_8h.xhtml">GraphManager.h</a></div></div>
<div class="ttc" id="graph_2_logger_8h_xhtml"><div class="ttname"><a href="graph_2_logger_8h.xhtml">Logger.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a6f2e226c8b1e478b0162c3d9327b032e"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a6f2e226c8b1e478b0162c3d9327b032e">arm_compute::graph::detail::call_all_const_node_accessors</a></div><div class="ttdeci">void call_all_const_node_accessors(Graph &amp;g)</div><div class="ttdoc">Call all const node accessors.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00192">ExecutionHelpers.cpp:192</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_adff00463fb88bf00a886e0ecef6c0b6a"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#adff00463fb88bf00a886e0ecef6c0b6a">arm_compute::graph::detail::call_all_input_node_accessors</a></div><div class="ttdeci">bool call_all_input_node_accessors(ExecutionWorkload &amp;workload)</div><div class="ttdoc">Call all input node accessors.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00205">ExecutionHelpers.cpp:205</a></div></div>
<div class="ttc" id="_pass_manager_8h_xhtml"><div class="ttname"><a href="_pass_manager_8h.xhtml">PassManager.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_a31488d29805a596498c0234ae392d35d"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#a31488d29805a596498c0234ae392d35d">arm_compute::graph::Target</a></div><div class="ttdeci">Target</div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2graph_2_types_8h_source.xhtml#l00089">Types.h:89</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_xhtml_a14abdeb0f575e919aa6d586a95f23920"><div class="ttname"><a href="namespacearm__compute_1_1graph.xhtml#a14abdeb0f575e919aa6d586a95f23920">arm_compute::graph::dfs</a></div><div class="ttdeci">std::vector&lt; NodeID &gt; dfs(Graph &amp;g)</div><div class="ttdoc">Depth first search traversal.</div><div class="ttdef"><b>Definition:</b> <a href="_topological_sort_8cpp_source.xhtml#l00127">TopologicalSort.cpp:127</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_xhtml"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph.xhtml">arm_compute::graph::Graph</a></div><div class="ttdoc">Graph class.</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_graph_8h_source.xhtml#l00050">Graph.h:50</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a82d07d3d612bee8ff703226ff9d5d452"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a82d07d3d612bee8ff703226ff9d5d452">arm_compute::graph::detail::configure_all_nodes</a></div><div class="ttdeci">ExecutionWorkload configure_all_nodes(Graph &amp;g, GraphContext &amp;ctx, const std::vector&lt; NodeID &gt; &amp;node_order)</div><div class="ttdoc">Configures all nodes of graph.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00132">ExecutionHelpers.cpp:132</a></div></div>
<div class="ttc" id="arm__compute_2graph_2_type_printer_8h_xhtml"><div class="ttname"><a href="arm__compute_2graph_2_type_printer_8h.xhtml">TypePrinter.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_context_xhtml_a9c24c14abfd0ab9d1f4ce8cd5cc20819"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_context.xhtml#a9c24c14abfd0ab9d1f4ce8cd5cc20819">arm_compute::graph::GraphContext::config</a></div><div class="ttdeci">const GraphConfig &amp; config() const</div><div class="ttdoc">Graph configuration accessor.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_context_8cpp_source.xhtml#l00045">GraphContext.cpp:45</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a3ef7cb28de6aea7026a1e8572639f300"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a3ef7cb28de6aea7026a1e8572639f300">arm_compute::graph::detail::allocate_const_tensors</a></div><div class="ttdeci">void allocate_const_tensors(Graph &amp;g)</div><div class="ttdoc">Allocates const tensor of a given graph.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00098">ExecutionHelpers.cpp:98</a></div></div>
<div class="ttc" id="graph_2_logger_8h_xhtml_a300d153929a99c7b571d4cda3f7987a5"><div class="ttname"><a href="graph_2_logger_8h.xhtml#a300d153929a99c7b571d4cda3f7987a5">ARM_COMPUTE_LOG_GRAPH_VERBOSE</a></div><div class="ttdeci">#define ARM_COMPUTE_LOG_GRAPH_VERBOSE(x)</div><div class="ttdef"><b>Definition:</b> <a href="graph_2_logger_8h_source.xhtml#l00050">Logger.h:50</a></div></div>
<div class="ttc" id="graph_2_graph_8h_xhtml"><div class="ttname"><a href="graph_2_graph_8h.xhtml">Graph.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_a7641ee3c6374e97c597ce6ee05545b59"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#a7641ee3c6374e97c597ce6ee05545b59">arm_compute::graph::detail::call_all_tasks</a></div><div class="ttdeci">void call_all_tasks(ExecutionWorkload &amp;workload)</div><div class="ttdoc">Executes all tasks of a workload.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00226">ExecutionHelpers.cpp:226</a></div></div>
<div class="ttc" id="_graph_context_8h_xhtml"><div class="ttname"><a href="_graph_context_8h.xhtml">GraphContext.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_pass_manager_xhtml_a8ff5886e2e39da2a4db7029e8dc143e2"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_pass_manager.xhtml#a8ff5886e2e39da2a4db7029e8dc143e2">arm_compute::graph::PassManager::run_all</a></div><div class="ttdeci">void run_all(Graph &amp;g)</div><div class="ttdoc">Runs all the mutation passes on a given graph.</div><div class="ttdef"><b>Definition:</b> <a href="_pass_manager_8cpp_source.xhtml#l00061">PassManager.cpp:61</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_a4e179588488fda9085167dd70c29ff70"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e179588488fda9085167dd70c29ff70">arm_compute::graph::GraphManager::execute_graph</a></div><div class="ttdeci">void execute_graph(Graph &amp;graph)</div><div class="ttdoc">Executes a graph.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00109">GraphManager.cpp:109</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1graph_1_1detail_xhtml_aaf7f4e1e2142802dd1c5a983ee156e77"><div class="ttname"><a href="namespacearm__compute_1_1graph_1_1detail.xhtml#aaf7f4e1e2142802dd1c5a983ee156e77">arm_compute::graph::detail::call_all_output_node_accessors</a></div><div class="ttdeci">bool call_all_output_node_accessors(ExecutionWorkload &amp;workload)</div><div class="ttdoc">Call all output node accessors.</div><div class="ttdef"><b>Definition:</b> <a href="_execution_helpers_8cpp_source.xhtml#l00255">ExecutionHelpers.cpp:255</a></div></div>
<div class="ttc" id="classarm__compute_1_1graph_1_1_graph_manager_xhtml_a4e7362b1e7b02f52aa94e150993fc3f8"><div class="ttname"><a href="classarm__compute_1_1graph_1_1_graph_manager.xhtml#a4e7362b1e7b02f52aa94e150993fc3f8">arm_compute::graph::GraphManager::GraphManager</a></div><div class="ttdeci">GraphManager()</div><div class="ttdoc">Default Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="_graph_manager_8cpp_source.xhtml#l00041">GraphManager.cpp:41</a></div></div>
<div class="ttc" id="_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00328">Error.h:328</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_d182250f0c231765fc862e69db210731.xhtml">graph</a></li><li class="navelem"><a class="el" href="_graph_manager_8cpp.xhtml">GraphManager.cpp</a></li>
<li class="footer">Generated on Mon Sep 2 2019 11:47:24 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>