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/armnn/BackendSettings.hpp Source File</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('_backend_settings_8hpp_source.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="headertitle"> |
| 84 | <div class="title">BackendSettings.hpp</div> </div> |
| 85 | </div><!--header--> |
| 86 | <div class="contents"> |
| 87 | <a href="_backend_settings_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 Arm Ltd. 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> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="code" href="_backend_id_8hpp.html">armnn/BackendId.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html"> 14</a></span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_backend_settings.html">BackendSettings</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#ae6d0506ac92f9ba9529d019847144aa3"> 16</a></span>  <a class="code" href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a> <a class="code" href="structarmnn_1_1_backend_settings.html#ae6d0506ac92f9ba9529d019847144aa3">m_PreferredBackends</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#a0b160952af61b24d88125d66ed6d43c1"> 17</a></span>  <a class="code" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> <a class="code" href="structarmnn_1_1_backend_settings.html#a0b160952af61b24d88125d66ed6d43c1">m_SupportedBackends</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#aa09ac75b83067c5ed455f2bb35c7c98d"> 18</a></span>  <a class="code" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> <a class="code" href="structarmnn_1_1_backend_settings.html#aa09ac75b83067c5ed455f2bb35c7c98d">m_SelectedBackends</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#a552a322b7e66b580caf4652f262687db"> 19</a></span>  <a class="code" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> <a class="code" href="structarmnn_1_1_backend_settings.html#a552a322b7e66b580caf4652f262687db">m_IgnoredBackends</a>;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <a class="code" href="structarmnn_1_1_backend_settings.html#ae37b9d5ef207c4199a9ee1f36b4a342d">BackendSettings</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#a76dbce058ffd1891c7c9135202070157"> 23</a></span>  <a class="code" href="structarmnn_1_1_backend_settings.html#a76dbce058ffd1891c7c9135202070157">BackendSettings</a>(<span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a>& preferredBackends,</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_device_spec.html">IDeviceSpec</a>& deviceSpec)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  Initialize(preferredBackends, deviceSpec);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#a9c6ff08cd9ca604ed5702c9042b6c4fa"> 29</a></span>  <a class="code" href="structarmnn_1_1_backend_settings.html#a9c6ff08cd9ca604ed5702c9042b6c4fa">BackendSettings</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_backend_settings.html">BackendSettings</a>& other)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  : m_PreferredBackends(other.m_PreferredBackends)</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  , m_SupportedBackends(other.m_SupportedBackends)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  , m_SelectedBackends(other.m_SelectedBackends)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  , m_IgnoredBackends(other.m_IgnoredBackends)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#adb5b45cc7f53ef40c303c5633ba2e958"> 37</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_backend_settings.html#adb5b45cc7f53ef40c303c5633ba2e958">IsBackendPreferred</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend)<span class="keyword"> const</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> IsBackendInCollection(backend, m_PreferredBackends);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#aa5df3120ee0fbb3321df3133ec9e83ae"> 42</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_backend_settings.html#aa5df3120ee0fbb3321df3133ec9e83ae">IsBackendSupported</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend)<span class="keyword"> const</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> IsBackendInCollection(backend, m_SupportedBackends);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#ae2f3e063928e1d38e908b60b239de2a2"> 47</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_backend_settings.html#ae2f3e063928e1d38e908b60b239de2a2">IsBackendSelected</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend)<span class="keyword"> const</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> IsBackendInCollection(backend, m_SelectedBackends);</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#aaad09d640a90e3124e427dfe17752aff"> 52</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_backend_settings.html#aaad09d640a90e3124e427dfe17752aff">IsBackendIgnored</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend)<span class="keyword"> const</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> IsBackendInCollection(backend, m_IgnoredBackends);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structarmnn_1_1_backend_settings.html#ae4f9f2c5e3b5cf694315f66cde5b33f0"> 57</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structarmnn_1_1_backend_settings.html#ae4f9f2c5e3b5cf694315f66cde5b33f0">IsCpuRefUsed</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a> cpuBackendId(<a class="code" href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">Compute::CpuRef</a>);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_backend_settings.html#aa5df3120ee0fbb3321df3133ec9e83ae">IsBackendSupported</a>(cpuBackendId) && <a class="code" href="structarmnn_1_1_backend_settings.html#adb5b45cc7f53ef40c303c5633ba2e958">IsBackendPreferred</a>(cpuBackendId);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</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_backend_settings.html#ad4ca579528452c669b45f3f35300fd4e"> 63</a></span>  <a class="code" href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a> <a class="code" href="structarmnn_1_1_backend_settings.html#ad4ca579528452c669b45f3f35300fd4e">GetAvailablePreferredBackends</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a> availablePreferredBackends;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend : m_PreferredBackends)</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_backend_settings.html#aa5df3120ee0fbb3321df3133ec9e83ae">IsBackendSupported</a>(backend) && !<a class="code" href="structarmnn_1_1_backend_settings.html#aaad09d640a90e3124e427dfe17752aff">IsBackendIgnored</a>(backend))</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  availablePreferredBackends.push_back(backend);</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="keywordflow">return</span> availablePreferredBackends;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> Initialize(<span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">BackendIdVector</a>& preferredBackends,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_device_spec.html">IDeviceSpec</a>& deviceSpec)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  {</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// Copy preferred backends from input</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  m_PreferredBackends = preferredBackends;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Obtain list of supported backends</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_device_spec.html">DeviceSpec</a>& spec = *boost::polymorphic_downcast<const DeviceSpec*>(&deviceSpec);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  m_SupportedBackends = spec.<a class="code" href="classarmnn_1_1_device_spec.html#a89d4c29e22db837f787e2171b8a71892">GetSupportedBackends</a>();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</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="keyword">template</span><<span class="keyword">typename</span> Collection></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordtype">bool</span> IsBackendInCollection(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>& backend, <span class="keyword">const</span> Collection& collection)<span class="keyword"> const</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> std::find(collection.begin(), collection.end(), backend) != collection.end();</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> };</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> } <span class="comment">//namespace armnn</span></div><div class="ttc" id="structarmnn_1_1_backend_settings_html_a0b160952af61b24d88125d66ed6d43c1"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#a0b160952af61b24d88125d66ed6d43c1">armnn::BackendSettings::m_SupportedBackends</a></div><div class="ttdeci">BackendIdSet m_SupportedBackends</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00017">BackendSettings.hpp:17</a></div></div> |
| 88 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_ae4f9f2c5e3b5cf694315f66cde5b33f0"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#ae4f9f2c5e3b5cf694315f66cde5b33f0">armnn::BackendSettings::IsCpuRefUsed</a></div><div class="ttdeci">bool IsCpuRefUsed() const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00057">BackendSettings.hpp:57</a></div></div> |
| 89 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_a9c6ff08cd9ca604ed5702c9042b6c4fa"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#a9c6ff08cd9ca604ed5702c9042b6c4fa">armnn::BackendSettings::BackendSettings</a></div><div class="ttdeci">BackendSettings(const BackendSettings &other)</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00029">BackendSettings.hpp:29</a></div></div> |
| 90 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_aa09ac75b83067c5ed455f2bb35c7c98d"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#aa09ac75b83067c5ed455f2bb35c7c98d">armnn::BackendSettings::m_SelectedBackends</a></div><div class="ttdeci">BackendIdSet m_SelectedBackends</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00018">BackendSettings.hpp:18</a></div></div> |
| 91 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_aa5df3120ee0fbb3321df3133ec9e83ae"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#aa5df3120ee0fbb3321df3133ec9e83ae">armnn::BackendSettings::IsBackendSupported</a></div><div class="ttdeci">bool IsBackendSupported(const BackendId &backend) const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00042">BackendSettings.hpp:42</a></div></div> |
| 92 | <div class="ttc" id="classarmnn_1_1_device_spec_html_a89d4c29e22db837f787e2171b8a71892"><div class="ttname"><a href="classarmnn_1_1_device_spec.html#a89d4c29e22db837f787e2171b8a71892">armnn::DeviceSpec::GetSupportedBackends</a></div><div class="ttdeci">virtual const BackendIdSet & GetSupportedBackends() const override</div><div class="ttdef"><b>Definition:</b> <a href="_device_spec_8hpp_source.html#l00025">DeviceSpec.hpp:25</a></div></div> |
| 93 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_a76dbce058ffd1891c7c9135202070157"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#a76dbce058ffd1891c7c9135202070157">armnn::BackendSettings::BackendSettings</a></div><div class="ttdeci">BackendSettings(const BackendIdVector &preferredBackends, const IDeviceSpec &deviceSpec)</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00023">BackendSettings.hpp:23</a></div></div> |
| 94 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_adb5b45cc7f53ef40c303c5633ba2e958"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#adb5b45cc7f53ef40c303c5633ba2e958">armnn::BackendSettings::IsBackendPreferred</a></div><div class="ttdeci">bool IsBackendPreferred(const BackendId &backend) const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00037">BackendSettings.hpp:37</a></div></div> |
| 95 | <div class="ttc" id="classarmnn_1_1_backend_id_html"><div class="ttname"><a href="classarmnn_1_1_backend_id.html">armnn::BackendId</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00075">BackendId.hpp:75</a></div></div> |
| 96 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_aaad09d640a90e3124e427dfe17752aff"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#aaad09d640a90e3124e427dfe17752aff">armnn::BackendSettings::IsBackendIgnored</a></div><div class="ttdeci">bool IsBackendIgnored(const BackendId &backend) const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00052">BackendSettings.hpp:52</a></div></div> |
| 97 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_ae37b9d5ef207c4199a9ee1f36b4a342d"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#ae37b9d5ef207c4199a9ee1f36b4a342d">armnn::BackendSettings::BackendSettings</a></div><div class="ttdeci">BackendSettings()=default</div></div> |
| 98 | <div class="ttc" id="_backend_id_8hpp_html"><div class="ttname"><a href="_backend_id_8hpp.html">BackendId.hpp</a></div></div> |
| 99 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_ae2f3e063928e1d38e908b60b239de2a2"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#ae2f3e063928e1d38e908b60b239de2a2">armnn::BackendSettings::IsBackendSelected</a></div><div class="ttdeci">bool IsBackendSelected(const BackendId &backend) const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00047">BackendSettings.hpp:47</a></div></div> |
| 100 | <div class="ttc" id="namespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_helper_8hpp_source.html#l00011">BackendHelper.hpp:11</a></div></div> |
| 101 | <div class="ttc" id="namespacearmnn_html_ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64"><div class="ttname"><a href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a></div><div class="ttdoc">CPU Execution: Reference C++ kernels. </div></div> |
| 102 | <div class="ttc" id="namespacearmnn_html_ac858d91eedb7b4dba1bcd0aa760ab510"><div class="ttname"><a href="namespacearmnn.html#ac858d91eedb7b4dba1bcd0aa760ab510">armnn::BackendIdVector</a></div><div class="ttdeci">std::vector< BackendId > BackendIdVector</div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00190">BackendId.hpp:190</a></div></div> |
| 103 | <div class="ttc" id="namespacearmnn_html_a1854d9cda81304325664363c1fd0fb27"><div class="ttname"><a href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">armnn::BackendIdSet</a></div><div class="ttdeci">std::unordered_set< BackendId > BackendIdSet</div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00191">BackendId.hpp:191</a></div></div> |
| 104 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_ae6d0506ac92f9ba9529d019847144aa3"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#ae6d0506ac92f9ba9529d019847144aa3">armnn::BackendSettings::m_PreferredBackends</a></div><div class="ttdeci">BackendIdVector m_PreferredBackends</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00016">BackendSettings.hpp:16</a></div></div> |
| 105 | <div class="ttc" id="classarmnn_1_1_device_spec_html"><div class="ttname"><a href="classarmnn_1_1_device_spec.html">armnn::DeviceSpec</a></div><div class="ttdef"><b>Definition:</b> <a href="_device_spec_8hpp_source.html#l00014">DeviceSpec.hpp:14</a></div></div> |
| 106 | <div class="ttc" id="structarmnn_1_1_backend_settings_html"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html">armnn::BackendSettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00014">BackendSettings.hpp:14</a></div></div> |
| 107 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_ad4ca579528452c669b45f3f35300fd4e"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#ad4ca579528452c669b45f3f35300fd4e">armnn::BackendSettings::GetAvailablePreferredBackends</a></div><div class="ttdeci">BackendIdVector GetAvailablePreferredBackends() const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00063">BackendSettings.hpp:63</a></div></div> |
| 108 | <div class="ttc" id="classarmnn_1_1_i_device_spec_html"><div class="ttname"><a href="classarmnn_1_1_i_device_spec.html">armnn::IDeviceSpec</a></div><div class="ttdoc">Device specific knowledge to be passed to the optimizer. </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00158">Types.hpp:158</a></div></div> |
| 109 | <div class="ttc" id="structarmnn_1_1_backend_settings_html_a552a322b7e66b580caf4652f262687db"><div class="ttname"><a href="structarmnn_1_1_backend_settings.html#a552a322b7e66b580caf4652f262687db">armnn::BackendSettings::m_IgnoredBackends</a></div><div class="ttdeci">BackendIdSet m_IgnoredBackends</div><div class="ttdef"><b>Definition:</b> <a href="_backend_settings_8hpp_source.html#l00019">BackendSettings.hpp:19</a></div></div> |
| 110 | </div><!-- fragment --></div><!-- contents --> |
| 111 | </div><!-- doc-content --> |
| 112 | <!-- start footer part --> |
| 113 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 114 | <ul> |
| 115 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="_backend_settings_8hpp.html">BackendSettings.hpp</a></li> |
| 116 | <li class="footer">Generated on Fri Mar 13 2020 16:06:53 for ArmNN by |
| 117 | <a href="http://www.doxygen.org/index.html"> |
| 118 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 119 | </ul> |
| 120 | </div> |
| 121 | </body> |
| 122 | </html> |