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/backends/cl/test/ClLayerSupportTests.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('_cl_layer_support_tests_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="#func-members">Functions</a> </div> |
| 85 | <div class="headertitle"> |
| 86 | <div class="title">ClLayerSupportTests.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_cl_workload_factory_helper_8hpp_source.html">ClWorkloadFactoryHelper.hpp</a>"</code><br /> |
| 90 | <code>#include <<a class="el" href="_convert_fp16_to_fp32_layer_8hpp_source.html">layers/ConvertFp16ToFp32Layer.hpp</a>></code><br /> |
| 91 | <code>#include <<a class="el" href="_convert_fp32_to_fp16_layer_8hpp_source.html">layers/ConvertFp32ToFp16Layer.hpp</a>></code><br /> |
| 92 | <code>#include <<a class="el" href="_mean_layer_8hpp_source.html">layers/MeanLayer.hpp</a>></code><br /> |
| 93 | <code>#include <<a class="el" href="_tensor_helpers_8hpp_source.html">test/TensorHelpers.hpp</a>></code><br /> |
| 94 | <code>#include <<a class="el" href="_cpu_tensor_handle_8hpp_source.html">backendsCommon/CpuTensorHandle.hpp</a>></code><br /> |
| 95 | <code>#include <<a class="el" href="_cl_workload_factory_8hpp_source.html">cl/ClWorkloadFactory.hpp</a>></code><br /> |
| 96 | <code>#include <<a class="el" href="_cl_context_control_fixture_8hpp_source.html">cl/test/ClContextControlFixture.hpp</a>></code><br /> |
| 97 | <code>#include <<a class="el" href="_is_layer_supported_test_impl_8hpp_source.html">backendsCommon/test/IsLayerSupportedTestImpl.hpp</a>></code><br /> |
| 98 | <code>#include <<a class="el" href="_layer_tests_8hpp_source.html">backendsCommon/test/LayerTests.hpp</a>></code><br /> |
| 99 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 100 | <code>#include <string></code><br /> |
| 101 | </div> |
| 102 | <p><a href="_cl_layer_support_tests_8cpp_source.html">Go to the source code of this file.</a></p> |
| 103 | <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:ac71500cd7f2194b59ae1173c90d292d8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#ac71500cd7f2194b59ae1173c90d292d8">BOOST_FIXTURE_TEST_CASE</a> (IsLayerSupportedFloat16Cl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 107 | <tr class="separator:ac71500cd7f2194b59ae1173c90d292d8"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:aaa616ce0e224c6321469548c54561030"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#aaa616ce0e224c6321469548c54561030">BOOST_FIXTURE_TEST_CASE</a> (IsLayerSupportedFloat32Cl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 109 | <tr class="separator:aaa616ce0e224c6321469548c54561030"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:a30825c7d0a3c280ef4e3800e71a36f6a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a30825c7d0a3c280ef4e3800e71a36f6a">BOOST_FIXTURE_TEST_CASE</a> (IsLayerSupportedQAsymmU8Cl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 111 | <tr class="separator:a30825c7d0a3c280ef4e3800e71a36f6a"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:aee9113eb19d3e48fc73e9eb0b3ce061a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#aee9113eb19d3e48fc73e9eb0b3ce061a">BOOST_FIXTURE_TEST_CASE</a> (IsLayerSupportedQAsymmS8Cl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 113 | <tr class="separator:aee9113eb19d3e48fc73e9eb0b3ce061a"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:aa021aef2e8677449b53dfa2b76d740bb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#aa021aef2e8677449b53dfa2b76d740bb">BOOST_FIXTURE_TEST_CASE</a> (IsLayerSupportedQSymmS8Cl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 115 | <tr class="separator:aa021aef2e8677449b53dfa2b76d740bb"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a1958e012978fd4c40cb90f0781eafa7a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a1958e012978fd4c40cb90f0781eafa7a">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp16ToFp32SupportedCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 117 | <tr class="separator:a1958e012978fd4c40cb90f0781eafa7a"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a98703852b189f0391713194bb5e3be8e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a98703852b189f0391713194bb5e3be8e">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp16ToFp32SupportedFp32InputCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 119 | <tr class="separator:a98703852b189f0391713194bb5e3be8e"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:a3811203ce021d04386a4db36b50fa014"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a3811203ce021d04386a4db36b50fa014">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp16ToFp32SupportedFp16OutputCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 121 | <tr class="separator:a3811203ce021d04386a4db36b50fa014"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:a1488e25b30fb7538946047af3452ddfc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a1488e25b30fb7538946047af3452ddfc">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp32ToFp16SupportedCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 123 | <tr class="separator:a1488e25b30fb7538946047af3452ddfc"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:aa5bc535b3261f905caf521328174a0fa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#aa5bc535b3261f905caf521328174a0fa">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp32ToFp16SupportedFp16InputCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 125 | <tr class="separator:aa5bc535b3261f905caf521328174a0fa"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a38b9f4cacc3ff6bdfe820cef9a2dc5d2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#a38b9f4cacc3ff6bdfe820cef9a2dc5d2">BOOST_FIXTURE_TEST_CASE</a> (IsConvertFp32ToFp16SupportedFp32OutputCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 127 | <tr class="separator:a38b9f4cacc3ff6bdfe820cef9a2dc5d2"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:ac13048f7a82db6e53fe4602238f8c65a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_tests_8cpp.html#ac13048f7a82db6e53fe4602238f8c65a">BOOST_FIXTURE_TEST_CASE</a> (IsMeanSupportedCl, <a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a>)</td></tr> |
| 129 | <tr class="separator:ac13048f7a82db6e53fe4602238f8c65a"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | </table> |
| 131 | <h2 class="groupheader">Function Documentation</h2> |
| 132 | <a id="ac71500cd7f2194b59ae1173c90d292d8"></a> |
| 133 | <h2 class="memtitle"><span class="permalink"><a href="#ac71500cd7f2194b59ae1173c90d292d8">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/12]</span></h2> |
| 134 | |
| 135 | <div class="memitem"> |
| 136 | <div class="memproto"> |
| 137 | <table class="memname"> |
| 138 | <tr> |
| 139 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 140 | <td>(</td> |
| 141 | <td class="paramtype">IsLayerSupportedFloat16Cl </td> |
| 142 | <td class="paramname">, </td> |
| 143 | </tr> |
| 144 | <tr> |
| 145 | <td class="paramkey"></td> |
| 146 | <td></td> |
| 147 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 148 | <td class="paramname"> </td> |
| 149 | </tr> |
| 150 | <tr> |
| 151 | <td></td> |
| 152 | <td>)</td> |
| 153 | <td></td><td></td> |
| 154 | </tr> |
| 155 | </table> |
| 156 | </div><div class="memdoc"> |
| 157 | |
| 158 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00025">25</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 159 | <div class="fragment"><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>  <a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a> factory =</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  IsLayerSupportedTests<armnn::ClWorkloadFactory, armnn::DataType::Float16>(&factory);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div><div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 160 | </div><!-- fragment --> |
| 161 | </div> |
| 162 | </div> |
| 163 | <a id="aaa616ce0e224c6321469548c54561030"></a> |
| 164 | <h2 class="memtitle"><span class="permalink"><a href="#aaa616ce0e224c6321469548c54561030">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/12]</span></h2> |
| 165 | |
| 166 | <div class="memitem"> |
| 167 | <div class="memproto"> |
| 168 | <table class="memname"> |
| 169 | <tr> |
| 170 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 171 | <td>(</td> |
| 172 | <td class="paramtype">IsLayerSupportedFloat32Cl </td> |
| 173 | <td class="paramname">, </td> |
| 174 | </tr> |
| 175 | <tr> |
| 176 | <td class="paramkey"></td> |
| 177 | <td></td> |
| 178 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 179 | <td class="paramname"> </td> |
| 180 | </tr> |
| 181 | <tr> |
| 182 | <td></td> |
| 183 | <td>)</td> |
| 184 | <td></td><td></td> |
| 185 | </tr> |
| 186 | </table> |
| 187 | </div><div class="memdoc"> |
| 188 | |
| 189 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00032">32</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 190 | <div class="fragment"><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>  <a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a> factory =</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  IsLayerSupportedTests<armnn::ClWorkloadFactory, armnn::DataType::Float32>(&factory);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div><div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 191 | </div><!-- fragment --> |
| 192 | </div> |
| 193 | </div> |
| 194 | <a id="a30825c7d0a3c280ef4e3800e71a36f6a"></a> |
| 195 | <h2 class="memtitle"><span class="permalink"><a href="#a30825c7d0a3c280ef4e3800e71a36f6a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/12]</span></h2> |
| 196 | |
| 197 | <div class="memitem"> |
| 198 | <div class="memproto"> |
| 199 | <table class="memname"> |
| 200 | <tr> |
| 201 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 202 | <td>(</td> |
| 203 | <td class="paramtype">IsLayerSupportedQAsymmU8Cl </td> |
| 204 | <td class="paramname">, </td> |
| 205 | </tr> |
| 206 | <tr> |
| 207 | <td class="paramkey"></td> |
| 208 | <td></td> |
| 209 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 210 | <td class="paramname"> </td> |
| 211 | </tr> |
| 212 | <tr> |
| 213 | <td></td> |
| 214 | <td>)</td> |
| 215 | <td></td><td></td> |
| 216 | </tr> |
| 217 | </table> |
| 218 | </div><div class="memdoc"> |
| 219 | |
| 220 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00039">39</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 221 | <div class="fragment"><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>  <a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a> factory =</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  IsLayerSupportedTests<armnn::ClWorkloadFactory, armnn::DataType::QAsymmU8>(&factory);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div><div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 222 | </div><!-- fragment --> |
| 223 | </div> |
| 224 | </div> |
| 225 | <a id="aee9113eb19d3e48fc73e9eb0b3ce061a"></a> |
| 226 | <h2 class="memtitle"><span class="permalink"><a href="#aee9113eb19d3e48fc73e9eb0b3ce061a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/12]</span></h2> |
| 227 | |
| 228 | <div class="memitem"> |
| 229 | <div class="memproto"> |
| 230 | <table class="memname"> |
| 231 | <tr> |
| 232 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 233 | <td>(</td> |
| 234 | <td class="paramtype">IsLayerSupportedQAsymmS8Cl </td> |
| 235 | <td class="paramname">, </td> |
| 236 | </tr> |
| 237 | <tr> |
| 238 | <td class="paramkey"></td> |
| 239 | <td></td> |
| 240 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 241 | <td class="paramname"> </td> |
| 242 | </tr> |
| 243 | <tr> |
| 244 | <td></td> |
| 245 | <td>)</td> |
| 246 | <td></td><td></td> |
| 247 | </tr> |
| 248 | </table> |
| 249 | </div><div class="memdoc"> |
| 250 | |
| 251 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00046">46</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 252 | <div class="fragment"><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a> factory =</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  IsLayerSupportedTests<armnn::ClWorkloadFactory, armnn::DataType::QAsymmS8>(&factory);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> }</div><div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 253 | </div><!-- fragment --> |
| 254 | </div> |
| 255 | </div> |
| 256 | <a id="aa021aef2e8677449b53dfa2b76d740bb"></a> |
| 257 | <h2 class="memtitle"><span class="permalink"><a href="#aa021aef2e8677449b53dfa2b76d740bb">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[5/12]</span></h2> |
| 258 | |
| 259 | <div class="memitem"> |
| 260 | <div class="memproto"> |
| 261 | <table class="memname"> |
| 262 | <tr> |
| 263 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 264 | <td>(</td> |
| 265 | <td class="paramtype">IsLayerSupportedQSymmS8Cl </td> |
| 266 | <td class="paramname">, </td> |
| 267 | </tr> |
| 268 | <tr> |
| 269 | <td class="paramkey"></td> |
| 270 | <td></td> |
| 271 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 272 | <td class="paramname"> </td> |
| 273 | </tr> |
| 274 | <tr> |
| 275 | <td></td> |
| 276 | <td>)</td> |
| 277 | <td></td><td></td> |
| 278 | </tr> |
| 279 | </table> |
| 280 | </div><div class="memdoc"> |
| 281 | |
| 282 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00053">53</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 283 | <div class="fragment"><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a> factory =</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  ClWorkloadFactoryHelper::GetFactory(ClWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  IsLayerSupportedTests<armnn::ClWorkloadFactory, armnn::DataType::QSymmS8>(&factory);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> }</div><div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 284 | </div><!-- fragment --> |
| 285 | </div> |
| 286 | </div> |
| 287 | <a id="a1958e012978fd4c40cb90f0781eafa7a"></a> |
| 288 | <h2 class="memtitle"><span class="permalink"><a href="#a1958e012978fd4c40cb90f0781eafa7a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[6/12]</span></h2> |
| 289 | |
| 290 | <div class="memitem"> |
| 291 | <div class="memproto"> |
| 292 | <table class="memname"> |
| 293 | <tr> |
| 294 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 295 | <td>(</td> |
| 296 | <td class="paramtype">IsConvertFp16ToFp32SupportedCl </td> |
| 297 | <td class="paramname">, </td> |
| 298 | </tr> |
| 299 | <tr> |
| 300 | <td class="paramkey"></td> |
| 301 | <td></td> |
| 302 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 303 | <td class="paramname"> </td> |
| 304 | </tr> |
| 305 | <tr> |
| 306 | <td></td> |
| 307 | <td>)</td> |
| 308 | <td></td><td></td> |
| 309 | </tr> |
| 310 | </table> |
| 311 | </div><div class="memdoc"> |
| 312 | |
| 313 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00060">60</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 314 | |
| 315 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 316 | <div class="fragment"><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>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>(reasonIfUnsupported);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 317 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 318 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 319 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 320 | <div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.html#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 321 | </div><!-- fragment --> |
| 322 | </div> |
| 323 | </div> |
| 324 | <a id="a98703852b189f0391713194bb5e3be8e"></a> |
| 325 | <h2 class="memtitle"><span class="permalink"><a href="#a98703852b189f0391713194bb5e3be8e">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[7/12]</span></h2> |
| 326 | |
| 327 | <div class="memitem"> |
| 328 | <div class="memproto"> |
| 329 | <table class="memname"> |
| 330 | <tr> |
| 331 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 332 | <td>(</td> |
| 333 | <td class="paramtype">IsConvertFp16ToFp32SupportedFp32InputCl </td> |
| 334 | <td class="paramname">, </td> |
| 335 | </tr> |
| 336 | <tr> |
| 337 | <td class="paramkey"></td> |
| 338 | <td></td> |
| 339 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 340 | <td class="paramname"> </td> |
| 341 | </tr> |
| 342 | <tr> |
| 343 | <td></td> |
| 344 | <td>)</td> |
| 345 | <td></td><td></td> |
| 346 | </tr> |
| 347 | </table> |
| 348 | </div><div class="memdoc"> |
| 349 | |
| 350 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00070">70</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 351 | |
| 352 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 353 | <div class="fragment"><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>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</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>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Input should be Float16"</span>);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 354 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 355 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 356 | <div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.html#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 357 | </div><!-- fragment --> |
| 358 | </div> |
| 359 | </div> |
| 360 | <a id="a3811203ce021d04386a4db36b50fa014"></a> |
| 361 | <h2 class="memtitle"><span class="permalink"><a href="#a3811203ce021d04386a4db36b50fa014">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[8/12]</span></h2> |
| 362 | |
| 363 | <div class="memitem"> |
| 364 | <div class="memproto"> |
| 365 | <table class="memname"> |
| 366 | <tr> |
| 367 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 368 | <td>(</td> |
| 369 | <td class="paramtype">IsConvertFp16ToFp32SupportedFp16OutputCl </td> |
| 370 | <td class="paramname">, </td> |
| 371 | </tr> |
| 372 | <tr> |
| 373 | <td class="paramkey"></td> |
| 374 | <td></td> |
| 375 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 376 | <td class="paramname"> </td> |
| 377 | </tr> |
| 378 | <tr> |
| 379 | <td></td> |
| 380 | <td>)</td> |
| 381 | <td></td><td></td> |
| 382 | </tr> |
| 383 | </table> |
| 384 | </div><div class="memdoc"> |
| 385 | |
| 386 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00081">81</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 387 | |
| 388 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>.</p> |
| 389 | <div class="fragment"><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>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a>,</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, armnn::DataType::Float16>(reasonIfUnsupported);</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>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Output should be Float32"</span>);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }</div><div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 390 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 391 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 392 | <div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.html#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div> |
| 393 | </div><!-- fragment --> |
| 394 | </div> |
| 395 | </div> |
| 396 | <a id="a1488e25b30fb7538946047af3452ddfc"></a> |
| 397 | <h2 class="memtitle"><span class="permalink"><a href="#a1488e25b30fb7538946047af3452ddfc">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[9/12]</span></h2> |
| 398 | |
| 399 | <div class="memitem"> |
| 400 | <div class="memproto"> |
| 401 | <table class="memname"> |
| 402 | <tr> |
| 403 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 404 | <td>(</td> |
| 405 | <td class="paramtype">IsConvertFp32ToFp16SupportedCl </td> |
| 406 | <td class="paramname">, </td> |
| 407 | </tr> |
| 408 | <tr> |
| 409 | <td class="paramkey"></td> |
| 410 | <td></td> |
| 411 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 412 | <td class="paramname"> </td> |
| 413 | </tr> |
| 414 | <tr> |
| 415 | <td></td> |
| 416 | <td>)</td> |
| 417 | <td></td><td></td> |
| 418 | </tr> |
| 419 | </table> |
| 420 | </div><div class="memdoc"> |
| 421 | |
| 422 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00092">92</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 423 | |
| 424 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 425 | <div class="fragment"><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>  std::string reasonIfUnsupported;</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>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>(reasonIfUnsupported);</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.html#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 426 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 427 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 428 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 429 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 430 | </div><!-- fragment --> |
| 431 | </div> |
| 432 | </div> |
| 433 | <a id="aa5bc535b3261f905caf521328174a0fa"></a> |
| 434 | <h2 class="memtitle"><span class="permalink"><a href="#aa5bc535b3261f905caf521328174a0fa">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[10/12]</span></h2> |
| 435 | |
| 436 | <div class="memitem"> |
| 437 | <div class="memproto"> |
| 438 | <table class="memname"> |
| 439 | <tr> |
| 440 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 441 | <td>(</td> |
| 442 | <td class="paramtype">IsConvertFp32ToFp16SupportedFp16InputCl </td> |
| 443 | <td class="paramname">, </td> |
| 444 | </tr> |
| 445 | <tr> |
| 446 | <td class="paramkey"></td> |
| 447 | <td></td> |
| 448 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 449 | <td class="paramname"> </td> |
| 450 | </tr> |
| 451 | <tr> |
| 452 | <td></td> |
| 453 | <td>)</td> |
| 454 | <td></td><td></td> |
| 455 | </tr> |
| 456 | </table> |
| 457 | </div><div class="memdoc"> |
| 458 | |
| 459 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00102">102</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 460 | |
| 461 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::Float16</a>.</p> |
| 462 | <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>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>, armnn::DataType::Float16>(reasonIfUnsupported);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Input should be Float32"</span>);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.html#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 463 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 464 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a></div></div> |
| 465 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 466 | </div><!-- fragment --> |
| 467 | </div> |
| 468 | </div> |
| 469 | <a id="a38b9f4cacc3ff6bdfe820cef9a2dc5d2"></a> |
| 470 | <h2 class="memtitle"><span class="permalink"><a href="#a38b9f4cacc3ff6bdfe820cef9a2dc5d2">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[11/12]</span></h2> |
| 471 | |
| 472 | <div class="memitem"> |
| 473 | <div class="memproto"> |
| 474 | <table class="memname"> |
| 475 | <tr> |
| 476 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 477 | <td>(</td> |
| 478 | <td class="paramtype">IsConvertFp32ToFp16SupportedFp32OutputCl </td> |
| 479 | <td class="paramname">, </td> |
| 480 | </tr> |
| 481 | <tr> |
| 482 | <td class="paramkey"></td> |
| 483 | <td></td> |
| 484 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 485 | <td class="paramname"> </td> |
| 486 | </tr> |
| 487 | <tr> |
| 488 | <td></td> |
| 489 | <td>)</td> |
| 490 | <td></td><td></td> |
| 491 | </tr> |
| 492 | </table> |
| 493 | </div><div class="memdoc"> |
| 494 | |
| 495 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00113">113</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 496 | |
| 497 | <p class="reference">References <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 498 | <div class="fragment"><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">bool</span> result = IsConvertLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>, <a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a>,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(!result);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  BOOST_CHECK_EQUAL(reasonIfUnsupported, <span class="stringliteral">"Output should be Float16"</span>);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div><div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.html#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div> |
| 499 | <div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 500 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 501 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 502 | </div><!-- fragment --> |
| 503 | </div> |
| 504 | </div> |
| 505 | <a id="ac13048f7a82db6e53fe4602238f8c65a"></a> |
| 506 | <h2 class="memtitle"><span class="permalink"><a href="#ac13048f7a82db6e53fe4602238f8c65a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[12/12]</span></h2> |
| 507 | |
| 508 | <div class="memitem"> |
| 509 | <div class="memproto"> |
| 510 | <table class="memname"> |
| 511 | <tr> |
| 512 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 513 | <td>(</td> |
| 514 | <td class="paramtype">IsMeanSupportedCl </td> |
| 515 | <td class="paramname">, </td> |
| 516 | </tr> |
| 517 | <tr> |
| 518 | <td class="paramkey"></td> |
| 519 | <td></td> |
| 520 | <td class="paramtype"><a class="el" href="_cl_context_control_fixture_8hpp.html#ab41dc82879148bd7da5e19a2df965988">ClContextControlFixture</a> </td> |
| 521 | <td class="paramname"> </td> |
| 522 | </tr> |
| 523 | <tr> |
| 524 | <td></td> |
| 525 | <td>)</td> |
| 526 | <td></td><td></td> |
| 527 | </tr> |
| 528 | </table> |
| 529 | </div><div class="memdoc"> |
| 530 | |
| 531 | <p class="definition">Definition at line <a class="el" href="_cl_layer_support_tests_8cpp_source.html#l00124">124</a> of file <a class="el" href="_cl_layer_support_tests_8cpp_source.html">ClLayerSupportTests.cpp</a>.</p> |
| 532 | |
| 533 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK()</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> |
| 534 | <div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  std::string reasonIfUnsupported;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">bool</span> result = IsMeanLayerSupportedTests<<a class="code" href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a>,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>, armnn::DataType::Float32>(reasonIfUnsupported);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a>(result);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> |
| 535 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a0c262ba6f6c189a2d092d127c1b7627b"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a0c262ba6f6c189a2d092d127c1b7627b">BOOST_CHECK</a></div><div class="ttdeci">BOOST_CHECK(profilingService.GetCurrentState()==ProfilingState::WaitingForAck)</div></div> |
| 536 | <div class="ttc" id="classarmnn_1_1_cl_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_cl_workload_factory.html">armnn::ClWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_factory_8hpp_source.html#l00017">ClWorkloadFactory.hpp:17</a></div></div> |
| 537 | </div><!-- fragment --> |
| 538 | </div> |
| 539 | </div> |
| 540 | </div><!-- contents --> |
| 541 | </div><!-- doc-content --> |
| 542 | <!-- start footer part --> |
| 543 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 544 | <ul> |
| 545 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_1ad86c6d39ab715a831555571b9e98a5.html">cl</a></li><li class="navelem"><a class="el" href="dir_02bab2737bbb2fb3882a0be567244fbf.html">test</a></li><li class="navelem"><a class="el" href="_cl_layer_support_tests_8cpp.html">ClLayerSupportTests.cpp</a></li> |
| 546 | <li class="footer">Generated on Fri Mar 13 2020 16:07:00 for ArmNN by |
| 547 | <a href="http://www.doxygen.org/index.html"> |
| 548 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 549 | </ul> |
| 550 | </div> |
| 551 | </body> |
| 552 | </html> |