Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame^] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: src/dynamic/sample/SampleDynamicBackend.cpp File Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_sample_dynamic_backend_8cpp.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#namespaces">Namespaces</a> | |
| 85 | <a href="#func-members">Functions</a> </div> |
| 86 | <div class="headertitle"> |
| 87 | <div class="title">SampleDynamicBackend.cpp File Reference</div> </div> |
| 88 | </div><!--header--> |
| 89 | <div class="contents"> |
| 90 | <div class="textblock"><code>#include "<a class="el" href="_sample_dynamic_backend_8hpp_source.html">SampleDynamicBackend.hpp</a>"</code><br /> |
| 91 | <code>#include "<a class="el" href="_sample_dynamic_layer_support_8hpp_source.html">SampleDynamicLayerSupport.hpp</a>"</code><br /> |
| 92 | <code>#include "<a class="el" href="_sample_dynamic_workload_factory_8hpp_source.html">SampleDynamicWorkloadFactory.hpp</a>"</code><br /> |
| 93 | <code>#include "<a class="el" href="_sample_memory_manager_8hpp_source.html">SampleMemoryManager.hpp</a>"</code><br /> |
| 94 | <code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html">armnn/backends/IBackendInternal.hpp</a>></code><br /> |
| 95 | <code>#include <<a class="el" href="include_2armnn_2backends_2_optimization_views_8hpp_source.html">armnn/backends/OptimizationViews.hpp</a>></code><br /> |
| 96 | </div> |
| 97 | <p><a href="_sample_dynamic_backend_8cpp_source.html">Go to the source code of this file.</a></p> |
| 98 | <table class="memberdecls"> |
| 99 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 100 | Namespaces</h2></td></tr> |
| 101 | <tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html">armnn</a></td></tr> |
| 102 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | </table><table class="memberdecls"> |
| 104 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 105 | Functions</h2></td></tr> |
| 106 | <tr class="memitem:a40c8a268a9dc9dc910e348534d479f7a"><td class="memItemLeft" align="right" valign="top">constexpr const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html#a40c8a268a9dc9dc910e348534d479f7a">SampleDynamicBackendId</a> ()</td></tr> |
| 107 | <tr class="separator:a40c8a268a9dc9dc910e348534d479f7a"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:adaff295134ed2825ae43a8e9281b6f2a"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="_sample_dynamic_backend_8cpp.html#adaff295134ed2825ae43a8e9281b6f2a">GetBackendId</a> ()</td></tr> |
| 109 | <tr class="separator:adaff295134ed2825ae43a8e9281b6f2a"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:aa8f09f94b0356f870c9bdb9c594cddfc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_sample_dynamic_backend_8cpp.html#aa8f09f94b0356f870c9bdb9c594cddfc">GetVersion</a> (uint32_t *outMajor, uint32_t *outMinor)</td></tr> |
| 111 | <tr class="separator:aa8f09f94b0356f870c9bdb9c594cddfc"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a6a075b7c32d5511f95903749eef44b22"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="_sample_dynamic_backend_8cpp.html#a6a075b7c32d5511f95903749eef44b22">BackendFactory</a> ()</td></tr> |
| 113 | <tr class="separator:a6a075b7c32d5511f95903749eef44b22"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table> |
| 115 | <h2 class="groupheader">Function Documentation</h2> |
| 116 | <a id="a6a075b7c32d5511f95903749eef44b22"></a> |
| 117 | <h2 class="memtitle"><span class="permalink"><a href="#a6a075b7c32d5511f95903749eef44b22">◆ </a></span>BackendFactory()</h2> |
| 118 | |
| 119 | <div class="memitem"> |
| 120 | <div class="memproto"> |
| 121 | <table class="memname"> |
| 122 | <tr> |
| 123 | <td class="memname">void* BackendFactory </td> |
| 124 | <td>(</td> |
| 125 | <td class="paramname"></td><td>)</td> |
| 126 | <td></td> |
| 127 | </tr> |
| 128 | </table> |
| 129 | </div><div class="memdoc"> |
| 130 | |
| 131 | <p class="definition">Definition at line <a class="el" href="_sample_dynamic_backend_8cpp_source.html#l00102">102</a> of file <a class="el" href="_sample_dynamic_backend_8cpp_source.html">SampleDynamicBackend.cpp</a>.</p> |
| 132 | <div class="fragment"><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> <span class="keyword">new</span> armnn::SampleDynamicBackend();</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div></div><!-- fragment --> |
| 133 | </div> |
| 134 | </div> |
| 135 | <a id="adaff295134ed2825ae43a8e9281b6f2a"></a> |
| 136 | <h2 class="memtitle"><span class="permalink"><a href="#adaff295134ed2825ae43a8e9281b6f2a">◆ </a></span>GetBackendId()</h2> |
| 137 | |
| 138 | <div class="memitem"> |
| 139 | <div class="memproto"> |
| 140 | <table class="memname"> |
| 141 | <tr> |
| 142 | <td class="memname">const char* GetBackendId </td> |
| 143 | <td>(</td> |
| 144 | <td class="paramname"></td><td>)</td> |
| 145 | <td></td> |
| 146 | </tr> |
| 147 | </table> |
| 148 | </div><div class="memdoc"> |
| 149 | |
| 150 | <p class="definition">Definition at line <a class="el" href="_sample_dynamic_backend_8cpp_source.html#l00084">84</a> of file <a class="el" href="_sample_dynamic_backend_8cpp_source.html">SampleDynamicBackend.cpp</a>.</p> |
| 151 | |
| 152 | <p class="reference">References <a class="el" href="_test_dynamic_backend_8cpp_source.html#l00012">TestDynamicBackendId()</a>.</p> |
| 153 | <div class="fragment"><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">return</span> armnn::SampleDynamicBackend::GetIdStatic().Get().c_str();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> }</div></div><!-- fragment --> |
| 154 | </div> |
| 155 | </div> |
| 156 | <a id="aa8f09f94b0356f870c9bdb9c594cddfc"></a> |
| 157 | <h2 class="memtitle"><span class="permalink"><a href="#aa8f09f94b0356f870c9bdb9c594cddfc">◆ </a></span>GetVersion()</h2> |
| 158 | |
| 159 | <div class="memitem"> |
| 160 | <div class="memproto"> |
| 161 | <table class="memname"> |
| 162 | <tr> |
| 163 | <td class="memname">void GetVersion </td> |
| 164 | <td>(</td> |
| 165 | <td class="paramtype">uint32_t * </td> |
| 166 | <td class="paramname"><em>outMajor</em>, </td> |
| 167 | </tr> |
| 168 | <tr> |
| 169 | <td class="paramkey"></td> |
| 170 | <td></td> |
| 171 | <td class="paramtype">uint32_t * </td> |
| 172 | <td class="paramname"><em>outMinor</em> </td> |
| 173 | </tr> |
| 174 | <tr> |
| 175 | <td></td> |
| 176 | <td>)</td> |
| 177 | <td></td><td></td> |
| 178 | </tr> |
| 179 | </table> |
| 180 | </div><div class="memdoc"> |
| 181 | |
| 182 | <p class="definition">Definition at line <a class="el" href="_sample_dynamic_backend_8cpp_source.html#l00089">89</a> of file <a class="el" href="_sample_dynamic_backend_8cpp_source.html">SampleDynamicBackend.cpp</a>.</p> |
| 183 | |
| 184 | <p class="reference">References <a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00149">IBackendInternal::GetApiVersion()</a>, <a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00034">BackendVersion::m_Major</a>, and <a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00035">BackendVersion::m_Minor</a>.</p> |
| 185 | <div class="fragment"><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span> (!outMajor || !outMinor)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="structarmnn_1_1_backend_version.html">armnn::BackendVersion</a> apiVersion = <a class="code" href="classarmnn_1_1_i_backend_internal.html#a878b8f50d8a2f92ed624803e9f6968ae">armnn::IBackendInternal::GetApiVersion</a>();</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  *outMajor = apiVersion.<a class="code" href="structarmnn_1_1_backend_version.html#aa98a6e78930567c2d9cdcf320eaddb7a">m_Major</a>;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  *outMinor = apiVersion.<a class="code" href="structarmnn_1_1_backend_version.html#a421dbc9bee3ebd2721de5c82e6cd7d20">m_Minor</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="ttc" id="structarmnn_1_1_backend_version_html_a421dbc9bee3ebd2721de5c82e6cd7d20"><div class="ttname"><a href="structarmnn_1_1_backend_version.html#a421dbc9bee3ebd2721de5c82e6cd7d20">armnn::BackendVersion::m_Minor</a></div><div class="ttdeci">uint32_t m_Minor</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00035">IBackendInternal.hpp:35</a></div></div> |
| 186 | <div class="ttc" id="structarmnn_1_1_backend_version_html"><div class="ttname"><a href="structarmnn_1_1_backend_version.html">armnn::BackendVersion</a></div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00032">IBackendInternal.hpp:32</a></div></div> |
| 187 | <div class="ttc" id="classarmnn_1_1_i_backend_internal_html_a878b8f50d8a2f92ed624803e9f6968ae"><div class="ttname"><a href="classarmnn_1_1_i_backend_internal.html#a878b8f50d8a2f92ed624803e9f6968ae">armnn::IBackendInternal::GetApiVersion</a></div><div class="ttdeci">static constexpr BackendVersion GetApiVersion()</div><div class="ttdoc">Returns the version of the Backend API. </div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00149">IBackendInternal.hpp:149</a></div></div> |
| 188 | <div class="ttc" id="structarmnn_1_1_backend_version_html_aa98a6e78930567c2d9cdcf320eaddb7a"><div class="ttname"><a href="structarmnn_1_1_backend_version.html#aa98a6e78930567c2d9cdcf320eaddb7a">armnn::BackendVersion::m_Major</a></div><div class="ttdeci">uint32_t m_Major</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html#l00034">IBackendInternal.hpp:34</a></div></div> |
| 189 | </div><!-- fragment --> |
| 190 | </div> |
| 191 | </div> |
| 192 | </div><!-- contents --> |
| 193 | </div><!-- doc-content --> |
| 194 | <!-- start footer part --> |
| 195 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 196 | <ul> |
| 197 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_101da30fc6c118b726c448f5a6ab9e53.html">dynamic</a></li><li class="navelem"><a class="el" href="dir_b94b32fb1d16ed92698df04c7e9ebd86.html">sample</a></li><li class="navelem"><a class="el" href="_sample_dynamic_backend_8cpp.html">SampleDynamicBackend.cpp</a></li> |
| 198 | <li class="footer">Generated on Fri Mar 13 2020 16:07:01 for ArmNN by |
| 199 | <a href="http://www.doxygen.org/index.html"> |
| 200 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 201 | </ul> |
| 202 | </div> |
| 203 | </body> |
| 204 | </html> |