Nikhil Raj | 38b600d | 2024-02-15 15:02:19 +0000 | [diff] [blame] | 1 | <!-- HTML header for doxygen 1.8.17--> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 7 | <meta name="generator" content="Doxygen 1.8.17"/> |
| 8 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 9 | <title>Arm NN: include/armnn/IRuntime.hpp Source File</title> |
| 10 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 11 | <script type="text/javascript" src="jquery.js"></script> |
| 12 | <script type="text/javascript" src="dynsections.js"></script> |
| 13 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 14 | <script type="text/javascript" src="resize.js"></script> |
| 15 | <script type="text/javascript" src="navtreedata.js"></script> |
| 16 | <script type="text/javascript" src="navtree.js"></script> |
| 17 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 18 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 19 | <script type="text/javascript" src="search/search.js"></script> |
| 20 | <script type="text/x-mathjax-config"> |
| 21 | MathJax.Hub.Config({ |
| 22 | extensions: ["tex2jax.js"], |
| 23 | jax: ["input/TeX","output/HTML-CSS"], |
| 24 | }); |
| 25 | </script> |
| 26 | <script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 27 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 28 | <link href="customdoxygen.css" rel="stylesheet" type="text/css"/> |
| 29 | </head> |
| 30 | <body> |
| 31 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 32 | <div id="titlearea"> |
| 33 | <table cellspacing="0" cellpadding="0"> |
| 34 | <tbody> |
| 35 | <tr style="height: 56px;"> |
| 36 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/> |
| 37 | <td id="projectalign" style="padding-left: 0.9em;"> |
| 38 | <div id="projectname"> |
| 39 |  <span id="projectnumber">24.02</span> |
| 40 | </div> |
| 41 | </td> |
| 42 | </tr> |
| 43 | </tbody> |
| 44 | </table> |
| 45 | </div> |
| 46 | <!-- end header part --> |
| 47 | <!-- Generated by Doxygen 1.8.17 --> |
| 48 | <script type="text/javascript"> |
| 49 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 50 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 51 | /* @license-end */ |
| 52 | </script> |
| 53 | <script type="text/javascript" src="menudata.js"></script> |
| 54 | <script type="text/javascript" src="menu.js"></script> |
| 55 | <script type="text/javascript"> |
| 56 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 57 | $(function() { |
| 58 | initMenu('',true,false,'search.php','Search'); |
| 59 | $(document).ready(function() { init_search(); }); |
| 60 | }); |
| 61 | /* @license-end */</script> |
| 62 | <div id="main-nav"></div> |
| 63 | </div><!-- top --> |
| 64 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 65 | <div id="nav-tree"> |
| 66 | <div id="nav-tree-contents"> |
| 67 | <div id="nav-sync" class="sync"></div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <div id="splitbar" style="-moz-user-select:none;" |
| 71 | class="ui-resizable-handle"> |
| 72 | </div> |
| 73 | </div> |
| 74 | <script type="text/javascript"> |
| 75 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 76 | $(document).ready(function(){initNavTree('_i_runtime_8hpp_source.html',''); initResizable(); }); |
| 77 | /* @license-end */ |
| 78 | </script> |
| 79 | <div id="doc-content"> |
| 80 | <!-- window showing the filter options --> |
| 81 | <div id="MSearchSelectWindow" |
| 82 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 83 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 84 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 85 | </div> |
| 86 | |
| 87 | <!-- iframe showing the search results (closed by default) --> |
| 88 | <div id="MSearchResultsWindow"> |
| 89 | <iframe src="javascript:void(0)" frameborder="0" |
| 90 | name="MSearchResults" id="MSearchResults"> |
| 91 | </iframe> |
| 92 | </div> |
| 93 | |
| 94 | <div class="header"> |
| 95 | <div class="headertitle"> |
| 96 | <div class="title">IRuntime.hpp</div> </div> |
| 97 | </div><!--header--> |
| 98 | <div class="contents"> |
| 99 | <a href="_i_runtime_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div> |
| 100 | <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.</span></div> |
| 101 | <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> |
| 102 | <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> |
| 103 | <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#pragma once</span></div> |
| 104 | <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div> |
| 105 | <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_backend_options_8hpp.html">BackendOptions.hpp</a>"</span></div> |
| 106 | <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_i_network_8hpp.html">INetwork.hpp</a>"</span></div> |
| 107 | <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="_i_profiler_8hpp.html">IProfiler.hpp</a>"</span></div> |
| 108 | <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="_i_working_mem_handle_8hpp.html">IWorkingMemHandle.hpp</a>"</span></div> |
| 109 | <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "<a class="code" href="_i_async_execution_callback_8hpp.html">IAsyncExecutionCallback.hpp</a>"</span></div> |
| 110 | <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="_tensor_8hpp.html">Tensor.hpp</a>"</span></div> |
| 111 | <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="_types_8hpp.html">Types.hpp</a>"</span></div> |
| 112 | <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="_types_utils_8hpp.html">TypesUtils.hpp</a>"</span></div> |
| 113 | <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div> |
| 114 | <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="_i_custom_allocator_8hpp.html">armnn/backends/ICustomAllocator.hpp</a>></span></div> |
| 115 | <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="_i_memory_optimizer_strategy_8hpp.html">armnn/backends/IMemoryOptimizerStrategy.hpp</a>></span></div> |
| 116 | <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div> |
| 117 | <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <memory></span></div> |
| 118 | <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <map></span></div> |
| 119 | <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> |
| 120 | <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespacearm.html">arm</a></div> |
| 121 | <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div> |
| 122 | <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> |
| 123 | <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span>pipe</div> |
| 124 | <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div> |
| 125 | <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span>ILocalPacketHandler;</div> |
| 126 | <div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacearm_1_1pipe.html#a96b0827ffefa36d7ec2b4ac34a922d12"> 28</a></span> <span class="keyword">using</span> <a class="code" href="namespacearm_1_1pipe.html#a96b0827ffefa36d7ec2b4ac34a922d12">ILocalPacketHandlerSharedPtr</a> = std::shared_ptr<ILocalPacketHandler>;</div> |
| 127 | <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> } <span class="comment">// pipe</span></div> |
| 128 | <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> } <span class="comment">// arm</span></div> |
| 129 | <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div> |
| 130 | <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div> |
| 131 | <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div> |
| 132 | <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> |
| 133 | <div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec"> 35</a></span> <span class="keyword">using</span> <a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> = int;</div> |
| 134 | <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div> |
| 135 | <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span><a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a>;</div> |
| 136 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> |
| 137 | <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_runtime_impl.html">RuntimeImpl</a>;</div> |
| 138 | <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span><a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a>;</div> |
| 139 | <div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0"> 41</a></span> <span class="keyword">using</span> <a class="code" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">IRuntimePtr</a> = std::unique_ptr<<a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a>, void(*)(<a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a>* runtime)>;</div> |
| 140 | <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div> |
| 141 | <div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html"> 43</a></span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_i_network_properties.html">INetworkProperties</a></div> |
| 142 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div> |
| 143 | <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#ae5ff931b93b5ff7f59b52ef296289f96"> 45</a></span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#ae5ff931b93b5ff7f59b52ef296289f96">INetworkProperties</a>(<span class="keywordtype">bool</span> asyncEnabled,</div> |
| 144 | <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> inputSource,</div> |
| 145 | <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> outputSource,</div> |
| 146 | <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">bool</span> profilingEnabled = <span class="keyword">false</span>,</div> |
| 147 | <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a> detailsMethod = <a class="code" href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1faec0fc0100c4fc1ce4eea230c3dc10360">ProfilingDetailsMethod::Undefined</a>,</div> |
| 148 | <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">bool</span> externalMemoryManagementEnabled = <span class="keyword">false</span>)</div> |
| 149 | <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  : <a class="code" href="structarmnn_1_1_i_network_properties.html#ad3ab02a7f6310b35c59ca78b509905ca">m_AsyncEnabled</a>(asyncEnabled),</div> |
| 150 | <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#a7e26a8e7f1878d82bef452ef3531eaeb">m_ProfilingEnabled</a>(profilingEnabled),</div> |
| 151 | <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#abbc76b61436b870aed2c8592690e9a70">m_OutputNetworkDetailsMethod</a>(detailsMethod),</div> |
| 152 | <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#a53d95b257e52b0fd292ba6d40d3c5dc3">m_InputSource</a>(inputSource),</div> |
| 153 | <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#a3266436db920d1ca96b0afaadacf3972">m_OutputSource</a>(outputSource),</div> |
| 154 | <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="structarmnn_1_1_i_network_properties.html#a3c8b24dc3a0157ea817042c518bf8d87">m_ExternalMemoryManagementEnabled</a>(externalMemoryManagementEnabled)</div> |
| 155 | <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {}</div> |
| 156 | <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div> |
| 157 | <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#ad3ab02a7f6310b35c59ca78b509905ca"> 59</a></span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_network_properties.html#ad3ab02a7f6310b35c59ca78b509905ca">m_AsyncEnabled</a>;</div> |
| 158 | <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div> |
| 159 | <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#a7e26a8e7f1878d82bef452ef3531eaeb"> 61</a></span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_network_properties.html#a7e26a8e7f1878d82bef452ef3531eaeb">m_ProfilingEnabled</a>;</div> |
| 160 | <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div> |
| 161 | <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#abbc76b61436b870aed2c8592690e9a70"> 63</a></span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1f">ProfilingDetailsMethod</a> <a class="code" href="structarmnn_1_1_i_network_properties.html#abbc76b61436b870aed2c8592690e9a70">m_OutputNetworkDetailsMethod</a>;</div> |
| 162 | <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div> |
| 163 | <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#a53d95b257e52b0fd292ba6d40d3c5dc3"> 65</a></span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> <a class="code" href="structarmnn_1_1_i_network_properties.html#a53d95b257e52b0fd292ba6d40d3c5dc3">m_InputSource</a>;</div> |
| 164 | <div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#a3266436db920d1ca96b0afaadacf3972"> 66</a></span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> <a class="code" href="structarmnn_1_1_i_network_properties.html#a3266436db920d1ca96b0afaadacf3972">m_OutputSource</a>;</div> |
| 165 | <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div> |
| 166 | <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#a3c8b24dc3a0157ea817042c518bf8d87"> 68</a></span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_network_properties.html#a3c8b24dc3a0157ea817042c518bf8d87">m_ExternalMemoryManagementEnabled</a>;</div> |
| 167 | <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div> |
| 168 | <div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_network_properties.html#a043b374620881808982d513014269742"> 70</a></span>  <span class="keyword">virtual</span> <a class="code" href="structarmnn_1_1_i_network_properties.html#a043b374620881808982d513014269742">~INetworkProperties</a>() {}</div> |
| 169 | <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> };</div> |
| 170 | <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> |
| 171 | <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">using namespace </span><a class="code" href="namespacearmnn_1_1experimental.html">armnn::experimental</a>;</div> |
| 172 | <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> |
| 173 | <div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_runtime.html"> 75</a></span> <span class="keyword">class </span><a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a></div> |
| 174 | <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div> |
| 175 | <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keyword">public</span>:</div> |
| 176 | <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html"> 78</a></span>  <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a></div> |
| 177 | <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  {</div> |
| 178 | <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a899860966ff7a5d7901e5b33bcad88fd"> 80</a></span>  <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a899860966ff7a5d7901e5b33bcad88fd">CreationOptions</a>()</div> |
| 179 | <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  : m_GpuAccTunedParameters(nullptr)</div> |
| 180 | <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  , m_EnableGpuProfiling(false)</div> |
| 181 | <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  , m_DynamicBackendsPath(<span class="stringliteral">""</span>)</div> |
| 182 | <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  , m_ProtectedMode(false)</div> |
| 183 | <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  , m_CustomAllocatorMap()</div> |
| 184 | <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  , m_MemoryOptimizerStrategyMap()</div> |
| 185 | <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  {}</div> |
| 186 | <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"></span> </div> |
| 187 | <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> /// If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads.</span></div> |
| 188 | <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> /// It will also be updated with new tuned parameters if it is configured to do so.</span></div> |
| 189 | <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1"> 91</a></span> <span class="comment"></span> std::shared_ptr<IGpuAccTunedParameters> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">m_GpuAccTunedParameters</a>;</div> |
| 190 | <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"></span> </div> |
| 191 | <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> /// Setting this flag will allow the user to obtain GPU profiling information from the runtime.</span></div> |
| 192 | <div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9"> 94</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">m_EnableGpuProfiling</a>;</div> |
| 193 | <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"></span> </div> |
| 194 | <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"> /// Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive</span></div> |
| 195 | <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> /// Only a single path is allowed for the override</span></div> |
| 196 | <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> /// It defines the path to search for any [dynamic backend libraries](src/dynamic/README.md).</span></div> |
| 197 | <div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b"> 99</a></span> <span class="comment"></span> std::string <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">m_DynamicBackendsPath</a>;</div> |
| 198 | <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"></span> </div> |
| 199 | <div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> /// Setting this flag will allow the user to create the Runtime in protected mode.</span></div> |
| 200 | <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> /// It will run all the inferences on protected memory and will make sure that</span></div> |
| 201 | <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> /// INetworkProperties::m_ImportEnabled set to true with MemorySource::DmaBufProtected option</span></div> |
| 202 | <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> /// This requires that the backend supports Protected Memory and has an allocator capable of</span></div> |
| 203 | <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> /// allocating Protected Memory associated with it.</span></div> |
| 204 | <div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561"> 106</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">m_ProtectedMode</a>;</div> |
| 205 | <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"></span> </div> |
| 206 | <div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment"> /// @brief A map to define a custom memory allocator for specific backend Ids.</span></div> |
| 207 | <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> ///</span></div> |
| 208 | <div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> /// @details A Custom Allocator is used for allocation of working memory in the backends.</span></div> |
| 209 | <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment"> /// Set this if you need to take control of how memory is allocated on a backend. Required for</span></div> |
| 210 | <div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment"> /// Protected Mode in order to correctly allocate Protected Memory</span></div> |
| 211 | <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"> ///</span></div> |
| 212 | <div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment"> /// @note Only supported for GpuAcc</span></div> |
| 213 | <div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83"> 115</a></span> <span class="comment"></span> std::map<BackendId, std::shared_ptr<ICustomAllocator>> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">m_CustomAllocatorMap</a>;</div> |
| 214 | <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"></span> </div> |
| 215 | <div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> /// @brief A map to define a custom memory optimizer strategy for specific backend Ids.</span></div> |
| 216 | <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> ///</span></div> |
| 217 | <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> /// @details A Memory Optimizer Strategy provides a solution to an abstract representation of</span></div> |
| 218 | <div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"> /// a network's memory requirements. This can also be used to return a pre-computed solution</span></div> |
| 219 | <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"> /// for a specific network. Set this if you want to implement a Custom Memory Optimizer Strategy</span></div> |
| 220 | <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment"> /// for a given backend.</span></div> |
| 221 | <div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e"> 123</a></span> <span class="comment"></span> std::map<BackendId, std::shared_ptr<IMemoryOptimizerStrategy>> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">m_MemoryOptimizerStrategyMap</a>;</div> |
| 222 | <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div> |
| 223 | <div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html"> 125</a></span>  <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">ExternalProfilingOptions</a></div> |
| 224 | <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  {</div> |
| 225 | <div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad290ff73f5e32ea7e4e549d743815ff8"> 127</a></span>  <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad290ff73f5e32ea7e4e549d743815ff8">ExternalProfilingOptions</a>()</div> |
| 226 | <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  : m_EnableProfiling(false)</div> |
| 227 | <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  , m_TimelineEnabled(false)</div> |
| 228 | <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  , m_OutgoingCaptureFile(<span class="stringliteral">""</span>)</div> |
| 229 | <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  , m_IncomingCaptureFile(<span class="stringliteral">""</span>)</div> |
| 230 | <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  , m_FileOnly(false)</div> |
| 231 | <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  , m_CapturePeriod(<a class="code" href="namespacearmnn.html#a602ddc6408c3347ba4c1eba623003984">LOWEST_CAPTURE_PERIOD</a>)</div> |
| 232 | <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  , m_FileFormat(<span class="stringliteral">"binary"</span>)</div> |
| 233 | <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  , m_LocalPacketHandlers()</div> |
| 234 | <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  {}</div> |
| 235 | <div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"></span> </div> |
| 236 | <div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> /// Indicates whether external profiling is enabled or not.</span></div> |
| 237 | <div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee"> 139</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">m_EnableProfiling</a>;<span class="comment"></span></div> |
| 238 | <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> /// Indicates whether external timeline profiling is enabled or not.</span></div> |
| 239 | <div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a5b304d775657afbf1fb724af57add374"> 141</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a5b304d775657afbf1fb724af57add374">m_TimelineEnabled</a>;<span class="comment"></span></div> |
| 240 | <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> /// Path to a file in which outgoing timeline profiling messages will be stored.</span></div> |
| 241 | <div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aa0d6aa79d683bc79d20d4ddcf7db87db"> 143</a></span> <span class="comment"></span> std::string <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aa0d6aa79d683bc79d20d4ddcf7db87db">m_OutgoingCaptureFile</a>;<span class="comment"></span></div> |
| 242 | <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> /// Path to a file in which incoming timeline profiling messages will be stored.</span></div> |
| 243 | <div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a36dd18e4f73d470e3234d72198aa5fef"> 145</a></span> <span class="comment"></span> std::string <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a36dd18e4f73d470e3234d72198aa5fef">m_IncomingCaptureFile</a>;<span class="comment"></span></div> |
| 244 | <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> /// Enable profiling output to file only.</span></div> |
| 245 | <div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad8f8cb971cad412664cd7df58df7eb1e"> 147</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad8f8cb971cad412664cd7df58df7eb1e">m_FileOnly</a>;<span class="comment"></span></div> |
| 246 | <div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> /// The duration at which captured profiling messages will be flushed.</span></div> |
| 247 | <div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a2239347f38747f993c324bdd8b1eb146"> 149</a></span> <span class="comment"></span> uint32_t <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a2239347f38747f993c324bdd8b1eb146">m_CapturePeriod</a>;<span class="comment"></span></div> |
| 248 | <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> /// The format of the file used for outputting profiling data.</span></div> |
| 249 | <div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aeec9a6408083ab1b6bf7fa3e566ebe46"> 151</a></span> <span class="comment"></span> std::string <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aeec9a6408083ab1b6bf7fa3e566ebe46">m_FileFormat</a>;</div> |
| 250 | <div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#abaf0a782881de8cba2d411a09c2559fa"> 152</a></span>  std::vector<arm::pipe::ILocalPacketHandlerSharedPtr> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#abaf0a782881de8cba2d411a09c2559fa">m_LocalPacketHandlers</a>;</div> |
| 251 | <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  };</div> |
| 252 | <div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a30412a91cadff138686eaeb12f5357cc"> 154</a></span>  <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">ExternalProfilingOptions</a> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a30412a91cadff138686eaeb12f5357cc">m_ProfilingOptions</a>;</div> |
| 253 | <div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"></span> </div> |
| 254 | <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> /// Pass backend specific options.</span></div> |
| 255 | <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> ///</span></div> |
| 256 | <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> /// For example, to enable GpuAcc tuning add the following</span></div> |
| 257 | <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.cpp</span></div> |
| 258 | <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> /// m_BackendOption.emplace_back(</span></div> |
| 259 | <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> /// BackendOptions{"GpuAcc",</span></div> |
| 260 | <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> /// {</span></div> |
| 261 | <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> /// {"TuningLevel", 2},</span></div> |
| 262 | <div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> /// {"TuningFile", filename}</span></div> |
| 263 | <div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> /// {"MemoryOptimizerStrategy", strategyname}</span></div> |
| 264 | <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> /// }</span></div> |
| 265 | <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"> /// });</span></div> |
| 266 | <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></div> |
| 267 | <div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> /// Execute representative workloads through the runtime to generate tuning data.</span></div> |
| 268 | <div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> /// The tuning file is written once the runtime is destroyed</span></div> |
| 269 | <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"></span><span class="comment"></span> </div> |
| 270 | <div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="comment"> /// To execute with the tuning data, start up with just the tuning file specified.</span></div> |
| 271 | <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.cpp</span></div> |
| 272 | <div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> /// m_BackendOption.emplace_back(</span></div> |
| 273 | <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> /// BackendOptions{"GpuAcc",</span></div> |
| 274 | <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> /// {</span></div> |
| 275 | <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> /// {"TuningFile", filename}</span></div> |
| 276 | <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> /// }</span></div> |
| 277 | <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> /// });</span></div> |
| 278 | <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></div> |
| 279 | <div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"></span><span class="comment"></span> </div> |
| 280 | <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> /// The following backend options are available:</span></div> |
| 281 | <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> /// AllBackends:</span></div> |
| 282 | <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> /// "MemoryOptimizerStrategy" : string [stategynameString]</span></div> |
| 283 | <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> /// (Existing Memory Optimizer Strategies: ConstantMemoryStrategy)</span></div> |
| 284 | <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"> /// GpuAcc:</span></div> |
| 285 | <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="comment"> /// "TuningLevel" : int [0..3] (0=UseOnly(default) | 1=RapidTuning | 2=NormalTuning | 3=ExhaustiveTuning)</span></div> |
| 286 | <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> /// "TuningFile" : string [filenameString]</span></div> |
| 287 | <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment"> /// "KernelProfilingEnabled" : bool [true | false]</span></div> |
| 288 | <div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#aecebc69597fe0d38a3964031c6eeb0a8"> 190</a></span> <span class="comment"></span> std::vector<BackendOptions> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#aecebc69597fe0d38a3964031c6eeb0a8">m_BackendOptions</a>;</div> |
| 289 | <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  };</div> |
| 290 | <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div> |
| 291 | <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">static</span> <a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a>* CreateRaw(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a>& options);</div> |
| 292 | <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">static</span> <a class="code" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">IRuntimePtr</a> Create(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a>& options);</div> |
| 293 | <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> Destroy(<a class="code" href="classarmnn_1_1_i_runtime.html">IRuntime</a>* runtime);</div> |
| 294 | <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"></span> </div> |
| 295 | <div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"> /// Loads a complete network into the IRuntime.</span></div> |
| 296 | <div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> /// @param [out] networkIdOut - Unique identifier for the network is returned in this reference.</span></div> |
| 297 | <div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"> /// @param [in] network - Complete network to load into the IRuntime.</span></div> |
| 298 | <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"> /// The runtime takes ownership of the network once passed in.</span></div> |
| 299 | <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> /// @return armnn::Status</span></div> |
| 300 | <div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment"></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut, <a class="code" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network);</div> |
| 301 | <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"></span> </div> |
| 302 | <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> /// Load a complete network into the IRuntime.</span></div> |
| 303 | <div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment"> /// @param [out] networkIdOut Unique identifier for the network is returned in this reference.</span></div> |
| 304 | <div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"> /// @param [in] network Complete network to load into the IRuntime.</span></div> |
| 305 | <div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> /// @param [out] errorMessage Error message if there were any errors.</span></div> |
| 306 | <div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="comment"> /// The runtime takes ownership of the network once passed in.</span></div> |
| 307 | <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> /// @return armnn::Status</span></div> |
| 308 | <div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut,</div> |
| 309 | <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> |
| 310 | <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  std::string& errorMessage);</div> |
| 311 | <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div> |
| 312 | <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut,</div> |
| 313 | <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> |
| 314 | <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  std::string& errorMessage,</div> |
| 315 | <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_network_properties.html">INetworkProperties</a>& networkProperties);</div> |
| 316 | <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div> |
| 317 | <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> GetInputTensorInfo(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <a class="code" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) <span class="keyword">const</span>;</div> |
| 318 | <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> GetOutputTensorInfo(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <a class="code" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) <span class="keyword">const</span>;</div> |
| 319 | <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"></span> </div> |
| 320 | <div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment"> /// ImportInputs separates the importing and mapping of InputTensors from network execution.</span></div> |
| 321 | <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"> /// Allowing for a set of InputTensors to be imported and mapped once, but used in execution many times.</span></div> |
| 322 | <div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> /// This function is not thread safe and must not be used while other threads are calling Execute().</span></div> |
| 323 | <div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"> /// No exceptions are thrown for failed imports. It is the caller's responsibility to check whether</span></div> |
| 324 | <div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment"> /// tensors have been successfully imported by comparing returned ids with those passed in the InputTensors.</span></div> |
| 325 | <div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> /// Whether a tensor can be imported or not is backend specific.</span></div> |
| 326 | <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"></span> std::vector<ImportedInputId> ImportInputs(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> |
| 327 | <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> forceImportMemorySource = <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>);</div> |
| 328 | <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"></span> </div> |
| 329 | <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment"> /// ImportOutputs separates the importing and mapping of OutputTensors from network execution.</span></div> |
| 330 | <div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment"> /// Allowing for a set of OutputTensors to be imported and mapped once, but used in execution many times.</span></div> |
| 331 | <div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment"> /// This function is not thread safe and must not be used while other threads are calling Execute().</span></div> |
| 332 | <div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment"> /// No exceptions are thrown for failed imports. It is the caller's responsibility to check whether</span></div> |
| 333 | <div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment"> /// tensors have been successfully imported by comparing returned ids with those passed in the OutputTensors.</span></div> |
| 334 | <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment"> /// Whether a tensor can be imported or not is backend specific.</span></div> |
| 335 | <div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment"></span> std::vector<ImportedOutputId> ImportOutputs(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> |
| 336 | <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> forceImportMemorySource = <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>);</div> |
| 337 | <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"></span> </div> |
| 338 | <div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment"> /// Un-import and delete the imported InputTensor/s</span></div> |
| 339 | <div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"> /// This function is not thread safe and must not be used while other threads are calling Execute().</span></div> |
| 340 | <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> /// Only compatible with AsyncEnabled networks</span></div> |
| 341 | <div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment"></span> <span class="keywordtype">void</span> ClearImportedInputs(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> std::vector<ImportedInputId> inputIds);</div> |
| 342 | <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"></span> </div> |
| 343 | <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"> /// Un-import and delete the imported OutputTensor/s</span></div> |
| 344 | <div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> /// This function is not thread safe and must not be used while other threads are calling Execute().</span></div> |
| 345 | <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> /// Only compatible with AsyncEnabled networks</span></div> |
| 346 | <div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"></span> <span class="keywordtype">void</span> ClearImportedOutputs(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> std::vector<ImportedOutputId> outputIds);</div> |
| 347 | <div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"></span> </div> |
| 348 | <div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> /// Evaluates a network using input in inputTensors and outputs filled into outputTensors</span></div> |
| 349 | <div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="comment"></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> EnqueueWorkload(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId,</div> |
| 350 | <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> |
| 351 | <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> |
| 352 | <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  std::vector<ImportedInputId> preImportedInputIds = {},</div> |
| 353 | <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  std::vector<ImportedOutputId> preImportedOutputIds = {});</div> |
| 354 | <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment"></span> </div> |
| 355 | <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment"> /// This is an experimental function.</span></div> |
| 356 | <div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment"> /// Evaluates a network using input in inputTensors and outputs filled into outputTensors.</span></div> |
| 357 | <div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment"> /// This function performs a thread safe execution of the network. Returns once execution is complete.</span></div> |
| 358 | <div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment"> /// Will block until this and any other thread using the same workingMem object completes.</span></div> |
| 359 | <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment"></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> Execute(<a class="code" href="classarmnn_1_1experimental_1_1_i_working_mem_handle.html">IWorkingMemHandle</a>& workingMemHandle,</div> |
| 360 | <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> |
| 361 | <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> |
| 362 | <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  std::vector<ImportedInputId> preImportedInputs = {},</div> |
| 363 | <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  std::vector<ImportedOutputId> preImportedOutputs = {});</div> |
| 364 | <div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment"></span> </div> |
| 365 | <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment"> /// Unloads a network from the IRuntime.</span></div> |
| 366 | <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="comment"> /// At the moment this only removes the network from the m_Impl->m_Network.</span></div> |
| 367 | <div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="comment"> /// This might need more work in the future to be AndroidNN compliant.</span></div> |
| 368 | <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment"> /// @param [in] networkId - Unique identifier for the network to be unloaded. Generated in LoadNetwork().</span></div> |
| 369 | <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"> /// @return armnn::Status</span></div> |
| 370 | <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment"></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> UnloadNetwork(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId);</div> |
| 371 | <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  </div> |
| 372 | <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keyword">const</span> IDeviceSpec& GetDeviceSpec() <span class="keyword">const</span>;</div> |
| 373 | <div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment"></span> </div> |
| 374 | <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment"> /// Create a new unique WorkingMemHandle object. Create multiple handles if you wish to have</span></div> |
| 375 | <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment"> /// overlapped Execution by calling this function from different threads.</span></div> |
| 376 | <div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment"></span> std::unique_ptr<IWorkingMemHandle> CreateWorkingMemHandle(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId);</div> |
| 377 | <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment"></span> </div> |
| 378 | <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment"> /// Gets the profiler corresponding to the given network id.</span></div> |
| 379 | <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment"> /// @param networkId The id of the network for which to get the profile.</span></div> |
| 380 | <div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="comment"> /// @return A pointer to the requested profiler, or nullptr if not found.</span></div> |
| 381 | <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="comment"></span> <span class="keyword">const</span> std::shared_ptr<IProfiler> GetProfiler(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId) <span class="keyword">const</span>;</div> |
| 382 | <div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="comment"></span> </div> |
| 383 | <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment"> /// Registers a callback function to debug layers performing custom computations on intermediate tensors.</span></div> |
| 384 | <div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> /// @param networkId The id of the network to register the callback.</span></div> |
| 385 | <div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> /// @param func callback function to pass to the debug layer.</span></div> |
| 386 | <div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment"></span> <span class="keywordtype">void</span> RegisterDebugCallback(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#a15f3ad9b5e4e3d46b0a6dda246a7bc28">DebugCallbackFunction</a>& func);</div> |
| 387 | <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div> |
| 388 | <div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="keyword">protected</span>:</div> |
| 389 | <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  IRuntime();</div> |
| 390 | <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  IRuntime(<span class="keyword">const</span> IRuntime::CreationOptions& options);</div> |
| 391 | <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  ~IRuntime();</div> |
| 392 | <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div> |
| 393 | <div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_runtime.html#a92dbd7245696596a2c8e831de26cec02"> 295</a></span>  std::unique_ptr<RuntimeImpl> <a class="code" href="classarmnn_1_1_i_runtime.html#a92dbd7245696596a2c8e831de26cec02">pRuntimeImpl</a>;</div> |
| 394 | <div class="line"><a name="l00296"></a><span class="lineno"> 296</span> };</div> |
| 395 | <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  </div> |
| 396 | <div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="comment"></span> </div> |
| 397 | <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment">/// The following API is replaced by the backend options API.</span></div> |
| 398 | <div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="namespacearmnn.html#a2d3a708a26ac6d77bf8f15506e89a25a"> 300</a></span> <span class="comment"></span><span class="keyword">using</span> <a class="code" href="namespacearmnn.html#a2d3a708a26ac6d77bf8f15506e89a25a">IGpuAccTunedParametersPtr</a> = std::shared_ptr<IGpuAccTunedParameters>;</div> |
| 399 | <div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="comment"></span> </div> |
| 400 | <div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="comment">/// Manages a set of GpuAcc parameters which have been tuned for maximum performance.</span></div> |
| 401 | <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="comment">/// Passes an instance of this object to the IRuntime::Create() method (via IRuntime::CreationOptions) to use it</span></div> |
| 402 | <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment">/// for all GPU workload execution.</span></div> |
| 403 | <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="comment">///</span></div> |
| 404 | <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="comment">/// Can be created in two modes:</span></div> |
| 405 | <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="comment">/// - In UseTunedParameters mode, the parameters stored in this object are used to execute GPU workloads.</span></div> |
| 406 | <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="comment">/// - In UpdateTunedParameters mode, additionally, whenever a GPU workload is executed for the first time, the</span></div> |
| 407 | <div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment">/// optimum parameters will be found and stored in this object. WARNING - This tuning can be slow.</span></div> |
| 408 | <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment">///</span></div> |
| 409 | <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment">/// The parameters can be loaded from and saved to a file so that you can first run a slow initial read-write</span></div> |
| 410 | <div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="comment">/// execution, save the parameters for later and then run fast read-only executions using the optimised parameters.</span></div> |
| 411 | <div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html"> 313</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a></div> |
| 412 | <div class="line"><a name="l00314"></a><span class="lineno"> 314</span> {</div> |
| 413 | <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="keyword">public</span>:</div> |
| 414 | <div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a46c8a310cf4c094f8c80e1cb8dc1f911"> 316</a></span>  <span class="keyword">enum class</span> <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a></div> |
| 415 | <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  {</div> |
| 416 | <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  UseTunedParameters,</div> |
| 417 | <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  UpdateTunedParameters</div> |
| 418 | <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  };</div> |
| 419 | <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  </div> |
| 420 | <div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a707090747256af276c389e0cf1cb0a9a"> 322</a></span>  <span class="keyword">enum class</span> <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a></div> |
| 421 | <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  {</div> |
| 422 | <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aab571ef5b2664270d25bea4f4b61ffe68">Rapid</a> = 1,</div> |
| 423 | <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aa960b44c579bc2f6818d2daaf9e4c16f0">Normal</a> = 2,</div> |
| 424 | <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aafaf34f09ea1e93bfbf591e19dc0dfb9f">Exhaustive</a> = 3</div> |
| 425 | <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  };</div> |
| 426 | <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment"></span> </div> |
| 427 | <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment"> /// Creates an IClTunedParameters with the given mode.</span></div> |
| 428 | <div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment"> /// @{</span></div> |
| 429 | <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment"></span> <span class="keyword">static</span> <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a>* CreateRaw(Mode mode, <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> tunerMode);</div> |
| 430 | <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keyword">static</span> <a class="code" href="namespacearmnn.html#a2d3a708a26ac6d77bf8f15506e89a25a">IGpuAccTunedParametersPtr</a> Create(Mode mode, <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> tunerMode);<span class="comment"></span></div> |
| 431 | <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment"> /// @}</span></div> |
| 432 | <div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment"></span> <span class="keyword">static</span> <span class="keywordtype">void</span> Destroy(<a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a>* params);</div> |
| 433 | <div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="comment"></span> </div> |
| 434 | <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment"> /// Loads an existing set of tuned parameters from the given file.</span></div> |
| 435 | <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment"> /// If there is an error loading the file, an armnn::Exception is thrown.</span></div> |
| 436 | <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> Load(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename) = 0;</div> |
| 437 | <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment"></span> </div> |
| 438 | <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment"> /// Saves the current set of tuned parameters to the given file.</span></div> |
| 439 | <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment"> /// If there is an error saving to the file, an armnn::Exception is thrown.</span></div> |
| 440 | <div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> Save(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename) <span class="keyword">const</span> = 0;</div> |
| 441 | <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div> |
| 442 | <div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="keyword">protected</span>:</div> |
| 443 | <div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a42b98f24092313b6a7673b54a3a84aa4"> 345</a></span>  <span class="keyword">virtual</span> <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a42b98f24092313b6a7673b54a3a84aa4">~IGpuAccTunedParameters</a>() {};</div> |
| 444 | <div class="line"><a name="l00346"></a><span class="lineno"> 346</span> };</div> |
| 445 | <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  </div> |
| 446 | <div class="line"><a name="l00348"></a><span class="lineno"> 348</span> } <span class="comment">// namespace armnn</span></div> |
| 447 | </div><!-- fragment --></div><!-- contents --> |
| 448 | </div><!-- doc-content --> |
| 449 | <div class="ttc" id="anamespacearmnn_html_a707090747256af276c389e0cf1cb0a9aafaf34f09ea1e93bfbf591e19dc0dfb9f"><div class="ttname"><a href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aafaf34f09ea1e93bfbf591e19dc0dfb9f">armnn::TuningLevel::Exhaustive</a></div><div class="ttdeci">@ Exhaustive</div></div> |
| 450 | <div class="ttc" id="aclassarmnn_1_1_i_gpu_acc_tuned_parameters_html_a46c8a310cf4c094f8c80e1cb8dc1f911"><div class="ttname"><a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a46c8a310cf4c094f8c80e1cb8dc1f911">armnn::IGpuAccTunedParameters::Mode</a></div><div class="ttdeci">Mode</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00316">IRuntime.hpp:316</a></div></div> |
| 451 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_a043b374620881808982d513014269742"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#a043b374620881808982d513014269742">armnn::INetworkProperties::~INetworkProperties</a></div><div class="ttdeci">virtual ~INetworkProperties()</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00070">IRuntime.hpp:70</a></div></div> |
| 452 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_abaf0a782881de8cba2d411a09c2559fa"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#abaf0a782881de8cba2d411a09c2559fa">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_LocalPacketHandlers</a></div><div class="ttdeci">std::vector< arm::pipe::ILocalPacketHandlerSharedPtr > m_LocalPacketHandlers</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00152">IRuntime.hpp:152</a></div></div> |
| 453 | <div class="ttc" id="anamespacearmnn_html_a674efcf6cbdb9e831d653ff0e821fb38"><div class="ttname"><a href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">armnn::IOptimizedNetworkPtr</a></div><div class="ttdeci">std::unique_ptr< IOptimizedNetwork, void(*)(IOptimizedNetwork *network)> IOptimizedNetworkPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00340">INetwork.hpp:340</a></div></div> |
| 454 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_ad3ab02a7f6310b35c59ca78b509905ca"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#ad3ab02a7f6310b35c59ca78b509905ca">armnn::INetworkProperties::m_AsyncEnabled</a></div><div class="ttdeci">const bool m_AsyncEnabled</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00059">IRuntime.hpp:59</a></div></div> |
| 455 | <div class="ttc" id="anamespacearm_html"><div class="ttname"><a href="namespacearm.html">arm</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_registry_8hpp_source.html#l00015">BackendRegistry.hpp:15</a></div></div> |
| 456 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_ad8f8cb971cad412664cd7df58df7eb1e"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad8f8cb971cad412664cd7df58df7eb1e">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_FileOnly</a></div><div class="ttdeci">bool m_FileOnly</div><div class="ttdoc">Enable profiling output to file only.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00147">IRuntime.hpp:147</a></div></div> |
| 457 | <div class="ttc" id="aclassarmnn_1_1_i_gpu_acc_tuned_parameters_html_a42b98f24092313b6a7673b54a3a84aa4"><div class="ttname"><a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a42b98f24092313b6a7673b54a3a84aa4">armnn::IGpuAccTunedParameters::~IGpuAccTunedParameters</a></div><div class="ttdeci">virtual ~IGpuAccTunedParameters()</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00345">IRuntime.hpp:345</a></div></div> |
| 458 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_a53d95b257e52b0fd292ba6d40d3c5dc3"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#a53d95b257e52b0fd292ba6d40d3c5dc3">armnn::INetworkProperties::m_InputSource</a></div><div class="ttdeci">const MemorySource m_InputSource</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00065">IRuntime.hpp:65</a></div></div> |
| 459 | <div class="ttc" id="a_i_memory_optimizer_strategy_8hpp_html"><div class="ttname"><a href="_i_memory_optimizer_strategy_8hpp.html">IMemoryOptimizerStrategy.hpp</a></div></div> |
| 460 | <div class="ttc" id="anamespacearmnn_html_aa01bce88f89975a5a031db4cc8861527"><div class="ttname"><a href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00394">Tensor.hpp:394</a></div></div> |
| 461 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a899860966ff7a5d7901e5b33bcad88fd"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a899860966ff7a5d7901e5b33bcad88fd">armnn::IRuntime::CreationOptions::CreationOptions</a></div><div class="ttdeci">CreationOptions()</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00080">IRuntime.hpp:80</a></div></div> |
| 462 | <div class="ttc" id="a_types_utils_8hpp_html"><div class="ttname"><a href="_types_utils_8hpp.html">TypesUtils.hpp</a></div></div> |
| 463 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">armnn::IRuntime::CreationOptions::ExternalProfilingOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00125">IRuntime.hpp:125</a></div></div> |
| 464 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_ae43cf4b5df0068ee6a9151c98947248b"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">armnn::IRuntime::CreationOptions::m_DynamicBackendsPath</a></div><div class="ttdeci">std::string m_DynamicBackendsPath</div><div class="ttdoc">Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive Only a...</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00099">IRuntime.hpp:99</a></div></div> |
| 465 | <div class="ttc" id="a_i_async_execution_callback_8hpp_html"><div class="ttname"><a href="_i_async_execution_callback_8hpp.html">IAsyncExecutionCallback.hpp</a></div></div> |
| 466 | <div class="ttc" id="aclassarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00152">Tensor.hpp:152</a></div></div> |
| 467 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_a7e26a8e7f1878d82bef452ef3531eaeb"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#a7e26a8e7f1878d82bef452ef3531eaeb">armnn::INetworkProperties::m_ProfilingEnabled</a></div><div class="ttdeci">const bool m_ProfilingEnabled</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00061">IRuntime.hpp:61</a></div></div> |
| 468 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_a3c8b24dc3a0157ea817042c518bf8d87"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#a3c8b24dc3a0157ea817042c518bf8d87">armnn::INetworkProperties::m_ExternalMemoryManagementEnabled</a></div><div class="ttdeci">const bool m_ExternalMemoryManagementEnabled</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00068">IRuntime.hpp:68</a></div></div> |
| 469 | <div class="ttc" id="aclassarmnn_1_1_i_gpu_acc_tuned_parameters_html_a707090747256af276c389e0cf1cb0a9a"><div class="ttname"><a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a707090747256af276c389e0cf1cb0a9a">armnn::IGpuAccTunedParameters::TuningLevel</a></div><div class="ttdeci">TuningLevel</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00322">IRuntime.hpp:322</a></div></div> |
| 470 | <div class="ttc" id="a_i_custom_allocator_8hpp_html"><div class="ttname"><a href="_i_custom_allocator_8hpp.html">ICustomAllocator.hpp</a></div></div> |
| 471 | <div class="ttc" id="anamespacearmnn_html_a8f091a512915d1cb29a4ebf13dfc53ea"><div class="ttname"><a href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00395">Tensor.hpp:395</a></div></div> |
| 472 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a36dd18e4f73d470e3234d72198aa5fef"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a36dd18e4f73d470e3234d72198aa5fef">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_IncomingCaptureFile</a></div><div class="ttdeci">std::string m_IncomingCaptureFile</div><div class="ttdoc">Path to a file in which incoming timeline profiling messages will be stored.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00145">IRuntime.hpp:145</a></div></div> |
| 473 | <div class="ttc" id="aclassarmnn_1_1experimental_1_1_i_working_mem_handle_html"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_i_working_mem_handle.html">armnn::experimental::IWorkingMemHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_working_mem_handle_8hpp_source.html#l00020">IWorkingMemHandle.hpp:20</a></div></div> |
| 474 | <div class="ttc" id="aclassarmnn_1_1_i_runtime_html"><div class="ttname"><a href="classarmnn_1_1_i_runtime.html">armnn::IRuntime</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00075">IRuntime.hpp:75</a></div></div> |
| 475 | <div class="ttc" id="anamespacearmnn_html_a602ddc6408c3347ba4c1eba623003984"><div class="ttname"><a href="namespacearmnn.html#a602ddc6408c3347ba4c1eba623003984">armnn::LOWEST_CAPTURE_PERIOD</a></div><div class="ttdeci">constexpr unsigned int LOWEST_CAPTURE_PERIOD</div><div class="ttdoc">The lowest performance data capture interval we support is 10 miliseconds.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00034">Types.hpp:34</a></div></div> |
| 476 | <div class="ttc" id="anamespacearmnn_html_ae060224135f57f926cbda9d2732a2b1faec0fc0100c4fc1ce4eea230c3dc10360"><div class="ttname"><a href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1faec0fc0100c4fc1ce4eea230c3dc10360">armnn::ProfilingDetailsMethod::Undefined</a></div><div class="ttdeci">@ Undefined</div></div> |
| 477 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a5b304d775657afbf1fb724af57add374"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a5b304d775657afbf1fb724af57add374">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_TimelineEnabled</a></div><div class="ttdeci">bool m_TimelineEnabled</div><div class="ttdoc">Indicates whether external timeline profiling is enabled or not.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00141">IRuntime.hpp:141</a></div></div> |
| 478 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a2239347f38747f993c324bdd8b1eb146"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a2239347f38747f993c324bdd8b1eb146">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_CapturePeriod</a></div><div class="ttdeci">uint32_t m_CapturePeriod</div><div class="ttdoc">The duration at which captured profiling messages will be flushed.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00149">IRuntime.hpp:149</a></div></div> |
| 479 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_abbc76b61436b870aed2c8592690e9a70"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#abbc76b61436b870aed2c8592690e9a70">armnn::INetworkProperties::m_OutputNetworkDetailsMethod</a></div><div class="ttdeci">const ProfilingDetailsMethod m_OutputNetworkDetailsMethod</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00063">IRuntime.hpp:63</a></div></div> |
| 480 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_aeec9a6408083ab1b6bf7fa3e566ebe46"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aeec9a6408083ab1b6bf7fa3e566ebe46">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_FileFormat</a></div><div class="ttdeci">std::string m_FileFormat</div><div class="ttdoc">The format of the file used for outputting profiling data.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00151">IRuntime.hpp:151</a></div></div> |
| 481 | <div class="ttc" id="anamespacearmnn_html_a0d8160388a127c1a23b37bc88dc6e2ec"><div class="ttname"><a href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">armnn::NetworkId</a></div><div class="ttdeci">int NetworkId</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00035">IRuntime.hpp:35</a></div></div> |
| 482 | <div class="ttc" id="a_i_network_8hpp_html"><div class="ttname"><a href="_i_network_8hpp.html">INetwork.hpp</a></div></div> |
| 483 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_aecebc69597fe0d38a3964031c6eeb0a8"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#aecebc69597fe0d38a3964031c6eeb0a8">armnn::IRuntime::CreationOptions::m_BackendOptions</a></div><div class="ttdeci">std::vector< BackendOptions > m_BackendOptions</div><div class="ttdoc">Pass backend specific options.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00190">IRuntime.hpp:190</a></div></div> |
| 484 | <div class="ttc" id="anamespacearmnn_html_a150468a02bd7b2d2d061c4aaaee939f0"><div class="ttname"><a href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">armnn::IRuntimePtr</a></div><div class="ttdeci">std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00041">IRuntime.hpp:41</a></div></div> |
| 485 | <div class="ttc" id="anamespacearmnn_html_a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360"><div class="ttname"><a href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277aec0fc0100c4fc1ce4eea230c3dc10360">armnn::MemorySource::Undefined</a></div><div class="ttdeci">@ Undefined</div></div> |
| 486 | <div class="ttc" id="anamespacearmnn_1_1experimental_html"><div class="ttname"><a href="namespacearmnn_1_1experimental.html">armnn::experimental</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_workload_8hpp_source.html#l00013">IWorkload.hpp:13</a></div></div> |
| 487 | <div class="ttc" id="anamespacearmnn_html_ab8cf8f9fb6792e654c2d8d8382f6f01b"><div class="ttname"><a href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">armnn::LayerBindingId</a></div><div class="ttdeci">int LayerBindingId</div><div class="ttdoc">Type of identifiers for bindable layers (inputs, outputs).</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00309">Types.hpp:309</a></div></div> |
| 488 | <div class="ttc" id="a_i_profiler_8hpp_html"><div class="ttname"><a href="_i_profiler_8hpp.html">IProfiler.hpp</a></div></div> |
| 489 | <div class="ttc" id="anamespacearmnn_html_ae060224135f57f926cbda9d2732a2b1f"><div class="ttname"><a href="namespacearmnn.html#ae060224135f57f926cbda9d2732a2b1f">armnn::ProfilingDetailsMethod</a></div><div class="ttdeci">ProfilingDetailsMethod</div><div class="ttdoc">Define the behaviour of the internal profiler when outputting network details.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00071">Types.hpp:71</a></div></div> |
| 490 | <div class="ttc" id="anamespacearm_1_1pipe_html_a96b0827ffefa36d7ec2b4ac34a922d12"><div class="ttname"><a href="namespacearm_1_1pipe.html#a96b0827ffefa36d7ec2b4ac34a922d12">arm::pipe::ILocalPacketHandlerSharedPtr</a></div><div class="ttdeci">std::shared_ptr< ILocalPacketHandler > ILocalPacketHandlerSharedPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00028">IRuntime.hpp:28</a></div></div> |
| 491 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html">armnn::INetworkProperties</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00043">IRuntime.hpp:43</a></div></div> |
| 492 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_ad290ff73f5e32ea7e4e549d743815ff8"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#ad290ff73f5e32ea7e4e549d743815ff8">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::ExternalProfilingOptions</a></div><div class="ttdeci">ExternalProfilingOptions()</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00127">IRuntime.hpp:127</a></div></div> |
| 493 | <div class="ttc" id="anamespacearmnn_html_a707090747256af276c389e0cf1cb0a9aab571ef5b2664270d25bea4f4b61ffe68"><div class="ttname"><a href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aab571ef5b2664270d25bea4f4b61ffe68">armnn::TuningLevel::Rapid</a></div><div class="ttdeci">@ Rapid</div></div> |
| 494 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_ad89c99e4063390ba824022c60b885561"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">armnn::IRuntime::CreationOptions::m_ProtectedMode</a></div><div class="ttdeci">bool m_ProtectedMode</div><div class="ttdoc">Setting this flag will allow the user to create the Runtime in protected mode.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00106">IRuntime.hpp:106</a></div></div> |
| 495 | <div class="ttc" id="anamespacearmnn_html_a707090747256af276c389e0cf1cb0a9aa960b44c579bc2f6818d2daaf9e4c16f0"><div class="ttname"><a href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aa960b44c579bc2f6818d2daaf9e4c16f0">armnn::TuningLevel::Normal</a></div><div class="ttdeci">@ Normal</div></div> |
| 496 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a30412a91cadff138686eaeb12f5357cc"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a30412a91cadff138686eaeb12f5357cc">armnn::IRuntime::CreationOptions::m_ProfilingOptions</a></div><div class="ttdeci">ExternalProfilingOptions m_ProfilingOptions</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00154">IRuntime.hpp:154</a></div></div> |
| 497 | <div class="ttc" id="a_tensor_8hpp_html"><div class="ttname"><a href="_tensor_8hpp.html">Tensor.hpp</a></div></div> |
| 498 | <div class="ttc" id="anamespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00042">Types.hpp:42</a></div></div> |
| 499 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html">armnn::IRuntime::CreationOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00078">IRuntime.hpp:78</a></div></div> |
| 500 | <div class="ttc" id="anamespacearmnn_html_a15f3ad9b5e4e3d46b0a6dda246a7bc28"><div class="ttname"><a href="namespacearmnn.html#a15f3ad9b5e4e3d46b0a6dda246a7bc28">armnn::DebugCallbackFunction</a></div><div class="ttdeci">std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction</div><div class="ttdoc">Define the type of callback for the Debug layer to call.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00398">Types.hpp:398</a></div></div> |
| 501 | <div class="ttc" id="anamespacearmnn_html_a14fcd7f88d11cea0a018269dca5f9277"><div class="ttname"><a href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">armnn::MemorySource</a></div><div class="ttdeci">MemorySource</div><div class="ttdoc">Define the Memory Source to reduce copies.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00244">Types.hpp:244</a></div></div> |
| 502 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_ae5ff931b93b5ff7f59b52ef296289f96"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#ae5ff931b93b5ff7f59b52ef296289f96">armnn::INetworkProperties::INetworkProperties</a></div><div class="ttdeci">INetworkProperties(bool asyncEnabled, MemorySource inputSource, MemorySource outputSource, bool profilingEnabled=false, ProfilingDetailsMethod detailsMethod=ProfilingDetailsMethod::Undefined, bool externalMemoryManagementEnabled=false)</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00045">IRuntime.hpp:45</a></div></div> |
| 503 | <div class="ttc" id="a_backend_options_8hpp_html"><div class="ttname"><a href="_backend_options_8hpp.html">BackendOptions.hpp</a></div></div> |
| 504 | <div class="ttc" id="astructarmnn_1_1_runtime_impl_html"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.html">armnn::RuntimeImpl</a></div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.html#l00030">Runtime.hpp:30</a></div></div> |
| 505 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a6e8601cb2ffa03a83dbfae67b598ba4e"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">armnn::IRuntime::CreationOptions::m_MemoryOptimizerStrategyMap</a></div><div class="ttdeci">std::map< BackendId, std::shared_ptr< IMemoryOptimizerStrategy > > m_MemoryOptimizerStrategyMap</div><div class="ttdoc">A map to define a custom memory optimizer strategy for specific backend Ids.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00123">IRuntime.hpp:123</a></div></div> |
| 506 | <div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div> |
| 507 | <div class="ttc" id="a_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div> |
| 508 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_aa0d6aa79d683bc79d20d4ddcf7db87db"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#aa0d6aa79d683bc79d20d4ddcf7db87db">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_OutgoingCaptureFile</a></div><div class="ttdeci">std::string m_OutgoingCaptureFile</div><div class="ttdoc">Path to a file in which outgoing timeline profiling messages will be stored.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00143">IRuntime.hpp:143</a></div></div> |
| 509 | <div class="ttc" id="anamespacearmnn_html_a2d3a708a26ac6d77bf8f15506e89a25a"><div class="ttname"><a href="namespacearmnn.html#a2d3a708a26ac6d77bf8f15506e89a25a">armnn::IGpuAccTunedParametersPtr</a></div><div class="ttdeci">std::shared_ptr< IGpuAccTunedParameters > IGpuAccTunedParametersPtr</div><div class="ttdoc">The following API is replaced by the backend options API.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00300">IRuntime.hpp:300</a></div></div> |
| 510 | <div class="ttc" id="anamespacearmnn_html_a707090747256af276c389e0cf1cb0a9a"><div class="ttname"><a href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9a">armnn::TuningLevel</a></div><div class="ttdeci">TuningLevel</div><div class="ttdef"><b>Definition:</b> <a href="_arm_compute_tuning_utils_8hpp_source.html#l00018">ArmComputeTuningUtils.hpp:18</a></div></div> |
| 511 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a515d755116f35e5b3ab30b7a78a712f1"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">armnn::IRuntime::CreationOptions::m_GpuAccTunedParameters</a></div><div class="ttdeci">std::shared_ptr< IGpuAccTunedParameters > m_GpuAccTunedParameters</div><div class="ttdoc">If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00091">IRuntime.hpp:91</a></div></div> |
| 512 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a939528f239e70c85f833c87c5fe41d83"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">armnn::IRuntime::CreationOptions::m_CustomAllocatorMap</a></div><div class="ttdeci">std::map< BackendId, std::shared_ptr< ICustomAllocator > > m_CustomAllocatorMap</div><div class="ttdoc">A map to define a custom memory allocator for specific backend Ids.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00115">IRuntime.hpp:115</a></div></div> |
| 513 | <div class="ttc" id="aclassarmnn_1_1_i_runtime_html_a92dbd7245696596a2c8e831de26cec02"><div class="ttname"><a href="classarmnn_1_1_i_runtime.html#a92dbd7245696596a2c8e831de26cec02">armnn::IRuntime::pRuntimeImpl</a></div><div class="ttdeci">std::unique_ptr< RuntimeImpl > pRuntimeImpl</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00295">IRuntime.hpp:295</a></div></div> |
| 514 | <div class="ttc" id="astructarmnn_1_1_i_network_properties_html_a3266436db920d1ca96b0afaadacf3972"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.html#a3266436db920d1ca96b0afaadacf3972">armnn::INetworkProperties::m_OutputSource</a></div><div class="ttdeci">const MemorySource m_OutputSource</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00066">IRuntime.hpp:66</a></div></div> |
| 515 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options_html_a26d42007440bb01a1a6d0ab3b5a657ee"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html#a26d42007440bb01a1a6d0ab3b5a657ee">armnn::IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling</a></div><div class="ttdeci">bool m_EnableProfiling</div><div class="ttdoc">Indicates whether external profiling is enabled or not.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00139">IRuntime.hpp:139</a></div></div> |
| 516 | <div class="ttc" id="aclassarmnn_1_1_i_gpu_acc_tuned_parameters_html"><div class="ttname"><a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">armnn::IGpuAccTunedParameters</a></div><div class="ttdoc">Manages a set of GpuAcc parameters which have been tuned for maximum performance.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00313">IRuntime.hpp:313</a></div></div> |
| 517 | <div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a2fe8c3eadf4f4f9c0c664a24a2a298f9"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">armnn::IRuntime::CreationOptions::m_EnableGpuProfiling</a></div><div class="ttdeci">bool m_EnableGpuProfiling</div><div class="ttdoc">Setting this flag will allow the user to obtain GPU profiling information from the runtime.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00094">IRuntime.hpp:94</a></div></div> |
| 518 | <div class="ttc" id="a_i_working_mem_handle_8hpp_html"><div class="ttname"><a href="_i_working_mem_handle_8hpp.html">IWorkingMemHandle.hpp</a></div></div> |
| 519 | <!-- start footer part --> |
| 520 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 521 | <ul> |
| 522 | <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_2b72cc348e06937955e62ebdd8a13436.html">armnn</a></li><li class="navelem"><a class="el" href="_i_runtime_8hpp.html">IRuntime.hpp</a></li> |
| 523 | <li class="footer">Generated on Wed Feb 14 2024 16:36:13 for Arm NN by |
| 524 | <a href="http://www.doxygen.org/index.html"> |
| 525 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> |
| 526 | </ul> |
| 527 | </div> |
| 528 | </body> |
| 529 | </html> |