Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame^] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: include/armnn/BackendId.hpp File Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_backend_id_8hpp.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#nested-classes">Classes</a> | |
| 99 | <a href="#namespaces">Namespaces</a> | |
| 100 | <a href="#typedef-members">Typedefs</a> | |
| 101 | <a href="#enum-members">Enumerations</a> | |
| 102 | <a href="#func-members">Functions</a> </div> |
| 103 | <div class="headertitle"> |
| 104 | <div class="title">BackendId.hpp File Reference</div> </div> |
| 105 | </div><!--header--> |
| 106 | <div class="contents"> |
| 107 | <div class="textblock"><code>#include <memory></code><br /> |
| 108 | <code>#include <ostream></code><br /> |
| 109 | <code>#include <set></code><br /> |
| 110 | <code>#include <string></code><br /> |
| 111 | <code>#include <unordered_set></code><br /> |
| 112 | <code>#include <vector></code><br /> |
| 113 | </div> |
| 114 | <p><a href="_backend_id_8hpp_source.xhtml">Go to the source code of this file.</a></p> |
| 115 | <table class="memberdecls"> |
| 116 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 117 | Classes</h2></td></tr> |
| 118 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a></td></tr> |
| 119 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structstd_1_1hash_3_01armnn_1_1_backend_id_01_4.xhtml">hash< armnn::BackendId ></a></td></tr> |
| 121 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">make BackendId compatible with std hashtables by reusing the hash function for strings. <a href="structstd_1_1hash_3_01armnn_1_1_backend_id_01_4.xhtml#details">More...</a><br /></td></tr> |
| 122 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | </table><table class="memberdecls"> |
| 124 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 125 | Namespaces</h2></td></tr> |
| 126 | <tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml">armnn</a></td></tr> |
| 127 | <tr class="memdesc:namespacearmnn"><td class="mdescLeft"> </td><td class="mdescRight">Copyright (c) 2020 ARM Limited. <br /></td></tr> |
| 128 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:namespacestd"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.xhtml">std</a></td></tr> |
| 130 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:namespacearmnn_1_1profiling"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn_1_1profiling.xhtml">armnn::profiling</a></td></tr> |
| 132 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | </table><table class="memberdecls"> |
| 134 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> |
| 135 | Typedefs</h2></td></tr> |
| 136 | <tr class="memitem:ac858d91eedb7b4dba1bcd0aa760ab510"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a> = std::vector< BackendId ></td></tr> |
| 137 | <tr class="separator:ac858d91eedb7b4dba1bcd0aa760ab510"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a1854d9cda81304325664363c1fd0fb27"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> = std::unordered_set< BackendId ></td></tr> |
| 139 | <tr class="separator:a1854d9cda81304325664363c1fd0fb27"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | </table><table class="memberdecls"> |
| 141 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> |
| 142 | Enumerations</h2></td></tr> |
| 143 | <tr class="memitem:ae2f04a162585c0a5222a537efd5456ae"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456ae">Compute</a> { <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aeaec0fc0100c4fc1ce4eea230c3dc10360">Undefined</a> = 0, |
| 144 | <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">CpuRef</a> = 1, |
| 145 | <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aea39f8662ca778258e9c6a14f26fec5ec1">CpuAcc</a> = 2, |
| 146 | <a class="el" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aeafaa4524e3df19ada32643ce9a222362b">GpuAcc</a> = 3 |
| 147 | }<tr class="memdesc:ae2f04a162585c0a5222a537efd5456ae"><td class="mdescLeft"> </td><td class="mdescRight">The Compute enum is now deprecated and it is now being replaced by BackendId. <a href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456ae">More...</a><br /></td></tr> |
| 148 | </td></tr> |
| 149 | <tr class="separator:ae2f04a162585c0a5222a537efd5456ae"><td class="memSeparator" colspan="2"> </td></tr> |
| 150 | </table><table class="memberdecls"> |
| 151 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 152 | Functions</h2></td></tr> |
| 153 | <tr class="memitem:a6bab17bfd45c2fa4592c431bc25ad10e"><td class="memItemLeft" align="right" valign="top">constexpr char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a6bab17bfd45c2fa4592c431bc25ad10e">GetComputeDeviceAsCString</a> (Compute compute)</td></tr> |
| 154 | <tr class="memdesc:a6bab17bfd45c2fa4592c431bc25ad10e"><td class="mdescLeft"> </td><td class="mdescRight">Deprecated function that will be removed together with the Compute enum. <a href="namespacearmnn.xhtml#a6bab17bfd45c2fa4592c431bc25ad10e">More...</a><br /></td></tr> |
| 155 | <tr class="separator:a6bab17bfd45c2fa4592c431bc25ad10e"><td class="memSeparator" colspan="2"> </td></tr> |
| 156 | <tr class="memitem:a5b0313cb554380d6e4dfb24c31f9e605"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a5b0313cb554380d6e4dfb24c31f9e605">operator<<</a> (std::ostream &os, const std::vector< Compute > &compute)</td></tr> |
| 157 | <tr class="memdesc:a5b0313cb554380d6e4dfb24c31f9e605"><td class="mdescLeft"> </td><td class="mdescRight">Deprecated function that will be removed together with the Compute enum. <a href="namespacearmnn.xhtml#a5b0313cb554380d6e4dfb24c31f9e605">More...</a><br /></td></tr> |
| 158 | <tr class="separator:a5b0313cb554380d6e4dfb24c31f9e605"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:a127a59fdf5e6d2fa74f87f9265de958b"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a127a59fdf5e6d2fa74f87f9265de958b">operator<<</a> (std::ostream &os, const std::set< Compute > &compute)</td></tr> |
| 160 | <tr class="memdesc:a127a59fdf5e6d2fa74f87f9265de958b"><td class="mdescLeft"> </td><td class="mdescRight">Deprecated function that will be removed together with the Compute enum. <a href="namespacearmnn.xhtml#a127a59fdf5e6d2fa74f87f9265de958b">More...</a><br /></td></tr> |
| 161 | <tr class="separator:a127a59fdf5e6d2fa74f87f9265de958b"><td class="memSeparator" colspan="2"> </td></tr> |
| 162 | <tr class="memitem:a345acf4e0dc087eee3f9688029ee6328"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a345acf4e0dc087eee3f9688029ee6328">operator<<</a> (std::ostream &os, const Compute &compute)</td></tr> |
| 163 | <tr class="memdesc:a345acf4e0dc087eee3f9688029ee6328"><td class="mdescLeft"> </td><td class="mdescRight">Deprecated function that will be removed together with the Compute enum. <a href="namespacearmnn.xhtml#a345acf4e0dc087eee3f9688029ee6328">More...</a><br /></td></tr> |
| 164 | <tr class="separator:a345acf4e0dc087eee3f9688029ee6328"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:afc46634e26857d037ee80bb5a74ef28a"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#afc46634e26857d037ee80bb5a74ef28a">operator<<</a> (std::ostream &os, const BackendId &id)</td></tr> |
| 166 | <tr class="separator:afc46634e26857d037ee80bb5a74ef28a"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a62a9e8c87b9b9f504726746ba4a000a6"><td class="memTemplParams" colspan="2">template<template< typename... > class TContainer, typename... TContainerTemplateArgs> </td></tr> |
| 168 | <tr class="memitem:a62a9e8c87b9b9f504726746ba4a000a6"><td class="memTemplItemLeft" align="right" valign="top">std::ostream & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearmnn.xhtml#a62a9e8c87b9b9f504726746ba4a000a6">operator<<</a> (std::ostream &os, const <a class="el" href="_model_accuracy_checker_test_8cpp.xhtml#a9eb69ebdaf4ceb8014e7c8a540266100">TContainer</a>< BackendId, TContainerTemplateArgs... > &ids)</td></tr> |
| 169 | <tr class="separator:a62a9e8c87b9b9f504726746ba4a000a6"><td class="memSeparator" colspan="2"> </td></tr> |
| 170 | </table> |
| 171 | </div><!-- contents --> |
| 172 | </div><!-- doc-content --> |
| 173 | <!-- start footer part --> |
| 174 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 175 | <ul> |
| 176 | <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.xhtml">include</a></li><li class="navelem"><a class="el" href="dir_2b72cc348e06937955e62ebdd8a13436.xhtml">armnn</a></li><li class="navelem"><a class="el" href="_backend_id_8hpp.xhtml">BackendId.hpp</a></li> |
| 177 | <li class="footer">Generated on Fri Mar 13 2020 16:09:13 for ArmNN by |
| 178 | <a href="http://www.doxygen.org/index.html"> |
| 179 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 180 | </ul> |
| 181 | </div> |
| 182 | </body> |
| 183 | </html> |