Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 1 | <!-- HTML header for doxygen 1.8.15--> |
| 2 | <!-- Remember to use version doxygen 1.8.15 +--> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 5 | <head> |
| 6 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 8 | <meta name="generator" content="Doxygen 1.8.15"/> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 9 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| 10 | <title>Compute Library: arm_gemm Namespace Reference</title> |
| 11 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 12 | <script type="text/javascript" src="jquery.js"></script> |
| 13 | <script type="text/javascript" src="dynsections.js"></script> |
| 14 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 15 | <script type="text/javascript" src="resize.js"></script> |
| 16 | <script type="text/javascript" src="navtreedata.js"></script> |
| 17 | <script type="text/javascript" src="navtree.js"></script> |
| 18 | <script type="text/javascript"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 19 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 20 | $(document).ready(initResizable); |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 21 | /* @license-end */</script> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 22 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 23 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 24 | <script type="text/javascript" src="search/search.js"></script> |
| 25 | <script type="text/x-mathjax-config"> |
| 26 | MathJax.Hub.Config({ |
| 27 | extensions: ["tex2jax.js"], |
| 28 | jax: ["input/TeX","output/HTML-CSS"], |
| 29 | }); |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 30 | </script><script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 31 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 32 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 33 | </head> |
| 34 | <body> |
| 35 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 36 | <div id="titlearea"> |
| 37 | <table cellspacing="0" cellpadding="0"> |
| 38 | <tbody> |
| 39 | <tr style="height: 56px;"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 40 | <img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 41 | <td style="padding-left: 0.5em;"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 42 | <div id="projectname"> |
Jenkins | 7f09cf7 | 2020-01-22 18:08:16 +0000 | [diff] [blame^] | 43 |  <span id="projectnumber">19.11.1</span> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 44 | </div> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | </div> |
| 50 | <!-- end header part --> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 51 | <!-- Generated by Doxygen 1.8.15 --> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 52 | <script type="text/javascript"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 53 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 54 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 55 | /* @license-end */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 56 | </script> |
| 57 | <script type="text/javascript" src="menudata.js"></script> |
| 58 | <script type="text/javascript" src="menu.js"></script> |
| 59 | <script type="text/javascript"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 60 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 65 | /* @license-end */</script> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 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"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 79 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 80 | $(document).ready(function(){initNavTree('namespacearm__gemm.xhtml','');}); |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 81 | /* @license-end */ |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 82 | </script> |
| 83 | <div id="doc-content"> |
| 84 | <!-- window showing the filter options --> |
| 85 | <div id="MSearchSelectWindow" |
| 86 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 87 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 88 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 89 | </div> |
| 90 | |
| 91 | <!-- iframe showing the search results (closed by default) --> |
| 92 | <div id="MSearchResultsWindow"> |
| 93 | <iframe src="javascript:void(0)" frameborder="0" |
| 94 | name="MSearchResults" id="MSearchResults"> |
| 95 | </iframe> |
| 96 | </div> |
| 97 | |
| 98 | <div class="header"> |
| 99 | <div class="summary"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 100 | <a href="#namespaces">Namespaces</a> | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 101 | <a href="#nested-classes">Data Structures</a> | |
| 102 | <a href="#enum-members">Enumerations</a> | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 103 | <a href="#func-members">Functions</a> | |
| 104 | <a href="#var-members">Variables</a> </div> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 105 | <div class="headertitle"> |
| 106 | <div class="title">arm_gemm Namespace Reference</div> </div> |
| 107 | </div><!--header--> |
| 108 | <div class="contents"> |
| 109 | <table class="memberdecls"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 110 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 111 | Namespaces</h2></td></tr> |
| 112 | <tr class="memitem:namespacearm__gemm_1_1utils"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm_1_1utils.xhtml">utils</a></td></tr> |
| 113 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table><table class="memberdecls"> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 116 | Data Structures</h2></td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 117 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1barrier.xhtml">barrier</a></td></tr> |
| 118 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 119 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_buffer.xhtml">Buffer</a></td></tr> |
| 120 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_buffer_manager.xhtml">BufferManager</a></td></tr> |
| 122 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 123 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemm_hybrid.xhtml">GemmHybrid</a></td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 124 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 125 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemm_hybrid_quantized.xhtml">GemmHybridQuantized</a></td></tr> |
| 126 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 127 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a></td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 128 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 129 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__gemm_1_1_gemm_implementation_3_01_top_00_01_tret_00_01_nothing_01_4.xhtml">GemmImplementation< Top, Tret, Nothing ></a></td></tr> |
| 130 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 131 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemm_interleaved.xhtml">GemmInterleaved</a></td></tr> |
| 132 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemm_native.xhtml">GemmNative</a></td></tr> |
| 134 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemv_batched.xhtml">GemvBatched</a></td></tr> |
| 136 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemv_native_transposed.xhtml">GemvNativeTransposed</a></td></tr> |
| 138 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_gemv_pretransposed.xhtml">GemvPretransposed</a></td></tr> |
| 140 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 141 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_n_d_range.xhtml">NDRange</a></td></tr> |
| 142 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 143 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_quantize_wrapper.xhtml">QuantizeWrapper</a></td></tr> |
| 144 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 145 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_std_transforms_fixed.xhtml">StdTransformsFixed</a></td></tr> |
| 146 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__gemm_1_1_std_transforms_s_v_e.xhtml">StdTransformsSVE</a></td></tr> |
| 148 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | </table><table class="memberdecls"> |
| 150 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> |
| 151 | Enumerations</h2></td></tr> |
| 152 | <tr class="memitem:a32006a302bde841f2cf4cc8bb131856b"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856b">BufferStatus</a> { <a class="el" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856baa5daf7f2ebbba4975d61dab1c40188c7">IDLE</a>, |
| 153 | <a class="el" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba63560453bdae7737f5a7f0b9fc23e398">POPULATING</a>, |
| 154 | <a class="el" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba802706a9238e2928077f97736854bad4">BUSY</a> |
| 155 | }</td></tr> |
| 156 | <tr class="separator:a32006a302bde841f2cf4cc8bb131856b"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | </table><table class="memberdecls"> |
| 158 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 159 | Functions</h2></td></tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 160 | <tr class="memitem:a7450234a5b6959d08a3ddac191b3fe1f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| 161 | <tr class="memitem:a7450234a5b6959d08a3ddac191b3fe1f"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a7450234a5b6959d08a3ddac191b3fe1f">bias_adder</a> (T *out, unsigned int stride, const T *bias, unsigned int rows, unsigned int cols)</td></tr> |
| 162 | <tr class="separator:a7450234a5b6959d08a3ddac191b3fe1f"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:ad5675a7992a4e9eb9b2bc67e5715146d"><td class="memTemplParams" colspan="2">template<bool DoBias, typename T > </td></tr> |
| 164 | <tr class="memitem:ad5675a7992a4e9eb9b2bc67e5715146d"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#ad5675a7992a4e9eb9b2bc67e5715146d">activator</a> (T *out, unsigned int stride, const T *bias, Activation act, unsigned int rows, unsigned int cols)</td></tr> |
| 165 | <tr class="separator:ad5675a7992a4e9eb9b2bc67e5715146d"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 166 | <tr class="memitem:a60b1162856ab084a3588fc2d5fdec539"><td class="memTemplParams" colspan="2">template<> </td></tr> |
| 167 | <tr class="memitem:a60b1162856ab084a3588fc2d5fdec539"><td class="memTemplItemLeft" align="right" valign="top">const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a>< float, float > * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a60b1162856ab084a3588fc2d5fdec539">gemm_implementation_list< float, float ></a> ()</td></tr> |
| 168 | <tr class="separator:a60b1162856ab084a3588fc2d5fdec539"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 169 | <tr class="memitem:a4fb5776f35967c7173f432cb096de217"><td class="memItemLeft" align="right" valign="top">template UniqueGemmCommon< float, float > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a4fb5776f35967c7173f432cb096de217">gemm< float, float, Nothing ></a> (const GemmArgs &args, const Nothing &)</td></tr> |
| 170 | <tr class="separator:a4fb5776f35967c7173f432cb096de217"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:aeaa8a3f397520dca43d1dabb3774e2c9"><td class="memItemLeft" align="right" valign="top">template KernelDescription </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#aeaa8a3f397520dca43d1dabb3774e2c9">get_gemm_method< float, float, Nothing ></a> (const GemmArgs &args, const Nothing &)</td></tr> |
| 172 | <tr class="separator:aeaa8a3f397520dca43d1dabb3774e2c9"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:a4ac39db987b3fbd8e8a6e971961b41f4"><td class="memItemLeft" align="right" valign="top">template std::vector< KernelDescription > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a4ac39db987b3fbd8e8a6e971961b41f4">get_compatible_kernels< float, float, Nothing ></a> (const GemmArgs &args, const Nothing &)</td></tr> |
| 174 | <tr class="separator:a4ac39db987b3fbd8e8a6e971961b41f4"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 175 | <tr class="memitem:aafbf874fc03cb6d5e6d79e93f5dc1d76"><td class="memTemplParams" colspan="2">template<typename Top , typename Tret , class OutputStage = Nothing> </td></tr> |
| 176 | <tr class="memitem:aafbf874fc03cb6d5e6d79e93f5dc1d76"><td class="memTemplItemLeft" align="right" valign="top">const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a>< Top, Tret, OutputStage > * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#aafbf874fc03cb6d5e6d79e93f5dc1d76">gemm_implementation_list</a> ()</td></tr> |
| 177 | <tr class="separator:aafbf874fc03cb6d5e6d79e93f5dc1d76"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 178 | <tr class="memitem:adfe29ef1042864157b1fd4c72cb21fa0"><td class="memTemplParams" colspan="2">template<typename Top , typename Tret , class OutputStage > </td></tr> |
| 179 | <tr class="memitem:adfe29ef1042864157b1fd4c72cb21fa0"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#adfe29ef1042864157b1fd4c72cb21fa0">find_implementation</a> (const GemmArgs &args, const OutputStage &os, const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a>< Top, Tret, OutputStage > *&impl)</td></tr> |
| 180 | <tr class="separator:adfe29ef1042864157b1fd4c72cb21fa0"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | <tr class="memitem:abce3ed84b7a8f5c6e45809ca1089b1cf"><td class="memTemplParams" colspan="2">template<typename Top , typename Tret , class OutputStage > </td></tr> |
| 182 | <tr class="memitem:abce3ed84b7a8f5c6e45809ca1089b1cf"><td class="memTemplItemLeft" align="right" valign="top">std::vector< KernelDescription > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#abce3ed84b7a8f5c6e45809ca1089b1cf">get_compatible_kernels</a> (const GemmArgs &args, const OutputStage &os)</td></tr> |
| 183 | <tr class="separator:abce3ed84b7a8f5c6e45809ca1089b1cf"><td class="memSeparator" colspan="2"> </td></tr> |
| 184 | <tr class="memitem:a64b2f658fb34f894449e0279747a6390"><td class="memTemplParams" colspan="2">template<typename Top , typename Tret , class OutputStage > </td></tr> |
| 185 | <tr class="memitem:a64b2f658fb34f894449e0279747a6390"><td class="memTemplItemLeft" align="right" valign="top">UniqueGemmCommon< Top, Tret > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a64b2f658fb34f894449e0279747a6390">gemm</a> (const GemmArgs &args, const OutputStage &os)</td></tr> |
| 186 | <tr class="separator:a64b2f658fb34f894449e0279747a6390"><td class="memSeparator" colspan="2"> </td></tr> |
| 187 | <tr class="memitem:ad35cfe7c388edeac570fb9e01180dda6"><td class="memTemplParams" colspan="2">template<typename Top , typename Tret , class OutputStage > </td></tr> |
| 188 | <tr class="memitem:ad35cfe7c388edeac570fb9e01180dda6"><td class="memTemplItemLeft" align="right" valign="top">KernelDescription </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#ad35cfe7c388edeac570fb9e01180dda6">get_gemm_method</a> (const GemmArgs &args, const OutputStage &os)</td></tr> |
| 189 | <tr class="separator:ad35cfe7c388edeac570fb9e01180dda6"><td class="memSeparator" colspan="2"> </td></tr> |
| 190 | <tr class="memitem:aa2ed1c3595c8114064e8170b00df37c5"><td class="memTemplParams" colspan="2">template<unsigned int twidth, unsigned int height, bool sve = false, typename Tin , typename Tout > </td></tr> |
| 191 | <tr class="memitem:aa2ed1c3595c8114064e8170b00df37c5"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#aa2ed1c3595c8114064e8170b00df37c5">MergeResults</a> (Tout *out, const Tin *in, int ldc, int y0, int ymax, int x0, int xmax, const Tout *bias, Activation act, bool append)</td></tr> |
| 192 | <tr class="separator:aa2ed1c3595c8114064e8170b00df37c5"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 193 | <tr class="memitem:a5367d66fa8e4648db3f690e9cfa7d498"><td class="memTemplParams" colspan="2">template<typename Tin , typename Tout > </td></tr> |
| 194 | <tr class="memitem:a5367d66fa8e4648db3f690e9cfa7d498"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a5367d66fa8e4648db3f690e9cfa7d498">requantize_block_32</a> (const ARequantizeLayer32 &qp, unsigned int width, unsigned int height, const Tin *input, unsigned int in_stride, Tout *output, unsigned int out_stride, const int32_t *row_bias, const int32_t *col_bias)</td></tr> |
| 195 | <tr class="separator:a5367d66fa8e4648db3f690e9cfa7d498"><td class="memSeparator" colspan="2"> </td></tr> |
| 196 | <tr class="memitem:a79d7971bf26ac0d4df7662a47d65d068"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| 197 | <tr class="memitem:a79d7971bf26ac0d4df7662a47d65d068"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a79d7971bf26ac0d4df7662a47d65d068">compute_row_sums</a> (const ARequantizeLayer32 &qp, unsigned int width, unsigned int height, const T *input, unsigned int in_stride, int32_t *row_bias)</td></tr> |
| 198 | <tr class="separator:a79d7971bf26ac0d4df7662a47d65d068"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 199 | <tr class="memitem:af0b4b7759cb0829cb2a54e73b1555a01"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| 200 | <tr class="memitem:af0b4b7759cb0829cb2a54e73b1555a01"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#af0b4b7759cb0829cb2a54e73b1555a01">compute_col_sums</a> (const ARequantizeLayer32 &qp, unsigned int width, unsigned int height, const T *input, unsigned int in_stride, int32_t *col_bias, unsigned int depth, unsigned int multi, unsigned int first_col)</td></tr> |
| 201 | <tr class="separator:af0b4b7759cb0829cb2a54e73b1555a01"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 202 | </table><table class="memberdecls"> |
| 203 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> |
| 204 | Variables</h2></td></tr> |
| 205 | <tr class="memitem:a08423b5e87249f9855c82d61e80a6aba"><td class="memItemLeft" align="right" valign="top">std::mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__gemm.xhtml#a08423b5e87249f9855c82d61e80a6aba">report_mutex</a></td></tr> |
| 206 | <tr class="separator:a08423b5e87249f9855c82d61e80a6aba"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 207 | </table> |
| 208 | <h2 class="groupheader">Enumeration Type Documentation</h2> |
| 209 | <a id="a32006a302bde841f2cf4cc8bb131856b"></a> |
| 210 | <h2 class="memtitle"><span class="permalink"><a href="#a32006a302bde841f2cf4cc8bb131856b">◆ </a></span>BufferStatus</h2> |
| 211 | |
| 212 | <div class="memitem"> |
| 213 | <div class="memproto"> |
| 214 | <table class="mlabels"> |
| 215 | <tr> |
| 216 | <td class="mlabels-left"> |
| 217 | <table class="memname"> |
| 218 | <tr> |
| 219 | <td class="memname">enum <a class="el" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856b">BufferStatus</a></td> |
| 220 | </tr> |
| 221 | </table> |
| 222 | </td> |
| 223 | <td class="mlabels-right"> |
| 224 | <span class="mlabels"><span class="mlabel">strong</span></span> </td> |
| 225 | </tr> |
| 226 | </table> |
| 227 | </div><div class="memdoc"> |
| 228 | <table class="fieldtable"> |
| 229 | <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a32006a302bde841f2cf4cc8bb131856baa5daf7f2ebbba4975d61dab1c40188c7"></a>IDLE </td><td class="fielddoc"></td></tr> |
| 230 | <tr><td class="fieldname"><a id="a32006a302bde841f2cf4cc8bb131856ba63560453bdae7737f5a7f0b9fc23e398"></a>POPULATING </td><td class="fielddoc"></td></tr> |
| 231 | <tr><td class="fieldname"><a id="a32006a302bde841f2cf4cc8bb131856ba802706a9238e2928077f97736854bad4"></a>BUSY </td><td class="fielddoc"></td></tr> |
| 232 | </table> |
| 233 | |
| 234 | <p class="definition">Definition at line <a class="el" href="buffer__manager_8hpp_source.xhtml#l00044">44</a> of file <a class="el" href="buffer__manager_8hpp_source.xhtml">buffer_manager.hpp</a>.</p> |
| 235 | <div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856baa5daf7f2ebbba4975d61dab1c40188c7">IDLE</a>,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba63560453bdae7737f5a7f0b9fc23e398">POPULATING</a>,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba802706a9238e2928077f97736854bad4">BUSY</a></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div><div class="ttc" id="namespacearm__gemm_xhtml_a32006a302bde841f2cf4cc8bb131856ba63560453bdae7737f5a7f0b9fc23e398"><div class="ttname"><a href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba63560453bdae7737f5a7f0b9fc23e398">arm_gemm::BufferStatus::POPULATING</a></div></div> |
| 236 | <div class="ttc" id="namespacearm__gemm_xhtml_a32006a302bde841f2cf4cc8bb131856ba802706a9238e2928077f97736854bad4"><div class="ttname"><a href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856ba802706a9238e2928077f97736854bad4">arm_gemm::BufferStatus::BUSY</a></div></div> |
| 237 | <div class="ttc" id="namespacearm__gemm_xhtml_a32006a302bde841f2cf4cc8bb131856baa5daf7f2ebbba4975d61dab1c40188c7"><div class="ttname"><a href="namespacearm__gemm.xhtml#a32006a302bde841f2cf4cc8bb131856baa5daf7f2ebbba4975d61dab1c40188c7">arm_gemm::BufferStatus::IDLE</a></div></div> |
| 238 | </div><!-- fragment --> |
| 239 | </div> |
| 240 | </div> |
| 241 | <h2 class="groupheader">Function Documentation</h2> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 242 | <a id="ad5675a7992a4e9eb9b2bc67e5715146d"></a> |
| 243 | <h2 class="memtitle"><span class="permalink"><a href="#ad5675a7992a4e9eb9b2bc67e5715146d">◆ </a></span>activator()</h2> |
| 244 | |
| 245 | <div class="memitem"> |
| 246 | <div class="memproto"> |
| 247 | <table class="mlabels"> |
| 248 | <tr> |
| 249 | <td class="mlabels-left"> |
| 250 | <table class="memname"> |
| 251 | <tr> |
| 252 | <td class="memname">void arm_gemm::activator </td> |
| 253 | <td>(</td> |
| 254 | <td class="paramtype">T * </td> |
| 255 | <td class="paramname"><em>out</em>, </td> |
| 256 | </tr> |
| 257 | <tr> |
| 258 | <td class="paramkey"></td> |
| 259 | <td></td> |
| 260 | <td class="paramtype">unsigned int </td> |
| 261 | <td class="paramname"><em>stride</em>, </td> |
| 262 | </tr> |
| 263 | <tr> |
| 264 | <td class="paramkey"></td> |
| 265 | <td></td> |
| 266 | <td class="paramtype">const T * </td> |
| 267 | <td class="paramname"><em>bias</em>, </td> |
| 268 | </tr> |
| 269 | <tr> |
| 270 | <td class="paramkey"></td> |
| 271 | <td></td> |
| 272 | <td class="paramtype">Activation </td> |
| 273 | <td class="paramname"><em>act</em>, </td> |
| 274 | </tr> |
| 275 | <tr> |
| 276 | <td class="paramkey"></td> |
| 277 | <td></td> |
| 278 | <td class="paramtype">unsigned int </td> |
| 279 | <td class="paramname"><em>rows</em>, </td> |
| 280 | </tr> |
| 281 | <tr> |
| 282 | <td class="paramkey"></td> |
| 283 | <td></td> |
| 284 | <td class="paramtype">unsigned int </td> |
| 285 | <td class="paramname"><em>cols</em> </td> |
| 286 | </tr> |
| 287 | <tr> |
| 288 | <td></td> |
| 289 | <td>)</td> |
| 290 | <td></td><td></td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | </td> |
| 294 | <td class="mlabels-right"> |
| 295 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 296 | </tr> |
| 297 | </table> |
| 298 | </div><div class="memdoc"> |
| 299 | |
| 300 | <p class="definition">Definition at line <a class="el" href="bias__adder_8hpp_source.xhtml#l00040">40</a> of file <a class="el" href="bias__adder_8hpp_source.xhtml">bias_adder.hpp</a>.</p> |
| 301 | <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>  <span class="keywordflow">if</span> (act.type == Activation::Type::None) {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span> (DoBias) {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="namespacearm__gemm.xhtml#a7450234a5b6959d08a3ddac191b3fe1f">bias_adder</a>(out, stride, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>, rows, cols);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</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"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (act.type == Activation::Type::ReLU) {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row=0; row<rows; row++) {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> col=0; col<cols; col++) {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  T &v = out[row * stride + col];</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">if</span> (DoBias) {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  v += <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>[col];</div><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>  v = std::max(static_cast<T>(0), v);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">if</span> (act.type == Activation::Type::BoundedReLU) {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">const</span> T max = static_cast<T>(act.param1);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row=0; row<rows; row++) {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> col=0; col<cols; col++) {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  T &v = out[row * stride + col];</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">if</span> (DoBias) {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  v += <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>[col];</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  v = std::max(static_cast<T>(0), std::min(v, max));</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</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> }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a3a77be8aebd8e00522b32061d46ccdbd"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">arm_compute::test::validation::bias</a></div><div class="ttdeci">CLTensor bias</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">ConvolutionLayer.cpp:181</a></div></div> |
| 302 | <div class="ttc" id="namespacearm__gemm_xhtml_a7450234a5b6959d08a3ddac191b3fe1f"><div class="ttname"><a href="namespacearm__gemm.xhtml#a7450234a5b6959d08a3ddac191b3fe1f">arm_gemm::bias_adder</a></div><div class="ttdeci">void bias_adder(T *out, unsigned int stride, const T *bias, unsigned int rows, unsigned int cols)</div><div class="ttdef"><b>Definition:</b> <a href="bias__adder_8hpp_source.xhtml#l00031">bias_adder.hpp:31</a></div></div> |
| 303 | </div><!-- fragment --> |
| 304 | <p class="reference">References <a class="el" href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">arm_compute::test::validation::bias</a>, and <a class="el" href="bias__adder_8hpp_source.xhtml#l00031">bias_adder()</a>.</p> |
| 305 | |
| 306 | </div> |
| 307 | </div> |
| 308 | <a id="a7450234a5b6959d08a3ddac191b3fe1f"></a> |
| 309 | <h2 class="memtitle"><span class="permalink"><a href="#a7450234a5b6959d08a3ddac191b3fe1f">◆ </a></span>bias_adder()</h2> |
| 310 | |
| 311 | <div class="memitem"> |
| 312 | <div class="memproto"> |
| 313 | <table class="mlabels"> |
| 314 | <tr> |
| 315 | <td class="mlabels-left"> |
| 316 | <table class="memname"> |
| 317 | <tr> |
| 318 | <td class="memname">void arm_gemm::bias_adder </td> |
| 319 | <td>(</td> |
| 320 | <td class="paramtype">T * </td> |
| 321 | <td class="paramname"><em>out</em>, </td> |
| 322 | </tr> |
| 323 | <tr> |
| 324 | <td class="paramkey"></td> |
| 325 | <td></td> |
| 326 | <td class="paramtype">unsigned int </td> |
| 327 | <td class="paramname"><em>stride</em>, </td> |
| 328 | </tr> |
| 329 | <tr> |
| 330 | <td class="paramkey"></td> |
| 331 | <td></td> |
| 332 | <td class="paramtype">const T * </td> |
| 333 | <td class="paramname"><em>bias</em>, </td> |
| 334 | </tr> |
| 335 | <tr> |
| 336 | <td class="paramkey"></td> |
| 337 | <td></td> |
| 338 | <td class="paramtype">unsigned int </td> |
| 339 | <td class="paramname"><em>rows</em>, </td> |
| 340 | </tr> |
| 341 | <tr> |
| 342 | <td class="paramkey"></td> |
| 343 | <td></td> |
| 344 | <td class="paramtype">unsigned int </td> |
| 345 | <td class="paramname"><em>cols</em> </td> |
| 346 | </tr> |
| 347 | <tr> |
| 348 | <td></td> |
| 349 | <td>)</td> |
| 350 | <td></td><td></td> |
| 351 | </tr> |
| 352 | </table> |
| 353 | </td> |
| 354 | <td class="mlabels-right"> |
| 355 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 356 | </tr> |
| 357 | </table> |
| 358 | </div><div class="memdoc"> |
| 359 | |
| 360 | <p class="definition">Definition at line <a class="el" href="bias__adder_8hpp_source.xhtml#l00031">31</a> of file <a class="el" href="bias__adder_8hpp_source.xhtml">bias_adder.hpp</a>.</p> |
| 361 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> row=0; row<rows; row++) {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> col=0; col<cols; col++) {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  out[row * stride + col] += <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>[col];</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"> 37</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a3a77be8aebd8e00522b32061d46ccdbd"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">arm_compute::test::validation::bias</a></div><div class="ttdeci">CLTensor bias</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">ConvolutionLayer.cpp:181</a></div></div> |
| 362 | </div><!-- fragment --> |
| 363 | <p class="reference">References <a class="el" href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">arm_compute::test::validation::bias</a>.</p> |
| 364 | |
| 365 | <p class="reference">Referenced by <a class="el" href="bias__adder_8hpp_source.xhtml#l00040">activator()</a>.</p> |
| 366 | |
| 367 | </div> |
| 368 | </div> |
| 369 | <a id="af0b4b7759cb0829cb2a54e73b1555a01"></a> |
| 370 | <h2 class="memtitle"><span class="permalink"><a href="#af0b4b7759cb0829cb2a54e73b1555a01">◆ </a></span>compute_col_sums()</h2> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 371 | |
| 372 | <div class="memitem"> |
| 373 | <div class="memproto"> |
| 374 | <table class="memname"> |
| 375 | <tr> |
| 376 | <td class="memname">void arm_gemm::compute_col_sums </td> |
| 377 | <td>(</td> |
| 378 | <td class="paramtype">const ARequantizeLayer32 & </td> |
| 379 | <td class="paramname"><em>qp</em>, </td> |
| 380 | </tr> |
| 381 | <tr> |
| 382 | <td class="paramkey"></td> |
| 383 | <td></td> |
| 384 | <td class="paramtype">unsigned int </td> |
| 385 | <td class="paramname"><em>width</em>, </td> |
| 386 | </tr> |
| 387 | <tr> |
| 388 | <td class="paramkey"></td> |
| 389 | <td></td> |
| 390 | <td class="paramtype">unsigned int </td> |
| 391 | <td class="paramname"><em>height</em>, </td> |
| 392 | </tr> |
| 393 | <tr> |
| 394 | <td class="paramkey"></td> |
| 395 | <td></td> |
| 396 | <td class="paramtype">const T * </td> |
| 397 | <td class="paramname"><em>input</em>, </td> |
| 398 | </tr> |
| 399 | <tr> |
| 400 | <td class="paramkey"></td> |
| 401 | <td></td> |
| 402 | <td class="paramtype">unsigned int </td> |
| 403 | <td class="paramname"><em>in_stride</em>, </td> |
| 404 | </tr> |
| 405 | <tr> |
| 406 | <td class="paramkey"></td> |
| 407 | <td></td> |
| 408 | <td class="paramtype">int32_t * </td> |
| 409 | <td class="paramname"><em>col_bias</em>, </td> |
| 410 | </tr> |
| 411 | <tr> |
| 412 | <td class="paramkey"></td> |
| 413 | <td></td> |
| 414 | <td class="paramtype">unsigned int </td> |
| 415 | <td class="paramname"><em>depth</em>, </td> |
| 416 | </tr> |
| 417 | <tr> |
| 418 | <td class="paramkey"></td> |
| 419 | <td></td> |
| 420 | <td class="paramtype">unsigned int </td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 421 | <td class="paramname"><em>multi</em>, </td> |
| 422 | </tr> |
| 423 | <tr> |
| 424 | <td class="paramkey"></td> |
| 425 | <td></td> |
| 426 | <td class="paramtype">unsigned int </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 427 | <td class="paramname"><em>first_col</em> </td> |
| 428 | </tr> |
| 429 | <tr> |
| 430 | <td></td> |
| 431 | <td>)</td> |
| 432 | <td></td><td></td> |
| 433 | </tr> |
| 434 | </table> |
| 435 | </div><div class="memdoc"> |
| 436 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 437 | <p class="reference">Referenced by <a class="el" href="gemm__hybrid__quantized_8hpp_source.xhtml#l00259">GemmHybridQuantized< strategy, To, Tr >::pretranspose_B_array()</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 438 | |
| 439 | </div> |
| 440 | </div> |
| 441 | <a id="a79d7971bf26ac0d4df7662a47d65d068"></a> |
| 442 | <h2 class="memtitle"><span class="permalink"><a href="#a79d7971bf26ac0d4df7662a47d65d068">◆ </a></span>compute_row_sums()</h2> |
| 443 | |
| 444 | <div class="memitem"> |
| 445 | <div class="memproto"> |
| 446 | <table class="memname"> |
| 447 | <tr> |
| 448 | <td class="memname">void arm_gemm::compute_row_sums </td> |
| 449 | <td>(</td> |
| 450 | <td class="paramtype">const ARequantizeLayer32 & </td> |
| 451 | <td class="paramname"><em>qp</em>, </td> |
| 452 | </tr> |
| 453 | <tr> |
| 454 | <td class="paramkey"></td> |
| 455 | <td></td> |
| 456 | <td class="paramtype">unsigned int </td> |
| 457 | <td class="paramname"><em>width</em>, </td> |
| 458 | </tr> |
| 459 | <tr> |
| 460 | <td class="paramkey"></td> |
| 461 | <td></td> |
| 462 | <td class="paramtype">unsigned int </td> |
| 463 | <td class="paramname"><em>height</em>, </td> |
| 464 | </tr> |
| 465 | <tr> |
| 466 | <td class="paramkey"></td> |
| 467 | <td></td> |
| 468 | <td class="paramtype">const T * </td> |
| 469 | <td class="paramname"><em>input</em>, </td> |
| 470 | </tr> |
| 471 | <tr> |
| 472 | <td class="paramkey"></td> |
| 473 | <td></td> |
| 474 | <td class="paramtype">unsigned int </td> |
| 475 | <td class="paramname"><em>in_stride</em>, </td> |
| 476 | </tr> |
| 477 | <tr> |
| 478 | <td class="paramkey"></td> |
| 479 | <td></td> |
| 480 | <td class="paramtype">int32_t * </td> |
| 481 | <td class="paramname"><em>row_bias</em> </td> |
| 482 | </tr> |
| 483 | <tr> |
| 484 | <td></td> |
| 485 | <td>)</td> |
| 486 | <td></td><td></td> |
| 487 | </tr> |
| 488 | </table> |
| 489 | </div><div class="memdoc"> |
| 490 | |
| 491 | </div> |
| 492 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 493 | <a id="adfe29ef1042864157b1fd4c72cb21fa0"></a> |
| 494 | <h2 class="memtitle"><span class="permalink"><a href="#adfe29ef1042864157b1fd4c72cb21fa0">◆ </a></span>find_implementation()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 495 | |
| 496 | <div class="memitem"> |
| 497 | <div class="memproto"> |
| 498 | <table class="memname"> |
| 499 | <tr> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 500 | <td class="memname">bool arm_gemm::find_implementation </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 501 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 502 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 503 | <td class="paramname"><em>args</em>, </td> |
| 504 | </tr> |
| 505 | <tr> |
| 506 | <td class="paramkey"></td> |
| 507 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 508 | <td class="paramtype">const OutputStage & </td> |
| 509 | <td class="paramname"><em>os</em>, </td> |
| 510 | </tr> |
| 511 | <tr> |
| 512 | <td class="paramkey"></td> |
| 513 | <td></td> |
| 514 | <td class="paramtype">const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a>< Top, Tret, OutputStage > *& </td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 515 | <td class="paramname"><em>impl</em> </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 516 | </tr> |
| 517 | <tr> |
| 518 | <td></td> |
| 519 | <td>)</td> |
| 520 | <td></td><td></td> |
| 521 | </tr> |
| 522 | </table> |
| 523 | </div><div class="memdoc"> |
| 524 | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 525 | <p class="definition">Definition at line <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00119">119</a> of file <a class="el" href="gemm__implementation_8hpp_source.xhtml">gemm_implementation.hpp</a>.</p> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 526 | <div class="fragment"><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>  <span class="keyword">auto</span> gemms = gemm_implementation_list<Top, Tret, OutputStage>();</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> GemmConfig *cfg = <a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>._cfg;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *saved_impl = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">for</span> (<span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *i = gemms; i->method != GemmMethod::DEFAULT; i++) {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">/* Skip if this implementation doesn't support these args. */</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (!i->do_is_supported(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os)) {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</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>  <span class="comment">/* Skip if a specific method is requested and this is a different one. */</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">if</span> (cfg && cfg->method != GemmMethod::DEFAULT && i->method != cfg->method) {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">/* Skip if a filter is to be applied and it doesn't match. */</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span> (cfg && cfg->filter != <span class="stringliteral">""</span> && !strstr(i->name, cfg->filter.c_str())) {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">/* At this point, if we don't have a saved implementation, save this</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"> * one. This is so that we always return something if a filter</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> * matches, even if it doesn't recommend itself.</span></div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> */</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span> (saved_impl == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  saved_impl=i;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">/* Check that this method recommends itself. */</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">if</span> (!i->do_is_recommended(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os)) {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  impl=i;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="comment">/* We didn't find an option matching the filters that recommended</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"> * itself. But if we found something earlier that matched the filters</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> * but wasn't recommended, return it here. */</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">if</span> (saved_impl != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  impl = saved_impl;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div><div class="ttc" id="namespace_gemm_tuner_xhtml_a8187411843a6284ffb964ef3fb9fcab3"><div class="ttname"><a href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">GemmTuner.args</a></div><div class="ttdeci">args</div><div class="ttdef"><b>Definition:</b> <a href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner.py:555</a></div></div> |
| 527 | </div><!-- fragment --> |
| 528 | <p class="reference">References <a class="el" href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner::args</a>, and <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00037">GemmImplementation< Top, Tret, OutputStage >::method</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 529 | |
| 530 | <p class="reference">Referenced by <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00171">get_compatible_kernels()</a>.</p> |
Jenkins | 4ba87db | 2019-05-23 17:11:51 +0100 | [diff] [blame] | 531 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 532 | </div> |
| 533 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 534 | <a id="a64b2f658fb34f894449e0279747a6390"></a> |
| 535 | <h2 class="memtitle"><span class="permalink"><a href="#a64b2f658fb34f894449e0279747a6390">◆ </a></span>gemm()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 536 | |
| 537 | <div class="memitem"> |
| 538 | <div class="memproto"> |
| 539 | <table class="memname"> |
| 540 | <tr> |
| 541 | <td class="memname">UniqueGemmCommon<Top, Tret> arm_gemm::gemm </td> |
| 542 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 543 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 544 | <td class="paramname"><em>args</em>, </td> |
| 545 | </tr> |
| 546 | <tr> |
| 547 | <td class="paramkey"></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 548 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 549 | <td class="paramtype">const OutputStage & </td> |
| 550 | <td class="paramname"><em>os</em> </td> |
| 551 | </tr> |
| 552 | <tr> |
| 553 | <td></td> |
| 554 | <td>)</td> |
| 555 | <td></td><td></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 556 | </tr> |
| 557 | </table> |
| 558 | </div><div class="memdoc"> |
| 559 | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 560 | <p class="definition">Definition at line <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00193">193</a> of file <a class="el" href="gemm__implementation_8hpp_source.xhtml">gemm_implementation.hpp</a>.</p> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 561 | <div class="fragment"><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *impl;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="keywordflow">if</span> (find_implementation<Top, Tret, OutputStage>(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os, impl)) {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> UniqueGemmCommon<Top, Tret>(impl->do_instantiate(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os));</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">return</span> UniqueGemmCommon<Top, Tret>(<span class="keyword">nullptr</span>);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> }</div><div class="ttc" id="namespace_gemm_tuner_xhtml_a8187411843a6284ffb964ef3fb9fcab3"><div class="ttname"><a href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">GemmTuner.args</a></div><div class="ttdeci">args</div><div class="ttdef"><b>Definition:</b> <a href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner.py:555</a></div></div> |
| 562 | </div><!-- fragment --> |
| 563 | <p class="reference">References <a class="el" href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner::args</a>, and <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00059">GemmImplementation< Top, Tret, OutputStage >::do_instantiate()</a>.</p> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 564 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 565 | </div> |
| 566 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 567 | <a id="a4fb5776f35967c7173f432cb096de217"></a> |
| 568 | <h2 class="memtitle"><span class="permalink"><a href="#a4fb5776f35967c7173f432cb096de217">◆ </a></span>gemm< float, float, Nothing >()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 569 | |
| 570 | <div class="memitem"> |
| 571 | <div class="memproto"> |
| 572 | <table class="memname"> |
| 573 | <tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 574 | <td class="memname">template UniqueGemmCommon<float, float> <a class="el" href="namespacearm__gemm.xhtml#a64b2f658fb34f894449e0279747a6390">arm_gemm::gemm</a>< float, float, Nothing > </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 575 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 576 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 577 | <td class="paramname"><em>args</em>, </td> |
| 578 | </tr> |
| 579 | <tr> |
| 580 | <td class="paramkey"></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 581 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 582 | <td class="paramtype">const Nothing & </td> |
| 583 | <td class="paramname"> </td> |
| 584 | </tr> |
| 585 | <tr> |
| 586 | <td></td> |
| 587 | <td>)</td> |
| 588 | <td></td><td></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 589 | </tr> |
| 590 | </table> |
| 591 | </div><div class="memdoc"> |
| 592 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 593 | </div> |
| 594 | </div> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 595 | <a id="aafbf874fc03cb6d5e6d79e93f5dc1d76"></a> |
| 596 | <h2 class="memtitle"><span class="permalink"><a href="#aafbf874fc03cb6d5e6d79e93f5dc1d76">◆ </a></span>gemm_implementation_list()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 597 | |
| 598 | <div class="memitem"> |
| 599 | <div class="memproto"> |
| 600 | <table class="memname"> |
| 601 | <tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 602 | <td class="memname">const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a><Top, Tret, OutputStage>* arm_gemm::gemm_implementation_list </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 603 | <td>(</td> |
| 604 | <td class="paramname"></td><td>)</td> |
| 605 | <td></td> |
| 606 | </tr> |
| 607 | </table> |
| 608 | </div><div class="memdoc"> |
| 609 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 610 | </div> |
| 611 | </div> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 612 | <a id="a60b1162856ab084a3588fc2d5fdec539"></a> |
| 613 | <h2 class="memtitle"><span class="permalink"><a href="#a60b1162856ab084a3588fc2d5fdec539">◆ </a></span>gemm_implementation_list< float, float >()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 614 | |
| 615 | <div class="memitem"> |
| 616 | <div class="memproto"> |
| 617 | <table class="memname"> |
| 618 | <tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 619 | <td class="memname">const <a class="el" href="structarm__gemm_1_1_gemm_implementation.xhtml">GemmImplementation</a><float, float>* <a class="el" href="namespacearm__gemm.xhtml#aafbf874fc03cb6d5e6d79e93f5dc1d76">arm_gemm::gemm_implementation_list</a>< float, float > </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 620 | <td>(</td> |
| 621 | <td class="paramname"></td><td>)</td> |
| 622 | <td></td> |
| 623 | </tr> |
| 624 | </table> |
| 625 | </div><div class="memdoc"> |
| 626 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 627 | <p class="definition">Definition at line <a class="el" href="gemm__fp32_8cpp_source.xhtml#l00160">160</a> of file <a class="el" href="gemm__fp32_8cpp_source.xhtml">gemm_fp32.cpp</a>.</p> |
| 628 | <div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> gemm_fp32_methods;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div></div><!-- fragment --> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 629 | </div> |
| 630 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 631 | <a id="abce3ed84b7a8f5c6e45809ca1089b1cf"></a> |
| 632 | <h2 class="memtitle"><span class="permalink"><a href="#abce3ed84b7a8f5c6e45809ca1089b1cf">◆ </a></span>get_compatible_kernels()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 633 | |
| 634 | <div class="memitem"> |
| 635 | <div class="memproto"> |
| 636 | <table class="memname"> |
| 637 | <tr> |
Jenkins | 4ba87db | 2019-05-23 17:11:51 +0100 | [diff] [blame] | 638 | <td class="memname">std::vector<KernelDescription> arm_gemm::get_compatible_kernels </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 639 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 640 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 641 | <td class="paramname"><em>args</em>, </td> |
| 642 | </tr> |
| 643 | <tr> |
| 644 | <td class="paramkey"></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 645 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 646 | <td class="paramtype">const OutputStage & </td> |
| 647 | <td class="paramname"><em>os</em> </td> |
| 648 | </tr> |
| 649 | <tr> |
| 650 | <td></td> |
| 651 | <td>)</td> |
| 652 | <td></td><td></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 653 | </tr> |
| 654 | </table> |
| 655 | </div><div class="memdoc"> |
| 656 | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 657 | <p class="definition">Definition at line <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00171">171</a> of file <a class="el" href="gemm__implementation_8hpp_source.xhtml">gemm_implementation.hpp</a>.</p> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 658 | <div class="fragment"><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  std::vector<KernelDescription> res;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="comment">/* Find out what the default implementation in so we can set the flag accordingly later. */</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *default_impl;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="namespacearm__gemm.xhtml#adfe29ef1042864157b1fd4c72cb21fa0">find_implementation</a>(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os, default_impl);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">auto</span> gemms = gemm_implementation_list<Top, Tret, OutputStage>();</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">for</span> (<span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *i = gemms; i->method != GemmMethod::DEFAULT; i++) {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">/* Check that this implementation supports the presented problem. */</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordflow">if</span> (!i->do_is_supported(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os)) {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  res.push_back(KernelDescription(i->method, i->name, i==default_impl));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  }</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">return</span> res;</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div><div class="ttc" id="namespace_gemm_tuner_xhtml_a8187411843a6284ffb964ef3fb9fcab3"><div class="ttname"><a href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">GemmTuner.args</a></div><div class="ttdeci">args</div><div class="ttdef"><b>Definition:</b> <a href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner.py:555</a></div></div> |
| 659 | <div class="ttc" id="namespacearm__gemm_xhtml_adfe29ef1042864157b1fd4c72cb21fa0"><div class="ttname"><a href="namespacearm__gemm.xhtml#adfe29ef1042864157b1fd4c72cb21fa0">arm_gemm::find_implementation</a></div><div class="ttdeci">bool find_implementation(const GemmArgs &args, const OutputStage &os, const GemmImplementation< Top, Tret, OutputStage > *&impl)</div><div class="ttdef"><b>Definition:</b> <a href="gemm__implementation_8hpp_source.xhtml#l00119">gemm_implementation.hpp:119</a></div></div> |
Jenkins | 4ba87db | 2019-05-23 17:11:51 +0100 | [diff] [blame] | 660 | </div><!-- fragment --> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 661 | <p class="reference">References <a class="el" href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner::args</a>, <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00119">find_implementation()</a>, and <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00037">GemmImplementation< Top, Tret, OutputStage >::method</a>.</p> |
Jenkins | 4ba87db | 2019-05-23 17:11:51 +0100 | [diff] [blame] | 662 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 663 | </div> |
| 664 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 665 | <a id="a4ac39db987b3fbd8e8a6e971961b41f4"></a> |
| 666 | <h2 class="memtitle"><span class="permalink"><a href="#a4ac39db987b3fbd8e8a6e971961b41f4">◆ </a></span>get_compatible_kernels< float, float, Nothing >()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 667 | |
| 668 | <div class="memitem"> |
| 669 | <div class="memproto"> |
| 670 | <table class="memname"> |
| 671 | <tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 672 | <td class="memname">template std::vector<KernelDescription> <a class="el" href="namespacearm__gemm.xhtml#abce3ed84b7a8f5c6e45809ca1089b1cf">arm_gemm::get_compatible_kernels</a>< float, float, Nothing > </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 673 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 674 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 675 | <td class="paramname"><em>args</em>, </td> |
| 676 | </tr> |
| 677 | <tr> |
| 678 | <td class="paramkey"></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 679 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 680 | <td class="paramtype">const Nothing & </td> |
| 681 | <td class="paramname"> </td> |
| 682 | </tr> |
| 683 | <tr> |
| 684 | <td></td> |
| 685 | <td>)</td> |
| 686 | <td></td><td></td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 687 | </tr> |
| 688 | </table> |
| 689 | </div><div class="memdoc"> |
| 690 | |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 691 | </div> |
| 692 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 693 | <a id="ad35cfe7c388edeac570fb9e01180dda6"></a> |
| 694 | <h2 class="memtitle"><span class="permalink"><a href="#ad35cfe7c388edeac570fb9e01180dda6">◆ </a></span>get_gemm_method()</h2> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 695 | |
| 696 | <div class="memitem"> |
| 697 | <div class="memproto"> |
| 698 | <table class="memname"> |
| 699 | <tr> |
| 700 | <td class="memname">KernelDescription arm_gemm::get_gemm_method </td> |
| 701 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 702 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 703 | <td class="paramname"><em>args</em>, </td> |
| 704 | </tr> |
| 705 | <tr> |
| 706 | <td class="paramkey"></td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 707 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 708 | <td class="paramtype">const OutputStage & </td> |
| 709 | <td class="paramname"><em>os</em> </td> |
| 710 | </tr> |
| 711 | <tr> |
| 712 | <td></td> |
| 713 | <td>)</td> |
| 714 | <td></td><td></td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 715 | </tr> |
| 716 | </table> |
| 717 | </div><div class="memdoc"> |
| 718 | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 719 | <p class="definition">Definition at line <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00204">204</a> of file <a class="el" href="gemm__implementation_8hpp_source.xhtml">gemm_implementation.hpp</a>.</p> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 720 | <div class="fragment"><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">const</span> GemmImplementation<Top, Tret, OutputStage> *impl;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">if</span> (find_implementation<Top, Tret>(<a class="code" href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">args</a>, os, impl)) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">return</span> KernelDescription(impl->method, impl->name);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">/* This shouldn't happen - there should always be at least one valid implementation. */</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordflow">return</span> KernelDescription();</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> }</div><div class="ttc" id="namespace_gemm_tuner_xhtml_a8187411843a6284ffb964ef3fb9fcab3"><div class="ttname"><a href="namespace_gemm_tuner.xhtml#a8187411843a6284ffb964ef3fb9fcab3">GemmTuner.args</a></div><div class="ttdeci">args</div><div class="ttdef"><b>Definition:</b> <a href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner.py:555</a></div></div> |
| 721 | </div><!-- fragment --> |
| 722 | <p class="reference">References <a class="el" href="_gemm_tuner_8py_source.xhtml#l00555">GemmTuner::args</a>, <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00037">GemmImplementation< Top, Tret, OutputStage >::method</a>, and <a class="el" href="gemm__implementation_8hpp_source.xhtml#l00038">GemmImplementation< Top, Tret, OutputStage >::name</a>.</p> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 723 | |
| 724 | </div> |
| 725 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 726 | <a id="aeaa8a3f397520dca43d1dabb3774e2c9"></a> |
| 727 | <h2 class="memtitle"><span class="permalink"><a href="#aeaa8a3f397520dca43d1dabb3774e2c9">◆ </a></span>get_gemm_method< float, float, Nothing >()</h2> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 728 | |
| 729 | <div class="memitem"> |
| 730 | <div class="memproto"> |
| 731 | <table class="memname"> |
| 732 | <tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 733 | <td class="memname">template KernelDescription <a class="el" href="namespacearm__gemm.xhtml#ad35cfe7c388edeac570fb9e01180dda6">arm_gemm::get_gemm_method</a>< float, float, Nothing > </td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 734 | <td>(</td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 735 | <td class="paramtype">const GemmArgs & </td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 736 | <td class="paramname"><em>args</em>, </td> |
| 737 | </tr> |
| 738 | <tr> |
| 739 | <td class="paramkey"></td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 740 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 741 | <td class="paramtype">const Nothing & </td> |
| 742 | <td class="paramname"> </td> |
| 743 | </tr> |
| 744 | <tr> |
| 745 | <td></td> |
| 746 | <td>)</td> |
| 747 | <td></td><td></td> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 748 | </tr> |
| 749 | </table> |
| 750 | </div><div class="memdoc"> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 751 | |
| 752 | </div> |
| 753 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 754 | <a id="aa2ed1c3595c8114064e8170b00df37c5"></a> |
| 755 | <h2 class="memtitle"><span class="permalink"><a href="#aa2ed1c3595c8114064e8170b00df37c5">◆ </a></span>MergeResults()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 756 | |
| 757 | <div class="memitem"> |
| 758 | <div class="memproto"> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 759 | <table class="memname"> |
| 760 | <tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 761 | <td class="memname">void MergeResults </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 762 | <td>(</td> |
| 763 | <td class="paramtype">Tout * </td> |
| 764 | <td class="paramname"><em>out</em>, </td> |
| 765 | </tr> |
| 766 | <tr> |
| 767 | <td class="paramkey"></td> |
| 768 | <td></td> |
| 769 | <td class="paramtype">const Tin * </td> |
| 770 | <td class="paramname"><em>in</em>, </td> |
| 771 | </tr> |
| 772 | <tr> |
| 773 | <td class="paramkey"></td> |
| 774 | <td></td> |
| 775 | <td class="paramtype">int </td> |
| 776 | <td class="paramname"><em>ldc</em>, </td> |
| 777 | </tr> |
| 778 | <tr> |
| 779 | <td class="paramkey"></td> |
| 780 | <td></td> |
| 781 | <td class="paramtype">int </td> |
| 782 | <td class="paramname"><em>y0</em>, </td> |
| 783 | </tr> |
| 784 | <tr> |
| 785 | <td class="paramkey"></td> |
| 786 | <td></td> |
| 787 | <td class="paramtype">int </td> |
| 788 | <td class="paramname"><em>ymax</em>, </td> |
| 789 | </tr> |
| 790 | <tr> |
| 791 | <td class="paramkey"></td> |
| 792 | <td></td> |
| 793 | <td class="paramtype">int </td> |
| 794 | <td class="paramname"><em>x0</em>, </td> |
| 795 | </tr> |
| 796 | <tr> |
| 797 | <td class="paramkey"></td> |
| 798 | <td></td> |
| 799 | <td class="paramtype">int </td> |
| 800 | <td class="paramname"><em>xmax</em>, </td> |
| 801 | </tr> |
| 802 | <tr> |
| 803 | <td class="paramkey"></td> |
| 804 | <td></td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 805 | <td class="paramtype">const Tout * </td> |
| 806 | <td class="paramname"><em>bias</em>, </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 807 | </tr> |
| 808 | <tr> |
| 809 | <td class="paramkey"></td> |
| 810 | <td></td> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 811 | <td class="paramtype">Activation </td> |
| 812 | <td class="paramname"><em>act</em>, </td> |
| 813 | </tr> |
| 814 | <tr> |
| 815 | <td class="paramkey"></td> |
| 816 | <td></td> |
| 817 | <td class="paramtype">bool </td> |
| 818 | <td class="paramname"><em>append</em> </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 819 | </tr> |
| 820 | <tr> |
| 821 | <td></td> |
| 822 | <td>)</td> |
| 823 | <td></td><td></td> |
| 824 | </tr> |
| 825 | </table> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 826 | </div><div class="memdoc"> |
| 827 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 828 | <p class="definition">Definition at line <a class="el" href="mergeresults_8cpp_source.xhtml#l00038">38</a> of file <a class="el" href="mergeresults_8cpp_source.xhtml">mergeresults.cpp</a>.</p> |
| 829 | <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// For SVE cases, multiply the width up by the vector length.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// Use the *input* type to determine this, since this will be what the kernel operated on.</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> width = twidth * (sve ? get_vector_length<Tin>() : 1);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> full_y_blocks = (ymax - y0) / height;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> y_remainder = (ymax - y0) % height;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> y_blocks = full_y_blocks + (y_remainder ? 1 : 0);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> full_x_blocks = (xmax - x0) / width;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> x_remainder = (xmax - x0) % width;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> x_blocks = full_x_blocks + (x_remainder ? 1 : 0);</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>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> y_block = 0; y_block < y_blocks; y_block++) {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">int</span> ybase = y0 + (y_block * height);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordtype">int</span> fill_rows = (y_block < full_y_blocks) ? height : y_remainder;</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>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> x_block = 0; x_block < x_blocks; x_block++) {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">int</span> xbase = x0 + (x_block * width);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">int</span> fill_cols = (x_block < full_x_blocks) ? width : x_remainder;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> row=0; row < fill_rows; row++) {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> col=0; col < fill_cols; col++) {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  Tout &r = out[(ybase + row) * ldc + xbase + col];</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Tout v = in[row * width + col];</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">if</span> (append) {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  v += r;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</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>  <span class="keywordflow">if</span> (<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>) {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  v += <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">bias</a>[xbase + col];</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> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordflow">switch</span>(act.type) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">case</span> Activation::Type::None:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">case</span> Activation::Type::ReLU:</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  v = std::max(v, static_cast<Tout>(0));</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">break</span>;</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="keywordflow">case</span> Activation::Type::BoundedReLU:</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  v = std::max(std::min(v, static_cast<Tout>(act.param1)), static_cast<Tout>(0));</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">break</span>;</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>  r = v;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  in += (width * height);</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> }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a3a77be8aebd8e00522b32061d46ccdbd"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a3a77be8aebd8e00522b32061d46ccdbd">arm_compute::test::validation::bias</a></div><div class="ttdeci">CLTensor bias</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">ConvolutionLayer.cpp:181</a></div></div> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 830 | </div><!-- fragment --> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 831 | <p class="reference">References <a class="el" href="validation_2_c_l_2_convolution_layer_8cpp_source.xhtml#l00181">arm_compute::test::validation::bias</a>.</p> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 832 | |
| 833 | <p class="reference">Referenced by <a class="el" href="std__transforms__sve_8hpp_source.xhtml#l00066">StdTransformsSVE< TOperand, TResult, height, width_vectors, block, mmla >::Merge()</a>.</p> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 834 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 835 | </div> |
| 836 | </div> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 837 | <a id="a5367d66fa8e4648db3f690e9cfa7d498"></a> |
| 838 | <h2 class="memtitle"><span class="permalink"><a href="#a5367d66fa8e4648db3f690e9cfa7d498">◆ </a></span>requantize_block_32()</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 839 | |
| 840 | <div class="memitem"> |
| 841 | <div class="memproto"> |
| 842 | <table class="memname"> |
| 843 | <tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 844 | <td class="memname">void arm_gemm::requantize_block_32 </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 845 | <td>(</td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 846 | <td class="paramtype">const ARequantizeLayer32 & </td> |
| 847 | <td class="paramname"><em>qp</em>, </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 848 | </tr> |
| 849 | <tr> |
| 850 | <td class="paramkey"></td> |
| 851 | <td></td> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 852 | <td class="paramtype">unsigned int </td> |
| 853 | <td class="paramname"><em>width</em>, </td> |
| 854 | </tr> |
| 855 | <tr> |
| 856 | <td class="paramkey"></td> |
| 857 | <td></td> |
| 858 | <td class="paramtype">unsigned int </td> |
| 859 | <td class="paramname"><em>height</em>, </td> |
| 860 | </tr> |
| 861 | <tr> |
| 862 | <td class="paramkey"></td> |
| 863 | <td></td> |
| 864 | <td class="paramtype">const Tin * </td> |
| 865 | <td class="paramname"><em>input</em>, </td> |
| 866 | </tr> |
| 867 | <tr> |
| 868 | <td class="paramkey"></td> |
| 869 | <td></td> |
| 870 | <td class="paramtype">unsigned int </td> |
| 871 | <td class="paramname"><em>in_stride</em>, </td> |
| 872 | </tr> |
| 873 | <tr> |
| 874 | <td class="paramkey"></td> |
| 875 | <td></td> |
| 876 | <td class="paramtype">Tout * </td> |
| 877 | <td class="paramname"><em>output</em>, </td> |
| 878 | </tr> |
| 879 | <tr> |
| 880 | <td class="paramkey"></td> |
| 881 | <td></td> |
| 882 | <td class="paramtype">unsigned int </td> |
| 883 | <td class="paramname"><em>out_stride</em>, </td> |
| 884 | </tr> |
| 885 | <tr> |
| 886 | <td class="paramkey"></td> |
| 887 | <td></td> |
| 888 | <td class="paramtype">const int32_t * </td> |
| 889 | <td class="paramname"><em>row_bias</em>, </td> |
| 890 | </tr> |
| 891 | <tr> |
| 892 | <td class="paramkey"></td> |
| 893 | <td></td> |
| 894 | <td class="paramtype">const int32_t * </td> |
| 895 | <td class="paramname"><em>col_bias</em> </td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 896 | </tr> |
| 897 | <tr> |
| 898 | <td></td> |
| 899 | <td>)</td> |
| 900 | <td></td><td></td> |
| 901 | </tr> |
| 902 | </table> |
| 903 | </div><div class="memdoc"> |
| 904 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 905 | </div> |
| 906 | </div> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 907 | <h2 class="groupheader">Variable Documentation</h2> |
| 908 | <a id="a08423b5e87249f9855c82d61e80a6aba"></a> |
| 909 | <h2 class="memtitle"><span class="permalink"><a href="#a08423b5e87249f9855c82d61e80a6aba">◆ </a></span>report_mutex</h2> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 910 | |
| 911 | <div class="memitem"> |
| 912 | <div class="memproto"> |
| 913 | <table class="memname"> |
| 914 | <tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 915 | <td class="memname">std::mutex report_mutex</td> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 916 | </tr> |
| 917 | </table> |
| 918 | </div><div class="memdoc"> |
| 919 | |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 920 | <p class="definition">Definition at line <a class="el" href="misc_8cpp_source.xhtml#l00031">31</a> of file <a class="el" href="misc_8cpp_source.xhtml">misc.cpp</a>.</p> |
| 921 | |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 922 | </div> |
| 923 | </div> |
| 924 | </div><!-- contents --> |
| 925 | </div><!-- doc-content --> |
| 926 | <!-- start footer part --> |
| 927 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 928 | <ul> |
| 929 | <li class="navelem"><a class="el" href="namespacearm__gemm.xhtml">arm_gemm</a></li> |
Jenkins | 7f09cf7 | 2020-01-22 18:08:16 +0000 | [diff] [blame^] | 930 | <li class="footer">Generated on Wed Jan 22 2020 18:08:01 for Compute Library by |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 931 | <a href="http://www.doxygen.org/index.html"> |
Jenkins | 514be65 | 2019-02-28 12:25:18 +0000 | [diff] [blame] | 932 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> |
Jenkins | b9abeae | 2018-11-22 11:58:08 +0000 | [diff] [blame] | 933 | </ul> |
| 934 | </div> |
| 935 | </body> |
| 936 | </html> |