Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 1 | <!-- HTML header for doxygen 1.8.9.1--> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 7 | <meta name="generator" content="Doxygen 1.8.11"/> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 8 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 9 | <title>Compute Library: src/core/CL/cl_kernels/transpose.cl File Reference</title> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 10 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 11 | <script type="text/javascript" src="jquery.js"></script> |
| 12 | <script type="text/javascript" src="dynsections.js"></script> |
| 13 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 14 | <script type="text/javascript" src="resize.js"></script> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 15 | <script type="text/javascript" src="navtreedata.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 16 | <script type="text/javascript" src="navtree.js"></script> |
| 17 | <script type="text/javascript"> |
| 18 | $(document).ready(initResizable); |
| 19 | $(window).load(resizeHeight); |
| 20 | </script> |
| 21 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 22 | <script type="text/javascript" src="search/searchdata.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 23 | <script type="text/javascript" src="search/search.js"></script> |
| 24 | <script type="text/javascript"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 25 | $(document).ready(function() { init_search(); }); |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 26 | </script> |
| 27 | <script type="text/x-mathjax-config"> |
| 28 | MathJax.Hub.Config({ |
| 29 | extensions: ["tex2jax.js"], |
| 30 | jax: ["input/TeX","output/HTML-CSS"], |
| 31 | }); |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 32 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 33 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 34 | </head> |
| 35 | <body> |
| 36 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 37 | <div id="titlearea"> |
| 38 | <table cellspacing="0" cellpadding="0"> |
| 39 | <tbody> |
| 40 | <tr style="height: 56px;"> |
| 41 | <td style="padding-left: 0.5em;"> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 42 | <div id="projectname">Compute Library |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 43 |  <span id="projectnumber">17.12</span> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 44 | </div> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | </div> |
| 50 | <!-- end header part --> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 51 | <!-- Generated by Doxygen 1.8.11 --> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 52 | <script type="text/javascript"> |
| 53 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 54 | </script> |
| 55 | <div id="navrow1" class="tabs"> |
| 56 | <ul class="tablist"> |
| 57 | <li><a href="index.xhtml"><span>Main Page</span></a></li> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 58 | <li><a href="pages.xhtml"><span>Related Pages</span></a></li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 59 | <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li> |
| 60 | <li><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| 61 | <li class="current"><a href="files.xhtml"><span>Files</span></a></li> |
| 62 | <li> |
| 63 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 64 | <span class="left"> |
| 65 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 66 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 67 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 68 | alt=""/> |
| 69 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 70 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 71 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 72 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 73 | </span><span class="right"> |
| 74 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 75 | </span> |
| 76 | </div> |
| 77 | </li> |
| 78 | </ul> |
| 79 | </div> |
| 80 | <div id="navrow2" class="tabs2"> |
| 81 | <ul class="tablist"> |
| 82 | <li><a href="files.xhtml"><span>File List</span></a></li> |
| 83 | <li><a href="globals.xhtml"><span>Globals</span></a></li> |
| 84 | </ul> |
| 85 | </div> |
| 86 | </div><!-- top --> |
| 87 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 88 | <div id="nav-tree"> |
| 89 | <div id="nav-tree-contents"> |
| 90 | <div id="nav-sync" class="sync"></div> |
| 91 | </div> |
| 92 | </div> |
| 93 | <div id="splitbar" style="-moz-user-select:none;" |
| 94 | class="ui-resizable-handle"> |
| 95 | </div> |
| 96 | </div> |
| 97 | <script type="text/javascript"> |
| 98 | $(document).ready(function(){initNavTree('transpose_8cl.xhtml','');}); |
| 99 | </script> |
| 100 | <div id="doc-content"> |
| 101 | <!-- window showing the filter options --> |
| 102 | <div id="MSearchSelectWindow" |
| 103 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 104 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 105 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 106 | </div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 107 | |
| 108 | <!-- iframe showing the search results (closed by default) --> |
| 109 | <div id="MSearchResultsWindow"> |
| 110 | <iframe src="javascript:void(0)" frameborder="0" |
| 111 | name="MSearchResults" id="MSearchResults"> |
| 112 | </iframe> |
| 113 | </div> |
| 114 | |
| 115 | <div class="header"> |
| 116 | <div class="summary"> |
| 117 | <a href="#define-members">Macros</a> | |
| 118 | <a href="#func-members">Functions</a> </div> |
| 119 | <div class="headertitle"> |
| 120 | <div class="title">transpose.cl File Reference</div> </div> |
| 121 | </div><!--header--> |
| 122 | <div class="contents"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 123 | <div class="textblock"><code>#include "<a class="el" href="helpers_8h_source.xhtml">helpers.h</a>"</code><br /> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 124 | </div> |
| 125 | <p><a href="transpose_8cl_source.xhtml">Go to the source code of this file.</a></p> |
| 126 | <table class="memberdecls"> |
| 127 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 128 | Macros</h2></td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 129 | <tr class="memitem:a53bd970b471b909bef8456b6b564f35e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">SWAP_ROW</a>(u0, l0)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 130 | <tr class="separator:a53bd970b471b909bef8456b6b564f35e"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 131 | <tr class="memitem:af5dc9980a3e0aae2cba22e97b9458bc9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#af5dc9980a3e0aae2cba22e97b9458bc9">SWAP_4x4</a>(u0, u1, u2, u3, l0, l1, l2, l3)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 132 | <tr class="separator:af5dc9980a3e0aae2cba22e97b9458bc9"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 133 | <tr class="memitem:a91074bda470bd8bec36799fdaffd107a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#a91074bda470bd8bec36799fdaffd107a">SWAP_8x8</a>(u0, u1, u2, u3, u4, u5, u6, u7, l0, l1, l2, l3, l4, l5, l6, l7)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 134 | <tr class="separator:a91074bda470bd8bec36799fdaffd107a"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 135 | <tr class="memitem:a093adbe8897f56bc8d0998f5cad57c8a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">TRANSPOSE_4x4</a>(u0, u1, u2, u3)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 136 | <tr class="separator:a093adbe8897f56bc8d0998f5cad57c8a"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 137 | <tr class="memitem:ad037a4e8ddc84de9c0512a2d4ee693bf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">TRANSPOSE_8x8</a>(u0, u1, u2, u3, u4, u5, u6, u7)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 138 | <tr class="separator:ad037a4e8ddc84de9c0512a2d4ee693bf"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 139 | <tr class="memitem:ae6c2b1bad97366395ba7a9a688533ff4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#ae6c2b1bad97366395ba7a9a688533ff4">TRANSPOSE_16x16</a>(u0, u1, u2, u3, u4, u5, u6, u7, u8, u9, u10, u11, u12, u13, u14, u15)</td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 140 | <tr class="separator:ae6c2b1bad97366395ba7a9a688533ff4"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | </table><table class="memberdecls"> |
| 142 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 143 | Functions</h2></td></tr> |
| 144 | <tr class="memitem:aa9021e9b8c37ea94257627da631248db"><td class="memItemLeft" align="right" valign="top">__kernel void </td><td class="memItemRight" valign="bottom"><a class="el" href="transpose_8cl.xhtml#aa9021e9b8c37ea94257627da631248db">transpose</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_offset_first_element_in_bytes, __global uchar *dst_ptr, uint dst_stride_x, uint dst_step_x, uint dst_stride_y, uint dst_step_y, uint dst_offset_first_element_in_bytes)</td></tr> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 145 | <tr class="memdesc:aa9021e9b8c37ea94257627da631248db"><td class="mdescLeft"> </td><td class="mdescRight">This OpenCL kernel computes the matrix transposition of input matrix. <a href="#aa9021e9b8c37ea94257627da631248db">More...</a><br /></td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 146 | <tr class="separator:aa9021e9b8c37ea94257627da631248db"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | </table> |
| 148 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 149 | <a class="anchor" id="af5dc9980a3e0aae2cba22e97b9458bc9"></a> |
| 150 | <div class="memitem"> |
| 151 | <div class="memproto"> |
| 152 | <table class="memname"> |
| 153 | <tr> |
| 154 | <td class="memname">#define SWAP_4x4</td> |
| 155 | <td>(</td> |
| 156 | <td class="paramtype"> </td> |
| 157 | <td class="paramname">u0, </td> |
| 158 | </tr> |
| 159 | <tr> |
| 160 | <td class="paramkey"></td> |
| 161 | <td></td> |
| 162 | <td class="paramtype"> </td> |
| 163 | <td class="paramname">u1, </td> |
| 164 | </tr> |
| 165 | <tr> |
| 166 | <td class="paramkey"></td> |
| 167 | <td></td> |
| 168 | <td class="paramtype"> </td> |
| 169 | <td class="paramname">u2, </td> |
| 170 | </tr> |
| 171 | <tr> |
| 172 | <td class="paramkey"></td> |
| 173 | <td></td> |
| 174 | <td class="paramtype"> </td> |
| 175 | <td class="paramname">u3, </td> |
| 176 | </tr> |
| 177 | <tr> |
| 178 | <td class="paramkey"></td> |
| 179 | <td></td> |
| 180 | <td class="paramtype"> </td> |
| 181 | <td class="paramname">l0, </td> |
| 182 | </tr> |
| 183 | <tr> |
| 184 | <td class="paramkey"></td> |
| 185 | <td></td> |
| 186 | <td class="paramtype"> </td> |
| 187 | <td class="paramname">l1, </td> |
| 188 | </tr> |
| 189 | <tr> |
| 190 | <td class="paramkey"></td> |
| 191 | <td></td> |
| 192 | <td class="paramtype"> </td> |
| 193 | <td class="paramname">l2, </td> |
| 194 | </tr> |
| 195 | <tr> |
| 196 | <td class="paramkey"></td> |
| 197 | <td></td> |
| 198 | <td class="paramtype"> </td> |
| 199 | <td class="paramname">l3 </td> |
| 200 | </tr> |
| 201 | <tr> |
| 202 | <td></td> |
| 203 | <td>)</td> |
| 204 | <td></td><td></td> |
| 205 | </tr> |
| 206 | </table> |
| 207 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 208 | <b>Value:</b><div class="fragment"><div class="line">({ <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">\</a></div><div class="line"><a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f"> VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 4) \</div><div class="line"> tmp_swap; <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u0, l0); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u1, l1); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u2, l2); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u3, l3); \</div><div class="line"> })</div><div class="ttc" id="convolution3x3_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution3x3_8cl_source.xhtml#l00027">convolution3x3.cl:27</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 209 | <div class="ttc" id="transpose_8cl_xhtml_a53bd970b471b909bef8456b6b564f35e"><div class="ttname"><a href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">SWAP_ROW</a></div><div class="ttdeci">#define SWAP_ROW(u0, l0)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00026">transpose.cl:26</a></div></div> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 210 | <div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 211 | </div><!-- fragment --> |
| 212 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00033">33</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 213 | |
| 214 | </div> |
| 215 | </div> |
| 216 | <a class="anchor" id="a91074bda470bd8bec36799fdaffd107a"></a> |
| 217 | <div class="memitem"> |
| 218 | <div class="memproto"> |
| 219 | <table class="memname"> |
| 220 | <tr> |
| 221 | <td class="memname">#define SWAP_8x8</td> |
| 222 | <td>(</td> |
| 223 | <td class="paramtype"> </td> |
| 224 | <td class="paramname">u0, </td> |
| 225 | </tr> |
| 226 | <tr> |
| 227 | <td class="paramkey"></td> |
| 228 | <td></td> |
| 229 | <td class="paramtype"> </td> |
| 230 | <td class="paramname">u1, </td> |
| 231 | </tr> |
| 232 | <tr> |
| 233 | <td class="paramkey"></td> |
| 234 | <td></td> |
| 235 | <td class="paramtype"> </td> |
| 236 | <td class="paramname">u2, </td> |
| 237 | </tr> |
| 238 | <tr> |
| 239 | <td class="paramkey"></td> |
| 240 | <td></td> |
| 241 | <td class="paramtype"> </td> |
| 242 | <td class="paramname">u3, </td> |
| 243 | </tr> |
| 244 | <tr> |
| 245 | <td class="paramkey"></td> |
| 246 | <td></td> |
| 247 | <td class="paramtype"> </td> |
| 248 | <td class="paramname">u4, </td> |
| 249 | </tr> |
| 250 | <tr> |
| 251 | <td class="paramkey"></td> |
| 252 | <td></td> |
| 253 | <td class="paramtype"> </td> |
| 254 | <td class="paramname">u5, </td> |
| 255 | </tr> |
| 256 | <tr> |
| 257 | <td class="paramkey"></td> |
| 258 | <td></td> |
| 259 | <td class="paramtype"> </td> |
| 260 | <td class="paramname">u6, </td> |
| 261 | </tr> |
| 262 | <tr> |
| 263 | <td class="paramkey"></td> |
| 264 | <td></td> |
| 265 | <td class="paramtype"> </td> |
| 266 | <td class="paramname">u7, </td> |
| 267 | </tr> |
| 268 | <tr> |
| 269 | <td class="paramkey"></td> |
| 270 | <td></td> |
| 271 | <td class="paramtype"> </td> |
| 272 | <td class="paramname">l0, </td> |
| 273 | </tr> |
| 274 | <tr> |
| 275 | <td class="paramkey"></td> |
| 276 | <td></td> |
| 277 | <td class="paramtype"> </td> |
| 278 | <td class="paramname">l1, </td> |
| 279 | </tr> |
| 280 | <tr> |
| 281 | <td class="paramkey"></td> |
| 282 | <td></td> |
| 283 | <td class="paramtype"> </td> |
| 284 | <td class="paramname">l2, </td> |
| 285 | </tr> |
| 286 | <tr> |
| 287 | <td class="paramkey"></td> |
| 288 | <td></td> |
| 289 | <td class="paramtype"> </td> |
| 290 | <td class="paramname">l3, </td> |
| 291 | </tr> |
| 292 | <tr> |
| 293 | <td class="paramkey"></td> |
| 294 | <td></td> |
| 295 | <td class="paramtype"> </td> |
| 296 | <td class="paramname">l4, </td> |
| 297 | </tr> |
| 298 | <tr> |
| 299 | <td class="paramkey"></td> |
| 300 | <td></td> |
| 301 | <td class="paramtype"> </td> |
| 302 | <td class="paramname">l5, </td> |
| 303 | </tr> |
| 304 | <tr> |
| 305 | <td class="paramkey"></td> |
| 306 | <td></td> |
| 307 | <td class="paramtype"> </td> |
| 308 | <td class="paramname">l6, </td> |
| 309 | </tr> |
| 310 | <tr> |
| 311 | <td class="paramkey"></td> |
| 312 | <td></td> |
| 313 | <td class="paramtype"> </td> |
| 314 | <td class="paramname">l7 </td> |
| 315 | </tr> |
| 316 | <tr> |
| 317 | <td></td> |
| 318 | <td>)</td> |
| 319 | <td></td><td></td> |
| 320 | </tr> |
| 321 | </table> |
| 322 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 323 | <b>Value:</b><div class="fragment"><div class="line">({ <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">\</a></div><div class="line"><a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f"> VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8) \</div><div class="line"> tmp_swap; <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u0, l0); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u1, l1); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u2, l2); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u3, l3); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u4, l4); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u5, l5); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u6, l6); <a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e"> SWAP_ROW</a>(u7, l7); \</div><div class="line"> })</div><div class="ttc" id="convolution3x3_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution3x3_8cl_source.xhtml#l00027">convolution3x3.cl:27</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 324 | <div class="ttc" id="transpose_8cl_xhtml_a53bd970b471b909bef8456b6b564f35e"><div class="ttname"><a href="transpose_8cl.xhtml#a53bd970b471b909bef8456b6b564f35e">SWAP_ROW</a></div><div class="ttdeci">#define SWAP_ROW(u0, l0)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00026">transpose.cl:26</a></div></div> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 325 | <div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 326 | </div><!-- fragment --> |
| 327 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00043">43</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 328 | |
| 329 | </div> |
| 330 | </div> |
| 331 | <a class="anchor" id="a53bd970b471b909bef8456b6b564f35e"></a> |
| 332 | <div class="memitem"> |
| 333 | <div class="memproto"> |
| 334 | <table class="memname"> |
| 335 | <tr> |
| 336 | <td class="memname">#define SWAP_ROW</td> |
| 337 | <td>(</td> |
| 338 | <td class="paramtype"> </td> |
| 339 | <td class="paramname">u0, </td> |
| 340 | </tr> |
| 341 | <tr> |
| 342 | <td class="paramkey"></td> |
| 343 | <td></td> |
| 344 | <td class="paramtype"> </td> |
| 345 | <td class="paramname">l0 </td> |
| 346 | </tr> |
| 347 | <tr> |
| 348 | <td></td> |
| 349 | <td>)</td> |
| 350 | <td></td><td></td> |
| 351 | </tr> |
| 352 | </table> |
| 353 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 354 | <b>Value:</b><div class="fragment"><div class="line">({ \</div><div class="line"> tmp_swap = u0; \</div><div class="line"> u0 = l0; \</div><div class="line"> l0 = tmp_swap; \</div><div class="line"> })</div></div><!-- fragment --> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 355 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00026">26</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 356 | |
| 357 | </div> |
| 358 | </div> |
| 359 | <a class="anchor" id="ae6c2b1bad97366395ba7a9a688533ff4"></a> |
| 360 | <div class="memitem"> |
| 361 | <div class="memproto"> |
| 362 | <table class="memname"> |
| 363 | <tr> |
| 364 | <td class="memname">#define TRANSPOSE_16x16</td> |
| 365 | <td>(</td> |
| 366 | <td class="paramtype"> </td> |
| 367 | <td class="paramname">u0, </td> |
| 368 | </tr> |
| 369 | <tr> |
| 370 | <td class="paramkey"></td> |
| 371 | <td></td> |
| 372 | <td class="paramtype"> </td> |
| 373 | <td class="paramname">u1, </td> |
| 374 | </tr> |
| 375 | <tr> |
| 376 | <td class="paramkey"></td> |
| 377 | <td></td> |
| 378 | <td class="paramtype"> </td> |
| 379 | <td class="paramname">u2, </td> |
| 380 | </tr> |
| 381 | <tr> |
| 382 | <td class="paramkey"></td> |
| 383 | <td></td> |
| 384 | <td class="paramtype"> </td> |
| 385 | <td class="paramname">u3, </td> |
| 386 | </tr> |
| 387 | <tr> |
| 388 | <td class="paramkey"></td> |
| 389 | <td></td> |
| 390 | <td class="paramtype"> </td> |
| 391 | <td class="paramname">u4, </td> |
| 392 | </tr> |
| 393 | <tr> |
| 394 | <td class="paramkey"></td> |
| 395 | <td></td> |
| 396 | <td class="paramtype"> </td> |
| 397 | <td class="paramname">u5, </td> |
| 398 | </tr> |
| 399 | <tr> |
| 400 | <td class="paramkey"></td> |
| 401 | <td></td> |
| 402 | <td class="paramtype"> </td> |
| 403 | <td class="paramname">u6, </td> |
| 404 | </tr> |
| 405 | <tr> |
| 406 | <td class="paramkey"></td> |
| 407 | <td></td> |
| 408 | <td class="paramtype"> </td> |
| 409 | <td class="paramname">u7, </td> |
| 410 | </tr> |
| 411 | <tr> |
| 412 | <td class="paramkey"></td> |
| 413 | <td></td> |
| 414 | <td class="paramtype"> </td> |
| 415 | <td class="paramname">u8, </td> |
| 416 | </tr> |
| 417 | <tr> |
| 418 | <td class="paramkey"></td> |
| 419 | <td></td> |
| 420 | <td class="paramtype"> </td> |
| 421 | <td class="paramname">u9, </td> |
| 422 | </tr> |
| 423 | <tr> |
| 424 | <td class="paramkey"></td> |
| 425 | <td></td> |
| 426 | <td class="paramtype"> </td> |
| 427 | <td class="paramname">u10, </td> |
| 428 | </tr> |
| 429 | <tr> |
| 430 | <td class="paramkey"></td> |
| 431 | <td></td> |
| 432 | <td class="paramtype"> </td> |
| 433 | <td class="paramname">u11, </td> |
| 434 | </tr> |
| 435 | <tr> |
| 436 | <td class="paramkey"></td> |
| 437 | <td></td> |
| 438 | <td class="paramtype"> </td> |
| 439 | <td class="paramname">u12, </td> |
| 440 | </tr> |
| 441 | <tr> |
| 442 | <td class="paramkey"></td> |
| 443 | <td></td> |
| 444 | <td class="paramtype"> </td> |
| 445 | <td class="paramname">u13, </td> |
| 446 | </tr> |
| 447 | <tr> |
| 448 | <td class="paramkey"></td> |
| 449 | <td></td> |
| 450 | <td class="paramtype"> </td> |
| 451 | <td class="paramname">u14, </td> |
| 452 | </tr> |
| 453 | <tr> |
| 454 | <td class="paramkey"></td> |
| 455 | <td></td> |
| 456 | <td class="paramtype"> </td> |
| 457 | <td class="paramname">u15 </td> |
| 458 | </tr> |
| 459 | <tr> |
| 460 | <td></td> |
| 461 | <td>)</td> |
| 462 | <td></td><td></td> |
| 463 | </tr> |
| 464 | </table> |
| 465 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 466 | <b>Value:</b><div class="fragment"><div class="line">({ <a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf"> TRANSPOSE_8x8</a>(u0.s01234567, u1.s01234567, u2.s01234567, u3.s01234567, u4.s01234567, u5.s01234567, u6.s01234567, u7.s01234567); <a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf"> TRANSPOSE_8x8</a>(u0.s89ABCDEF, u1.s89ABCDEF, u2.s89ABCDEF, u3.s89ABCDEF, u4.s89ABCDEF, u5.s89ABCDEF, u6.s89ABCDEF, u7.s89ABCDEF); <a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf"> TRANSPOSE_8x8</a>(u8.s01234567, u9.s01234567, u10.s01234567, u11.s01234567, u12.s01234567, u13.s01234567, u14.s01234567, u15.s01234567); <a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf"> TRANSPOSE_8x8</a>(u8.s89ABCDEF, u9.s89ABCDEF, u10.s89ABCDEF, u11.s89ABCDEF, u12.s89ABCDEF, u13.s89ABCDEF, u14.s89ABCDEF, u15.s89ABCDEF); <a class="code" href="transpose_8cl.xhtml#a91074bda470bd8bec36799fdaffd107a">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a91074bda470bd8bec36799fdaffd107a"> SWAP_8x8</a>(u0.s89ABCDEF, u1.s89ABCDEF, u2.s89ABCDEF, u3.s89ABCDEF, u4.s89ABCDEF, u5.s89ABCDEF, u6.s89ABCDEF, u7.s89ABCDEF, \</div><div class="line"> u8.s01234567, u9.s01234567, u10.s01234567, u11.s01234567, u12.s01234567, u13.s01234567, u14.s01234567, u15.s01234567); \</div><div class="line"> })</div><div class="ttc" id="transpose_8cl_xhtml_a91074bda470bd8bec36799fdaffd107a"><div class="ttname"><a href="transpose_8cl.xhtml#a91074bda470bd8bec36799fdaffd107a">SWAP_8x8</a></div><div class="ttdeci">#define SWAP_8x8(u0, u1, u2, u3, u4, u5, u6, u7, l0, l1, l2, l3, l4, l5, l6, l7)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00043">transpose.cl:43</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 467 | <div class="ttc" id="transpose_8cl_xhtml_ad037a4e8ddc84de9c0512a2d4ee693bf"><div class="ttname"><a href="transpose_8cl.xhtml#ad037a4e8ddc84de9c0512a2d4ee693bf">TRANSPOSE_8x8</a></div><div class="ttdeci">#define TRANSPOSE_8x8(u0, u1, u2, u3, u4, u5, u6, u7)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00080">transpose.cl:80</a></div></div> |
| 468 | </div><!-- fragment --> |
| 469 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00089">89</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 470 | |
| 471 | </div> |
| 472 | </div> |
| 473 | <a class="anchor" id="a093adbe8897f56bc8d0998f5cad57c8a"></a> |
| 474 | <div class="memitem"> |
| 475 | <div class="memproto"> |
| 476 | <table class="memname"> |
| 477 | <tr> |
| 478 | <td class="memname">#define TRANSPOSE_4x4</td> |
| 479 | <td>(</td> |
| 480 | <td class="paramtype"> </td> |
| 481 | <td class="paramname">u0, </td> |
| 482 | </tr> |
| 483 | <tr> |
| 484 | <td class="paramkey"></td> |
| 485 | <td></td> |
| 486 | <td class="paramtype"> </td> |
| 487 | <td class="paramname">u1, </td> |
| 488 | </tr> |
| 489 | <tr> |
| 490 | <td class="paramkey"></td> |
| 491 | <td></td> |
| 492 | <td class="paramtype"> </td> |
| 493 | <td class="paramname">u2, </td> |
| 494 | </tr> |
| 495 | <tr> |
| 496 | <td class="paramkey"></td> |
| 497 | <td></td> |
| 498 | <td class="paramtype"> </td> |
| 499 | <td class="paramname">u3 </td> |
| 500 | </tr> |
| 501 | <tr> |
| 502 | <td></td> |
| 503 | <td>)</td> |
| 504 | <td></td><td></td> |
| 505 | </tr> |
| 506 | </table> |
| 507 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 508 | <b>Value:</b><div class="fragment"><div class="line">({ <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">\</a></div><div class="line"><a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f"> VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 4) \</div><div class="line"> tmp; \</div><div class="line"> tmp.s012 = u0.s123; \</div><div class="line"> u0.s1 = u1.s0; \</div><div class="line"> u0.s2 = u2.s0; \</div><div class="line"> u0.s3 = u3.s0; \</div><div class="line"> u1.s0 = tmp.s0; \</div><div class="line"> u2.s0 = tmp.s1; \</div><div class="line"> u3.s0 = tmp.s2; \</div><div class="line"> \</div><div class="line"> tmp.s01 = u1.s23; \</div><div class="line"> u1.s2 = u2.s1; \</div><div class="line"> u1.s3 = u3.s1; \</div><div class="line"> u2.s1 = tmp.s0; \</div><div class="line"> u3.s1 = tmp.s1; \</div><div class="line"> \</div><div class="line"> tmp.s0 = u2.s3; \</div><div class="line"> u2.s3 = u3.s2; \</div><div class="line"> u3.s2 = tmp.s0; \</div><div class="line"> })</div><div class="ttc" id="convolution3x3_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution3x3_8cl_source.xhtml#l00027">convolution3x3.cl:27</a></div></div> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 509 | <div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 510 | </div><!-- fragment --> |
| 511 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00057">57</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 512 | |
| 513 | </div> |
| 514 | </div> |
| 515 | <a class="anchor" id="ad037a4e8ddc84de9c0512a2d4ee693bf"></a> |
| 516 | <div class="memitem"> |
| 517 | <div class="memproto"> |
| 518 | <table class="memname"> |
| 519 | <tr> |
| 520 | <td class="memname">#define TRANSPOSE_8x8</td> |
| 521 | <td>(</td> |
| 522 | <td class="paramtype"> </td> |
| 523 | <td class="paramname">u0, </td> |
| 524 | </tr> |
| 525 | <tr> |
| 526 | <td class="paramkey"></td> |
| 527 | <td></td> |
| 528 | <td class="paramtype"> </td> |
| 529 | <td class="paramname">u1, </td> |
| 530 | </tr> |
| 531 | <tr> |
| 532 | <td class="paramkey"></td> |
| 533 | <td></td> |
| 534 | <td class="paramtype"> </td> |
| 535 | <td class="paramname">u2, </td> |
| 536 | </tr> |
| 537 | <tr> |
| 538 | <td class="paramkey"></td> |
| 539 | <td></td> |
| 540 | <td class="paramtype"> </td> |
| 541 | <td class="paramname">u3, </td> |
| 542 | </tr> |
| 543 | <tr> |
| 544 | <td class="paramkey"></td> |
| 545 | <td></td> |
| 546 | <td class="paramtype"> </td> |
| 547 | <td class="paramname">u4, </td> |
| 548 | </tr> |
| 549 | <tr> |
| 550 | <td class="paramkey"></td> |
| 551 | <td></td> |
| 552 | <td class="paramtype"> </td> |
| 553 | <td class="paramname">u5, </td> |
| 554 | </tr> |
| 555 | <tr> |
| 556 | <td class="paramkey"></td> |
| 557 | <td></td> |
| 558 | <td class="paramtype"> </td> |
| 559 | <td class="paramname">u6, </td> |
| 560 | </tr> |
| 561 | <tr> |
| 562 | <td class="paramkey"></td> |
| 563 | <td></td> |
| 564 | <td class="paramtype"> </td> |
| 565 | <td class="paramname">u7 </td> |
| 566 | </tr> |
| 567 | <tr> |
| 568 | <td></td> |
| 569 | <td>)</td> |
| 570 | <td></td><td></td> |
| 571 | </tr> |
| 572 | </table> |
| 573 | </div><div class="memdoc"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 574 | <b>Value:</b><div class="fragment"><div class="line">({ <a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a"> TRANSPOSE_4x4</a>(u0.s0123, u1.s0123, u2.s0123, u3.s0123); <a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a"> TRANSPOSE_4x4</a>(u0.s4567, u1.s4567, u2.s4567, u3.s4567); <a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a"> TRANSPOSE_4x4</a>(u4.s0123, u5.s0123, u6.s0123, u7.s0123); <a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a"> TRANSPOSE_4x4</a>(u4.s4567, u5.s4567, u6.s4567, u7.s4567); <a class="code" href="transpose_8cl.xhtml#af5dc9980a3e0aae2cba22e97b9458bc9">\</a></div><div class="line"><a class="code" href="transpose_8cl.xhtml#af5dc9980a3e0aae2cba22e97b9458bc9"> SWAP_4x4</a>(u0.s4567, u1.s4567, u2.s4567, u3.s4567, u4.s0123, u5.s0123, u6.s0123, u7.s0123); \</div><div class="line"> })</div><div class="ttc" id="transpose_8cl_xhtml_a093adbe8897f56bc8d0998f5cad57c8a"><div class="ttname"><a href="transpose_8cl.xhtml#a093adbe8897f56bc8d0998f5cad57c8a">TRANSPOSE_4x4</a></div><div class="ttdeci">#define TRANSPOSE_4x4(u0, u1, u2, u3)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00057">transpose.cl:57</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 575 | <div class="ttc" id="transpose_8cl_xhtml_af5dc9980a3e0aae2cba22e97b9458bc9"><div class="ttname"><a href="transpose_8cl.xhtml#af5dc9980a3e0aae2cba22e97b9458bc9">SWAP_4x4</a></div><div class="ttdeci">#define SWAP_4x4(u0, u1, u2, u3, l0, l1, l2, l3)</div><div class="ttdef"><b>Definition:</b> <a href="transpose_8cl_source.xhtml#l00033">transpose.cl:33</a></div></div> |
| 576 | </div><!-- fragment --> |
| 577 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00080">80</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
| 578 | |
| 579 | </div> |
| 580 | </div> |
| 581 | <h2 class="groupheader">Function Documentation</h2> |
| 582 | <a class="anchor" id="aa9021e9b8c37ea94257627da631248db"></a> |
| 583 | <div class="memitem"> |
| 584 | <div class="memproto"> |
| 585 | <table class="memname"> |
| 586 | <tr> |
| 587 | <td class="memname">__kernel void transpose </td> |
| 588 | <td>(</td> |
| 589 | <td class="paramtype">__global uchar * </td> |
| 590 | <td class="paramname"><em>src_ptr</em>, </td> |
| 591 | </tr> |
| 592 | <tr> |
| 593 | <td class="paramkey"></td> |
| 594 | <td></td> |
| 595 | <td class="paramtype">uint </td> |
| 596 | <td class="paramname"><em>src_stride_x</em>, </td> |
| 597 | </tr> |
| 598 | <tr> |
| 599 | <td class="paramkey"></td> |
| 600 | <td></td> |
| 601 | <td class="paramtype">uint </td> |
| 602 | <td class="paramname"><em>src_step_x</em>, </td> |
| 603 | </tr> |
| 604 | <tr> |
| 605 | <td class="paramkey"></td> |
| 606 | <td></td> |
| 607 | <td class="paramtype">uint </td> |
| 608 | <td class="paramname"><em>src_stride_y</em>, </td> |
| 609 | </tr> |
| 610 | <tr> |
| 611 | <td class="paramkey"></td> |
| 612 | <td></td> |
| 613 | <td class="paramtype">uint </td> |
| 614 | <td class="paramname"><em>src_step_y</em>, </td> |
| 615 | </tr> |
| 616 | <tr> |
| 617 | <td class="paramkey"></td> |
| 618 | <td></td> |
| 619 | <td class="paramtype">uint </td> |
| 620 | <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td> |
| 621 | </tr> |
| 622 | <tr> |
| 623 | <td class="paramkey"></td> |
| 624 | <td></td> |
| 625 | <td class="paramtype">__global uchar * </td> |
| 626 | <td class="paramname"><em>dst_ptr</em>, </td> |
| 627 | </tr> |
| 628 | <tr> |
| 629 | <td class="paramkey"></td> |
| 630 | <td></td> |
| 631 | <td class="paramtype">uint </td> |
| 632 | <td class="paramname"><em>dst_stride_x</em>, </td> |
| 633 | </tr> |
| 634 | <tr> |
| 635 | <td class="paramkey"></td> |
| 636 | <td></td> |
| 637 | <td class="paramtype">uint </td> |
| 638 | <td class="paramname"><em>dst_step_x</em>, </td> |
| 639 | </tr> |
| 640 | <tr> |
| 641 | <td class="paramkey"></td> |
| 642 | <td></td> |
| 643 | <td class="paramtype">uint </td> |
| 644 | <td class="paramname"><em>dst_stride_y</em>, </td> |
| 645 | </tr> |
| 646 | <tr> |
| 647 | <td class="paramkey"></td> |
| 648 | <td></td> |
| 649 | <td class="paramtype">uint </td> |
| 650 | <td class="paramname"><em>dst_step_y</em>, </td> |
| 651 | </tr> |
| 652 | <tr> |
| 653 | <td class="paramkey"></td> |
| 654 | <td></td> |
| 655 | <td class="paramtype">uint </td> |
| 656 | <td class="paramname"><em>dst_offset_first_element_in_bytes</em> </td> |
| 657 | </tr> |
| 658 | <tr> |
| 659 | <td></td> |
| 660 | <td>)</td> |
| 661 | <td></td><td></td> |
| 662 | </tr> |
| 663 | </table> |
| 664 | </div><div class="memdoc"> |
| 665 | |
| 666 | <p>This OpenCL kernel computes the matrix transposition of input matrix. </p> |
| 667 | <dl class="section attention"><dt>Attention</dt><dd>The number of bytes of the data type need to be passed at compile time using -DDATA_TYPE_IN_BYTES. DATA_TYPE_IN_BYTES can be:<ol type="1"> |
| 668 | <li>-DDATA_TYPE_IN_BYTES=1 for transposing U8 or S8 matrices</li> |
| 669 | <li>-DDATA_TYPE_IN_BYTES=2 for transposing U16, S16 or FP16 matrices</li> |
| 670 | <li>-DDATA_TYPE_IN_BYTES=4 for transposing U32, S32 or FP32 matrices</li> |
| 671 | </ol> |
| 672 | </dd></dl> |
| 673 | <dl class="params"><dt>Parameters</dt><dd> |
| 674 | <table class="params"> |
| 675 | <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source matrix. Supported data types: U8/S8/U16/S16/F16/U32/S32/F32 </td></tr> |
| 676 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source matrix in X dimension (in bytes) </td></tr> |
| 677 | <tr><td class="paramdir">[in]</td><td class="paramname">src_step_x</td><td>src_stride_x * number of elements along X processed per workitem(in bytes) </td></tr> |
| 678 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source matrix in Y dimension (in bytes) </td></tr> |
| 679 | <tr><td class="paramdir">[in]</td><td class="paramname">src_step_y</td><td>src_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr> |
| 680 | <tr><td class="paramdir">[in]</td><td class="paramname">src_offset_first_element_in_bytes</td><td>The offset of the first element in the source matrix </td></tr> |
| 681 | <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination matrix Supported data type: same as src_ptr </td></tr> |
| 682 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination matrix in X dimension (in bytes) </td></tr> |
| 683 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_gx_stride_x * number of elements along X processed per workitem(in bytes) </td></tr> |
| 684 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination matrix in Y dimension (in bytes) </td></tr> |
| 685 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_gx_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr> |
| 686 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_offset_first_element_in_bytes</td><td>The offset of the first element in the destination matrix </td></tr> |
| 687 | </table> |
| 688 | </dd> |
| 689 | </dl> |
| 690 | |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 691 | <p>Definition at line <a class="el" href="transpose_8cl_source.xhtml#l00148">148</a> of file <a class="el" href="transpose_8cl_source.xhtml">transpose.cl</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 692 | |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 693 | <p>References <a class="el" href="helpers_8h_source.xhtml#l00102">CONVERT_TO_IMAGE_STRUCT</a>, <a class="el" href="convolution3x3_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="helpers_8h_source.xhtml#l00301">offset()</a>, <a class="el" href="fixed__point_8h_source.xhtml#l00093">VEC_DATA_TYPE</a>, <a class="el" href="helpers_8h_source.xhtml#l00040">VLOAD</a>, and <a class="el" href="helpers_8h_source.xhtml#l00043">VSTORE</a>.</p> |
| 694 | <div class="fragment"><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  uint x = get_global_id(0) * BLOCK_SIZE;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  uint y = get_global_id(1) * BLOCK_SIZE;</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>  <span class="comment">// Compute source address</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="struct_image.xhtml">Image</a> src = <a class="code" href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a>(src);</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="comment">// Load the NxN block at (x, y)</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, BLOCK_SIZE)</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  u0 = <a class="code" href="helpers_8h.xhtml#a287e2fc366c312b468382c95bb90f91f">VLOAD</a>(0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 0)));</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, BLOCK_SIZE)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  u1 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 1)));</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  u2 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 2)));</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  u3 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 3)));</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#if BLOCK_SIZE > 4</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  u4 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 4)));</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  u5 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 5)));</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  u6 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 6)));</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  u7 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 7)));</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="preprocessor">#if BLOCK_SIZE == 16</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  u8 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 8)));</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  u9 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 9)));</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  u10 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 10)));</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  u11 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 11)));</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  u12 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 12)));</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  u13 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 13)));</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  u14 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 14)));</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, BLOCK_SIZE)</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  u15 = VLOAD(0, (__global DATA_TYPE *)(<a class="code" href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a>(&src, 0, 15)));</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <span class="preprocessor">#endif </span><span class="comment">/* BLOCK_SIZE == 16 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="preprocessor">#endif </span><span class="comment">/* BLOCK_SIZE > 4 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="comment">// Transpose the block</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  TRANSPOSE();</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="comment">// Store the block at (y, x)</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  uint dst_offset_in_bytes = y * DATA_TYPE_IN_BYTES + x * dst_stride_y + dst_offset_first_element_in_bytes;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u0, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 0 * dst_stride_y));</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u1, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 1 * dst_stride_y));</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u2, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 2 * dst_stride_y));</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u3, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 3 * dst_stride_y));</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="preprocessor">#if BLOCK_SIZE > 4</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u4, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 4 * dst_stride_y));</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u5, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 5 * dst_stride_y));</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u6, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 6 * dst_stride_y));</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u7, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 7 * dst_stride_y));</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="preprocessor">#if BLOCK_SIZE == 16</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u8, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 8 * dst_stride_y));</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u9, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 9 * dst_stride_y));</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u10, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 10 * dst_stride_y));</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u11, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 11 * dst_stride_y));</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u12, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 12 * dst_stride_y));</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u13, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 13 * dst_stride_y));</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u14, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 14 * dst_stride_y));</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a>(u15, 0, (__global DATA_TYPE *)(dst_ptr + dst_offset_in_bytes + 15 * dst_stride_y));</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor">#endif </span><span class="comment">/* BLOCK_SIZE == 16 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor">#endif </span><span class="comment">/* BLOCK_SIZE > 4 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> }</div><div class="ttc" id="helpers_8h_xhtml_a287e2fc366c312b468382c95bb90f91f"><div class="ttname"><a href="helpers_8h.xhtml#a287e2fc366c312b468382c95bb90f91f">VLOAD</a></div><div class="ttdeci">#define VLOAD(size)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00040">helpers.h:40</a></div></div> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 695 | <div class="ttc" id="convolution3x3_8cl_xhtml_afb8c72ce35c4a1f4a2588d6573e54aa1"><div class="ttname"><a href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a></div><div class="ttdeci">#define DATA_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="convolution3x3_8cl_source.xhtml#l00027">convolution3x3.cl:27</a></div></div> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 696 | <div class="ttc" id="helpers_8h_xhtml_a009469e4d9b8fce3b6d5e97d2077827d"><div class="ttname"><a href="helpers_8h.xhtml#a009469e4d9b8fce3b6d5e97d2077827d">offset</a></div><div class="ttdeci">__global uchar * offset(const Image *img, int x, int y)</div><div class="ttdoc">Get the pointer position of a Image. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00301">helpers.h:301</a></div></div> |
| 697 | <div class="ttc" id="helpers_8h_xhtml_acb282042d1edeeaa3cc979a206f78b54"><div class="ttname"><a href="helpers_8h.xhtml#acb282042d1edeeaa3cc979a206f78b54">VSTORE</a></div><div class="ttdeci">#define VSTORE(size)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00043">helpers.h:43</a></div></div> |
| 698 | <div class="ttc" id="helpers_8h_xhtml_aebe814363556c244be043b13e7969197"><div class="ttname"><a href="helpers_8h.xhtml#aebe814363556c244be043b13e7969197">CONVERT_TO_IMAGE_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_IMAGE_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00102">helpers.h:102</a></div></div> |
| 699 | <div class="ttc" id="struct_image_xhtml"><div class="ttname"><a href="struct_image.xhtml">Image</a></div><div class="ttdoc">Structure to hold Image information. </div><div class="ttdef"><b>Definition:</b> <a href="helpers_8h_source.xhtml#l00140">helpers.h:140</a></div></div> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 700 | <div class="ttc" id="fixed__point_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="fixed__point_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a></div><div class="ttdeci">#define VEC_DATA_TYPE(type, size)</div><div class="ttdef"><b>Definition:</b> <a href="fixed__point_8h_source.xhtml#l00093">fixed_point.h:93</a></div></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 701 | </div><!-- fragment --> |
| 702 | </div> |
| 703 | </div> |
| 704 | </div><!-- contents --> |
| 705 | </div><!-- doc-content --> |
| 706 | <!-- start footer part --> |
| 707 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 708 | <ul> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 709 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.xhtml">core</a></li><li class="navelem"><a class="el" href="dir_8c278f79c760e5c5fbd911f9870614c1.xhtml">CL</a></li><li class="navelem"><a class="el" href="dir_25885286e9dad4fa105b7b25a8031bbf.xhtml">cl_kernels</a></li><li class="navelem"><a class="el" href="transpose_8cl.xhtml">transpose.cl</a></li> |
| 710 | <li class="footer">Generated on Thu Dec 14 2017 23:48:34 for Compute Library by |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 711 | <a href="http://www.doxygen.org/index.html"> |
Anthony Barbier | 8140e1e | 2017-12-14 23:48:46 +0000 | [diff] [blame^] | 712 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 713 | </ul> |
| 714 | </div> |
| 715 | </body> |
| 716 | </html> |