| <!-- HTML header for doxygen 1.8.17--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.17"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>Arm NN: include/armnn/IRuntime.hpp Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/x-mathjax-config"> |
| MathJax.Hub.Config({ |
| extensions: ["tex2jax.js"], |
| jax: ["input/TeX","output/HTML-CSS"], |
| }); |
| </script> |
| <script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="customdoxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/> |
| <td id="projectalign" style="padding-left: 0.9em;"> |
| <div id="projectname"> |
|  <span id="projectnumber">24.05</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.17 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function(){initNavTree('_i_runtime_8hpp_source.html',''); initResizable(); }); |
| /* @license-end */ |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">IRuntime.hpp</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <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> |
| <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017-2024 Arm Ltd and Contributors. All rights reserved.</span></div> |
| <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> |
| <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> |
| <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#pragma once</span></div> |
| <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div> |
| <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <memory></span></div> |
| <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <map></span></div> |
| <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> |
| <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> |
| <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div> |
| <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div> |
| <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span>pipe</div> |
| <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div> |
| <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span>ILocalPacketHandler;</div> |
| <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> |
| <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> } <span class="comment">// pipe</span></div> |
| <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> } <span class="comment">// arm</span></div> |
| <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div> |
| <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> |
| <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div> |
| <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> |
| <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> |
| <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div> |
| <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> |
| <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div> |
| <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> |
| <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div> |
| <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> |
| <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> inputSource,</div> |
| <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> outputSource,</div> |
| <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">bool</span> profilingEnabled = <span class="keyword">false</span>,</div> |
| <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> |
| <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">bool</span> externalMemoryManagementEnabled = <span class="keyword">false</span>)</div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  {}</div> |
| <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div> |
| <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> |
| <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div> |
| <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> |
| <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div> |
| <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> |
| <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div> |
| <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> |
| <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div> |
| <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> |
| <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> };</div> |
| <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div> |
| <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> |
| <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> |
| <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> |
| <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div> |
| <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keyword">public</span>:</div> |
| <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> |
| <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  {</div> |
| <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> |
| <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  : m_GpuAccTunedParameters(nullptr)</div> |
| <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  , m_EnableGpuProfiling(false)</div> |
| <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  , m_DynamicBackendsPath(<span class="stringliteral">""</span>)</div> |
| <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  , m_ProtectedMode(false)</div> |
| <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  , m_CustomAllocatorMap()</div> |
| <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  , m_MemoryOptimizerStrategyMap()</div> |
| <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  {}</div> |
| <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> /// allocating Protected Memory associated with it.</span></div> |
| <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> |
| <div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"></span> </div> |
| <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> |
| <div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> ///</span></div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"> ///</span></div> |
| <div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment"> /// @note Only supported for GpuAcc</span></div> |
| <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> |
| <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"></span> </div> |
| <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> |
| <div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> ///</span></div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment"> /// for a given backend.</span></div> |
| <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> |
| <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div> |
| <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> |
| <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  {</div> |
| <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> |
| <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  : m_EnableProfiling(false)</div> |
| <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  , m_TimelineEnabled(false)</div> |
| <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  , m_OutgoingCaptureFile(<span class="stringliteral">""</span>)</div> |
| <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  , m_IncomingCaptureFile(<span class="stringliteral">""</span>)</div> |
| <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  , m_FileOnly(false)</div> |
| <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> |
| <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  , m_FileFormat(<span class="stringliteral">"binary"</span>)</div> |
| <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  , m_LocalPacketHandlers()</div> |
| <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  {}</div> |
| <div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> /// Enable profiling output to file only.</span></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  };</div> |
| <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> |
| <div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> /// Pass backend specific options.</span></div> |
| <div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> ///</span></div> |
| <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> |
| <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.cpp</span></div> |
| <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> /// m_BackendOption.emplace_back(</span></div> |
| <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> /// BackendOptions{"GpuAcc",</span></div> |
| <div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> /// {</span></div> |
| <div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> /// {"TuningLevel", 2},</span></div> |
| <div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> /// {"TuningFile", filename}</span></div> |
| <div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="comment"> /// {"MemoryOptimizerStrategy", strategyname}</span></div> |
| <div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="comment"> /// }</span></div> |
| <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"> /// });</span></div> |
| <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></div> |
| <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> |
| <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> |
| <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="comment"></span><span class="comment"></span> </div> |
| <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> |
| <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.cpp</span></div> |
| <div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> /// m_BackendOption.emplace_back(</span></div> |
| <div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> /// BackendOptions{"GpuAcc",</span></div> |
| <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> /// {</span></div> |
| <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> /// {"TuningFile", filename}</span></div> |
| <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="comment"> /// }</span></div> |
| <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> /// });</span></div> |
| <div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span></div> |
| <div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"></span><span class="comment"></span> </div> |
| <div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> /// The following backend options are available:</span></div> |
| <div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> /// AllBackends:</span></div> |
| <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> /// "MemoryOptimizerStrategy" : string [stategynameString]</span></div> |
| <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment"> /// (Existing Memory Optimizer Strategies: ConstantMemoryStrategy)</span></div> |
| <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="comment"> /// GpuAcc:</span></div> |
| <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> |
| <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="comment"> /// "TuningFile" : string [filenameString]</span></div> |
| <div class="line"><a name="l00189"></a><span class="lineno"> 189</span> <span class="comment"> /// "KernelProfilingEnabled" : bool [true | false]</span></div> |
| <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> |
| <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  };</div> |
| <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"> /// Loads a complete network into the IRuntime.</span></div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> /// @return armnn::Status</span></div> |
| <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> |
| <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> /// Load a complete network into the IRuntime.</span></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"> /// @return armnn::Status</span></div> |
| <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> |
| <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> |
| <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  std::string& errorMessage);</div> |
| <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div> |
| <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> |
| <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> |
| <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  std::string& errorMessage,</div> |
| <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> |
| <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> /// Only compatible with AsyncEnabled networks</span></div> |
| <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> |
| <div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment"> /// Only compatible with AsyncEnabled networks</span></div> |
| <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> |
| <div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"></span> </div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  std::vector<ImportedInputId> preImportedInputIds = {},</div> |
| <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  std::vector<ImportedOutputId> preImportedOutputIds = {});</div> |
| <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment"> /// This is an experimental function.</span></div> |
| <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> |
| <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> |
| <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> |
| <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment"></span> <a class="code" href="_deprecated_8hpp.html#af16119336bd0dfbfbc83fc283151067e">ARMNN_DEPRECATED_MSG_REMOVAL_DATE</a>(<span class="stringliteral">"The Async interface will be removed from Arm NN in 24.08"</span>, <span class="stringliteral">"24.08"</span>)</div> |
| <div class="line"><a name="l00262"></a><span class="lineno"> 262</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> |
| <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  const <a class="code" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> |
| <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  const <a class="code" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> |
| <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="namespacestd.html">std</a>::vector<<a class="code" href="namespacearmnn.html#a1c5ec805688cb558465a82a8d9f56a90">ImportedInputId</a>> preImportedInputs = {},</div> |
| <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  std::vector<ImportedOutputId> preImportedOutputs = {});</div> |
| <div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="comment"> /// Unloads a network from the IRuntime.</span></div> |
| <div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="comment"> /// At the moment this only removes the network from the m_Impl->m_Network.</span></div> |
| <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment"> /// This might need more work in the future to be AndroidNN compliant.</span></div> |
| <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment"> /// @param [in] networkId - Unique identifier for the network to be unloaded. Generated in LoadNetwork().</span></div> |
| <div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment"> /// @return armnn::Status</span></div> |
| <div class="line"><a name="l00273"></a><span class="lineno"> 273</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> |
| <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div> |
| <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keyword">const</span> IDeviceSpec& GetDeviceSpec() <span class="keyword">const</span>;</div> |
| <div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment"> /// Create a new unique WorkingMemHandle object. Create multiple handles if you wish to have</span></div> |
| <div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment"> /// overlapped Execution by calling this function from different threads.</span></div> |
| <div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment"></span> std::unique_ptr<IWorkingMemHandle> CreateWorkingMemHandle(<a class="code" href="namespacearmnn.html#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId);</div> |
| <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment"> /// Gets the profiler corresponding to the given network id.</span></div> |
| <div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="comment"> /// @param networkId The id of the network for which to get the profile.</span></div> |
| <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="comment"> /// @return A pointer to the requested profiler, or nullptr if not found.</span></div> |
| <div class="line"><a name="l00284"></a><span class="lineno"> 284</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> |
| <div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment"> /// Registers a callback function to debug layers performing custom computations on intermediate tensors.</span></div> |
| <div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment"> /// @param networkId The id of the network to register the callback.</span></div> |
| <div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment"> /// @param func callback function to pass to the debug layer.</span></div> |
| <div class="line"><a name="l00289"></a><span class="lineno"> 289</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> |
| <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  </div> |
| <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keyword">protected</span>:</div> |
| <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  IRuntime();</div> |
| <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  IRuntime(<span class="keyword">const</span> IRuntime::CreationOptions& options);</div> |
| <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  ~IRuntime();</div> |
| <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div> |
| <div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_runtime.html#a92dbd7245696596a2c8e831de26cec02"> 296</a></span>  std::unique_ptr<RuntimeImpl> <a class="code" href="classarmnn_1_1_i_runtime.html#a92dbd7245696596a2c8e831de26cec02">pRuntimeImpl</a>;</div> |
| <div class="line"><a name="l00297"></a><span class="lineno"> 297</span> };</div> |
| <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  </div> |
| <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="comment">/// The following API is replaced by the backend options API.</span></div> |
| <div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="namespacearmnn.html#a2d3a708a26ac6d77bf8f15506e89a25a"> 301</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> |
| <div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <span class="comment">/// Manages a set of GpuAcc parameters which have been tuned for maximum performance.</span></div> |
| <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment">/// Passes an instance of this object to the IRuntime::Create() method (via IRuntime::CreationOptions) to use it</span></div> |
| <div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="comment">/// for all GPU workload execution.</span></div> |
| <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> <span class="comment">///</span></div> |
| <div class="line"><a name="l00307"></a><span class="lineno"> 307</span> <span class="comment">/// Can be created in two modes:</span></div> |
| <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="comment">/// - In UseTunedParameters mode, the parameters stored in this object are used to execute GPU workloads.</span></div> |
| <div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment">/// - In UpdateTunedParameters mode, additionally, whenever a GPU workload is executed for the first time, the</span></div> |
| <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment">/// optimum parameters will be found and stored in this object. WARNING - This tuning can be slow.</span></div> |
| <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment">///</span></div> |
| <div class="line"><a name="l00312"></a><span class="lineno"> 312</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> |
| <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="comment">/// execution, save the parameters for later and then run fast read-only executions using the optimised parameters.</span></div> |
| <div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html"> 314</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> |
| <div class="line"><a name="l00315"></a><span class="lineno"> 315</span> {</div> |
| <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="keyword">public</span>:</div> |
| <div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a46c8a310cf4c094f8c80e1cb8dc1f911"> 317</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> |
| <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  {</div> |
| <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  UseTunedParameters,</div> |
| <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  UpdateTunedParameters</div> |
| <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  };</div> |
| <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  </div> |
| <div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a707090747256af276c389e0cf1cb0a9a"> 323</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> |
| <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  {</div> |
| <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aab571ef5b2664270d25bea4f4b61ffe68">Rapid</a> = 1,</div> |
| <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aa960b44c579bc2f6818d2daaf9e4c16f0">Normal</a> = 2,</div> |
| <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="namespacearmnn.html#a707090747256af276c389e0cf1cb0a9aafaf34f09ea1e93bfbf591e19dc0dfb9f">Exhaustive</a> = 3</div> |
| <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  };</div> |
| <div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment"> /// Creates an IClTunedParameters with the given mode.</span></div> |
| <div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment"> /// @{</span></div> |
| <div class="line"><a name="l00332"></a><span class="lineno"> 332</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> |
| <div class="line"><a name="l00333"></a><span class="lineno"> 333</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> |
| <div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment"> /// @}</span></div> |
| <div class="line"><a name="l00335"></a><span class="lineno"> 335</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> |
| <div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment"> /// Loads an existing set of tuned parameters from the given file.</span></div> |
| <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment"> /// If there is an error loading the file, an armnn::Exception is thrown.</span></div> |
| <div class="line"><a name="l00339"></a><span class="lineno"> 339</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> |
| <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment"></span> </div> |
| <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment"> /// Saves the current set of tuned parameters to the given file.</span></div> |
| <div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment"> /// If there is an error saving to the file, an armnn::Exception is thrown.</span></div> |
| <div class="line"><a name="l00343"></a><span class="lineno"> 343</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> |
| <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  </div> |
| <div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="keyword">protected</span>:</div> |
| <div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a42b98f24092313b6a7673b54a3a84aa4"> 346</a></span>  <span class="keyword">virtual</span> <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html#a42b98f24092313b6a7673b54a3a84aa4">~IGpuAccTunedParameters</a>() {};</div> |
| <div class="line"><a name="l00347"></a><span class="lineno"> 347</span> };</div> |
| <div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  </div> |
| <div class="line"><a name="l00349"></a><span class="lineno"> 349</span> } <span class="comment">// namespace armnn</span></div> |
| </div><!-- fragment --></div><!-- contents --> |
| </div><!-- doc-content --> |
| <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> |
| <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#l00317">IRuntime.hpp:317</a></div></div> |
| <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> |
| <div class="ttc" id="anamespacearmnn_html_a1c5ec805688cb558465a82a8d9f56a90"><div class="ttname"><a href="namespacearmnn.html#a1c5ec805688cb558465a82a8d9f56a90">armnn::ImportedInputId</a></div><div class="ttdeci">unsigned int ImportedInputId</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00310">Types.hpp:310</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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#l00346">IRuntime.hpp:346</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_types_utils_8hpp_html"><div class="ttname"><a href="_types_utils_8hpp.html">TypesUtils.hpp</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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#l00323">IRuntime.hpp:323</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_i_network_8hpp_html"><div class="ttname"><a href="_i_network_8hpp.html">INetwork.hpp</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_i_profiler_8hpp_html"><div class="ttname"><a href="_i_profiler_8hpp.html">IProfiler.hpp</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_tensor_8hpp_html"><div class="ttname"><a href="_tensor_8hpp.html">Tensor.hpp</a></div></div> |
| <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> |
| <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> |
| <div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00149">BackendId.hpp:149</a></div></div> |
| <div class="ttc" id="a_deprecated_8hpp_html_af16119336bd0dfbfbc83fc283151067e"><div class="ttname"><a href="_deprecated_8hpp.html#af16119336bd0dfbfbc83fc283151067e">ARMNN_DEPRECATED_MSG_REMOVAL_DATE</a></div><div class="ttdeci">#define ARMNN_DEPRECATED_MSG_REMOVAL_DATE(message, removed_in_release)</div><div class="ttdef"><b>Definition:</b> <a href="_deprecated_8hpp_source.html#l00044">Deprecated.hpp:44</a></div></div> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_backend_options_8hpp_html"><div class="ttname"><a href="_backend_options_8hpp.html">BackendOptions.hpp</a></div></div> |
| <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> |
| <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> |
| <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> |
| <div class="ttc" id="a_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div> |
| <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> |
| <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#l00301">IRuntime.hpp:301</a></div></div> |
| <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> |
| <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> |
| <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> |
| <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#l00296">IRuntime.hpp:296</a></div></div> |
| <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> |
| <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> |
| <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#l00314">IRuntime.hpp:314</a></div></div> |
| <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> |
| <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> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <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> |
| <li class="footer">Generated on Thu May 16 2024 09:31:44 for Arm NN by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |