Jenkins | b9abeae | 2018-11-22 11:58:08 +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"/> |
| 7 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 8 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| 9 | <title>Compute Library: src/core/CL/cl_kernels/upsample_layer.cl File Reference</title> |
| 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> |
| 15 | <script type="text/javascript" src="navtreedata.js"></script> |
| 16 | <script type="text/javascript" src="navtree.js"></script> |
| 17 | <script type="text/javascript"> |
| 18 | $(document).ready(initResizable); |
| 19 | </script> |
| 20 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 21 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 22 | <script type="text/javascript" src="search/search.js"></script> |
| 23 | <script type="text/x-mathjax-config"> |
| 24 | MathJax.Hub.Config({ |
| 25 | extensions: ["tex2jax.js"], |
| 26 | jax: ["input/TeX","output/HTML-CSS"], |
| 27 | }); |
| 28 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 29 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 30 | </head> |
| 31 | <body> |
| 32 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 33 | <div id="titlearea"> |
| 34 | <table cellspacing="0" cellpadding="0"> |
| 35 | <tbody> |
| 36 | <tr style="height: 56px;"> |
| 37 | <td style="padding-left: 0.5em;"> |
| 38 | <div id="projectname">Compute Library |
| 39 |  <span id="projectnumber">18.11</span> |
| 40 | </div> |
| 41 | </td> |
| 42 | </tr> |
| 43 | </tbody> |
| 44 | </table> |
| 45 | </div> |
| 46 | <!-- end header part --> |
| 47 | <!-- Generated by Doxygen 1.8.13 --> |
| 48 | <script type="text/javascript"> |
| 49 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 50 | </script> |
| 51 | <script type="text/javascript" src="menudata.js"></script> |
| 52 | <script type="text/javascript" src="menu.js"></script> |
| 53 | <script type="text/javascript"> |
| 54 | $(function() { |
| 55 | initMenu('',true,false,'search.php','Search'); |
| 56 | $(document).ready(function() { init_search(); }); |
| 57 | }); |
| 58 | </script> |
| 59 | <div id="main-nav"></div> |
| 60 | </div><!-- top --> |
| 61 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 62 | <div id="nav-tree"> |
| 63 | <div id="nav-tree-contents"> |
| 64 | <div id="nav-sync" class="sync"></div> |
| 65 | </div> |
| 66 | </div> |
| 67 | <div id="splitbar" style="-moz-user-select:none;" |
| 68 | class="ui-resizable-handle"> |
| 69 | </div> |
| 70 | </div> |
| 71 | <script type="text/javascript"> |
| 72 | $(document).ready(function(){initNavTree('upsample__layer_8cl.xhtml','');}); |
| 73 | </script> |
| 74 | <div id="doc-content"> |
| 75 | <!-- window showing the filter options --> |
| 76 | <div id="MSearchSelectWindow" |
| 77 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 78 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 79 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 80 | </div> |
| 81 | |
| 82 | <!-- iframe showing the search results (closed by default) --> |
| 83 | <div id="MSearchResultsWindow"> |
| 84 | <iframe src="javascript:void(0)" frameborder="0" |
| 85 | name="MSearchResults" id="MSearchResults"> |
| 86 | </iframe> |
| 87 | </div> |
| 88 | |
| 89 | <div class="header"> |
| 90 | <div class="summary"> |
| 91 | <a href="#func-members">Functions</a> </div> |
| 92 | <div class="headertitle"> |
| 93 | <div class="title">upsample_layer.cl File Reference</div> </div> |
| 94 | </div><!--header--> |
| 95 | <div class="contents"> |
| 96 | <div class="textblock"><code>#include "<a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml">helpers.h</a>"</code><br /> |
| 97 | </div> |
| 98 | <p><a href="upsample__layer_8cl_source.xhtml">Go to the source code of this file.</a></p> |
| 99 | <table class="memberdecls"> |
| 100 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 101 | Functions</h2></td></tr> |
| 102 | <tr class="memitem:a4f89158c7add6565fb016b46d3a5c33b"><td class="memItemLeft" align="right" valign="top">__kernel void </td><td class="memItemRight" valign="bottom"><a class="el" href="upsample__layer_8cl.xhtml#a4f89158c7add6565fb016b46d3a5c33b">upsample_layer_nchw</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_stride_z, uint src_step_z, 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_stride_z, uint dst_step_z, uint dst_offset_first_element_in_bytes)</td></tr> |
| 103 | <tr class="memdesc:a4f89158c7add6565fb016b46d3a5c33b"><td class="mdescLeft"> </td><td class="mdescRight">This function applies upsample on an input image. <a href="#a4f89158c7add6565fb016b46d3a5c33b">More...</a><br /></td></tr> |
| 104 | <tr class="separator:a4f89158c7add6565fb016b46d3a5c33b"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:a72ea02685fbca407f07ae495159e5b2b"><td class="memItemLeft" align="right" valign="top">__kernel void </td><td class="memItemRight" valign="bottom"><a class="el" href="upsample__layer_8cl.xhtml#a72ea02685fbca407f07ae495159e5b2b">upsample_layer_nhwc</a> (__global uchar *src_ptr, uint src_stride_x, uint src_step_x, uint src_stride_y, uint src_step_y, uint src_stride_z, uint src_step_z, 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_stride_z, uint dst_step_z, uint dst_offset_first_element_in_bytes)</td></tr> |
| 106 | <tr class="memdesc:a72ea02685fbca407f07ae495159e5b2b"><td class="mdescLeft"> </td><td class="mdescRight">This function applies upsample on an input image. <a href="#a72ea02685fbca407f07ae495159e5b2b">More...</a><br /></td></tr> |
| 107 | <tr class="separator:a72ea02685fbca407f07ae495159e5b2b"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | </table> |
| 109 | <h2 class="groupheader">Function Documentation</h2> |
| 110 | <a id="a4f89158c7add6565fb016b46d3a5c33b"></a> |
| 111 | <h2 class="memtitle"><span class="permalink"><a href="#a4f89158c7add6565fb016b46d3a5c33b">◆ </a></span>upsample_layer_nchw()</h2> |
| 112 | |
| 113 | <div class="memitem"> |
| 114 | <div class="memproto"> |
| 115 | <table class="memname"> |
| 116 | <tr> |
| 117 | <td class="memname">__kernel void upsample_layer_nchw </td> |
| 118 | <td>(</td> |
| 119 | <td class="paramtype">__global uchar * </td> |
| 120 | <td class="paramname"><em>src_ptr</em>, </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td class="paramkey"></td> |
| 124 | <td></td> |
| 125 | <td class="paramtype">uint </td> |
| 126 | <td class="paramname"><em>src_stride_x</em>, </td> |
| 127 | </tr> |
| 128 | <tr> |
| 129 | <td class="paramkey"></td> |
| 130 | <td></td> |
| 131 | <td class="paramtype">uint </td> |
| 132 | <td class="paramname"><em>src_step_x</em>, </td> |
| 133 | </tr> |
| 134 | <tr> |
| 135 | <td class="paramkey"></td> |
| 136 | <td></td> |
| 137 | <td class="paramtype">uint </td> |
| 138 | <td class="paramname"><em>src_stride_y</em>, </td> |
| 139 | </tr> |
| 140 | <tr> |
| 141 | <td class="paramkey"></td> |
| 142 | <td></td> |
| 143 | <td class="paramtype">uint </td> |
| 144 | <td class="paramname"><em>src_step_y</em>, </td> |
| 145 | </tr> |
| 146 | <tr> |
| 147 | <td class="paramkey"></td> |
| 148 | <td></td> |
| 149 | <td class="paramtype">uint </td> |
| 150 | <td class="paramname"><em>src_stride_z</em>, </td> |
| 151 | </tr> |
| 152 | <tr> |
| 153 | <td class="paramkey"></td> |
| 154 | <td></td> |
| 155 | <td class="paramtype">uint </td> |
| 156 | <td class="paramname"><em>src_step_z</em>, </td> |
| 157 | </tr> |
| 158 | <tr> |
| 159 | <td class="paramkey"></td> |
| 160 | <td></td> |
| 161 | <td class="paramtype">uint </td> |
| 162 | <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td> |
| 163 | </tr> |
| 164 | <tr> |
| 165 | <td class="paramkey"></td> |
| 166 | <td></td> |
| 167 | <td class="paramtype">__global uchar * </td> |
| 168 | <td class="paramname"><em>dst_ptr</em>, </td> |
| 169 | </tr> |
| 170 | <tr> |
| 171 | <td class="paramkey"></td> |
| 172 | <td></td> |
| 173 | <td class="paramtype">uint </td> |
| 174 | <td class="paramname"><em>dst_stride_x</em>, </td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <td class="paramkey"></td> |
| 178 | <td></td> |
| 179 | <td class="paramtype">uint </td> |
| 180 | <td class="paramname"><em>dst_step_x</em>, </td> |
| 181 | </tr> |
| 182 | <tr> |
| 183 | <td class="paramkey"></td> |
| 184 | <td></td> |
| 185 | <td class="paramtype">uint </td> |
| 186 | <td class="paramname"><em>dst_stride_y</em>, </td> |
| 187 | </tr> |
| 188 | <tr> |
| 189 | <td class="paramkey"></td> |
| 190 | <td></td> |
| 191 | <td class="paramtype">uint </td> |
| 192 | <td class="paramname"><em>dst_step_y</em>, </td> |
| 193 | </tr> |
| 194 | <tr> |
| 195 | <td class="paramkey"></td> |
| 196 | <td></td> |
| 197 | <td class="paramtype">uint </td> |
| 198 | <td class="paramname"><em>dst_stride_z</em>, </td> |
| 199 | </tr> |
| 200 | <tr> |
| 201 | <td class="paramkey"></td> |
| 202 | <td></td> |
| 203 | <td class="paramtype">uint </td> |
| 204 | <td class="paramname"><em>dst_step_z</em>, </td> |
| 205 | </tr> |
| 206 | <tr> |
| 207 | <td class="paramkey"></td> |
| 208 | <td></td> |
| 209 | <td class="paramtype">uint </td> |
| 210 | <td class="paramname"><em>dst_offset_first_element_in_bytes</em> </td> |
| 211 | </tr> |
| 212 | <tr> |
| 213 | <td></td> |
| 214 | <td>)</td> |
| 215 | <td></td><td></td> |
| 216 | </tr> |
| 217 | </table> |
| 218 | </div><div class="memdoc"> |
| 219 | |
| 220 | <p>This function applies upsample on an input image. </p> |
| 221 | <p>(NCHW)</p> |
| 222 | <dl class="section attention"><dt>Attention</dt><dd>The following variables must be passed at compile time:<ol type="1"> |
| 223 | <li>-DDATA_TYPE = Tensor data type. Supported data types: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32</li> |
| 224 | <li>-DVEC_SIZE_IN = Input vector size</li> |
| 225 | <li>-DVEC_SIZE_OUT = Output vector size</li> |
| 226 | <li>-DLAST_ACCESSED_X_IN = The input element that is on the X border (threads trying to set this, might need to step back a bit)</li> |
| 227 | <li>-DLAST_ACCESSED_X_OUT = The output element that is on the X border (threads trying to set this, might need to step back a bit)</li> |
| 228 | </ol> |
| 229 | </dd></dl> |
| 230 | <dl class="params"><dt>Parameters</dt><dd> |
| 231 | <table class="params"> |
| 232 | <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source image. Supported data types: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32 </td></tr> |
| 233 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr> |
| 234 | <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> |
| 235 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr> |
| 236 | <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> |
| 237 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_z</td><td>Stride of the source tensor in Z dimension (in bytes) </td></tr> |
| 238 | <tr><td class="paramdir">[in]</td><td class="paramname">src_step_z</td><td>src_stride_z * number of elements along Z processed per workitem(in bytes) </td></tr> |
| 239 | <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 image </td></tr> |
| 240 | <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination image. Supported data types: same as <code>src_ptr</code> </td></tr> |
| 241 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr> |
| 242 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_stride_x * number of elements along X processed per workitem(in bytes) </td></tr> |
| 243 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr> |
| 244 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr> |
| 245 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_z</td><td>Stride of the source tensor in Z dimension (in bytes) </td></tr> |
| 246 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_z</td><td>dst_stride_z * number of elements along Z processed per workitem(in bytes) </td></tr> |
| 247 | <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 image </td></tr> |
| 248 | </table> |
| 249 | </dd> |
| 250 | </dl> |
| 251 | |
| 252 | <p class="definition">Definition at line <a class="el" href="upsample__layer_8cl_source.xhtml#l00052">52</a> of file <a class="el" href="upsample__layer_8cl_source.xhtml">upsample_layer.cl</a>.</p> |
| 253 | |
| 254 | <p class="reference">References <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00125">CONVERT_TO_TENSOR3D_STRUCT</a>, <a class="el" href="convolution3x3_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="_c_l_2_arithmetic_division_8cpp_source.xhtml#l00100">arm_compute::test::validation::dst</a>, <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00159">Tensor3D::ptr</a>, <a class="el" href="validation_2_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00321">tensor3D_offset()</a>, and <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00054">VEC_DATA_TYPE</a>.</p> |
| 255 | <div class="fragment"><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>  <a class="code" href="struct_tensor3_d.xhtml">Tensor3D</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a>(src);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="struct_tensor3_d.xhtml">Tensor3D</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">dst</a> = <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a>(dst);</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="preprocessor">#if defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Check if access on width gets out of bounds</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// If it does shift access vector to access elements within bounds</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> xi_in = (int)(get_global_id(0) * VEC_SIZE_IN);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> xi_out = (int)(get_global_id(0) * VEC_SIZE_OUT);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> -= max(xi_in - (<span class="keywordtype">int</span>)LAST_ACCESSED_X_IN, 0) * src_stride_x;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  dst.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> -= max(xi_out - (<span class="keywordtype">int</span>)LAST_ACCESSED_X_OUT, 0) * dst_stride_x;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 8)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  data = vload8(0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.ptr);</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>  <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 16)</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  data_out = (<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(DATA_TYPE, 16))(data.s0, data.s0, data.s1, data.s1, data.s2, data.s2, data.s3, data.s3, data.s4, data.s4, data.s5, data.s5, data.s6, data.s6, data.s7, data.s7);</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>  vstore16(data_out, 0, (__global DATA_TYPE *)dst.ptr);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  vstore16(data_out, 0, (__global DATA_TYPE *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 0));</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="preprocessor">#else // !defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  *((__global DATA_TYPE *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 0, 0)) = *((__global DATA_TYPE *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  *((__global DATA_TYPE *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 0)) = *((__global DATA_TYPE *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#endif // defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</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> |
| 256 | <div class="ttc" id="struct_tensor3_d_xhtml"><div class="ttname"><a href="struct_tensor3_d.xhtml">Tensor3D</a></div><div class="ttdoc">Structure to hold 3D tensor information. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00157">helpers.h:157</a></div></div> |
| 257 | <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_adbf67dcee294e673cf796f1ed8aeb6a4"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">arm_compute::test::validation::dst</a></div><div class="ttdeci">CLTensor dst</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_arithmetic_division_8cpp_source.xhtml#l00100">ArithmeticDivision.cpp:100</a></div></div> |
| 258 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a31c8c760f08fb1a331b16b7c204321dc"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_TENSOR3D_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00125">helpers.h:125</a></div></div> |
| 259 | <div class="ttc" id="struct_tensor3_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor3D::ptr</a></div><div class="ttdeci">__global uchar * ptr</div><div class="ttdoc">Pointer to the starting postion of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00159">helpers.h:159</a></div></div> |
| 260 | <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure & src</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div> |
| 261 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a2101b2fe0193ce227ae4e0945e321d85"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a></div><div class="ttdeci">__global const uchar * tensor3D_offset(const Tensor3D *tensor, int x, int y, int z)</div><div class="ttdoc">Get the pointer position of a Tensor3D. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00321">helpers.h:321</a></div></div> |
| 262 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_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="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00054">helpers.h:54</a></div></div> |
| 263 | </div><!-- fragment --> |
| 264 | </div> |
| 265 | </div> |
| 266 | <a id="a72ea02685fbca407f07ae495159e5b2b"></a> |
| 267 | <h2 class="memtitle"><span class="permalink"><a href="#a72ea02685fbca407f07ae495159e5b2b">◆ </a></span>upsample_layer_nhwc()</h2> |
| 268 | |
| 269 | <div class="memitem"> |
| 270 | <div class="memproto"> |
| 271 | <table class="memname"> |
| 272 | <tr> |
| 273 | <td class="memname">__kernel void upsample_layer_nhwc </td> |
| 274 | <td>(</td> |
| 275 | <td class="paramtype">__global uchar * </td> |
| 276 | <td class="paramname"><em>src_ptr</em>, </td> |
| 277 | </tr> |
| 278 | <tr> |
| 279 | <td class="paramkey"></td> |
| 280 | <td></td> |
| 281 | <td class="paramtype">uint </td> |
| 282 | <td class="paramname"><em>src_stride_x</em>, </td> |
| 283 | </tr> |
| 284 | <tr> |
| 285 | <td class="paramkey"></td> |
| 286 | <td></td> |
| 287 | <td class="paramtype">uint </td> |
| 288 | <td class="paramname"><em>src_step_x</em>, </td> |
| 289 | </tr> |
| 290 | <tr> |
| 291 | <td class="paramkey"></td> |
| 292 | <td></td> |
| 293 | <td class="paramtype">uint </td> |
| 294 | <td class="paramname"><em>src_stride_y</em>, </td> |
| 295 | </tr> |
| 296 | <tr> |
| 297 | <td class="paramkey"></td> |
| 298 | <td></td> |
| 299 | <td class="paramtype">uint </td> |
| 300 | <td class="paramname"><em>src_step_y</em>, </td> |
| 301 | </tr> |
| 302 | <tr> |
| 303 | <td class="paramkey"></td> |
| 304 | <td></td> |
| 305 | <td class="paramtype">uint </td> |
| 306 | <td class="paramname"><em>src_stride_z</em>, </td> |
| 307 | </tr> |
| 308 | <tr> |
| 309 | <td class="paramkey"></td> |
| 310 | <td></td> |
| 311 | <td class="paramtype">uint </td> |
| 312 | <td class="paramname"><em>src_step_z</em>, </td> |
| 313 | </tr> |
| 314 | <tr> |
| 315 | <td class="paramkey"></td> |
| 316 | <td></td> |
| 317 | <td class="paramtype">uint </td> |
| 318 | <td class="paramname"><em>src_offset_first_element_in_bytes</em>, </td> |
| 319 | </tr> |
| 320 | <tr> |
| 321 | <td class="paramkey"></td> |
| 322 | <td></td> |
| 323 | <td class="paramtype">__global uchar * </td> |
| 324 | <td class="paramname"><em>dst_ptr</em>, </td> |
| 325 | </tr> |
| 326 | <tr> |
| 327 | <td class="paramkey"></td> |
| 328 | <td></td> |
| 329 | <td class="paramtype">uint </td> |
| 330 | <td class="paramname"><em>dst_stride_x</em>, </td> |
| 331 | </tr> |
| 332 | <tr> |
| 333 | <td class="paramkey"></td> |
| 334 | <td></td> |
| 335 | <td class="paramtype">uint </td> |
| 336 | <td class="paramname"><em>dst_step_x</em>, </td> |
| 337 | </tr> |
| 338 | <tr> |
| 339 | <td class="paramkey"></td> |
| 340 | <td></td> |
| 341 | <td class="paramtype">uint </td> |
| 342 | <td class="paramname"><em>dst_stride_y</em>, </td> |
| 343 | </tr> |
| 344 | <tr> |
| 345 | <td class="paramkey"></td> |
| 346 | <td></td> |
| 347 | <td class="paramtype">uint </td> |
| 348 | <td class="paramname"><em>dst_step_y</em>, </td> |
| 349 | </tr> |
| 350 | <tr> |
| 351 | <td class="paramkey"></td> |
| 352 | <td></td> |
| 353 | <td class="paramtype">uint </td> |
| 354 | <td class="paramname"><em>dst_stride_z</em>, </td> |
| 355 | </tr> |
| 356 | <tr> |
| 357 | <td class="paramkey"></td> |
| 358 | <td></td> |
| 359 | <td class="paramtype">uint </td> |
| 360 | <td class="paramname"><em>dst_step_z</em>, </td> |
| 361 | </tr> |
| 362 | <tr> |
| 363 | <td class="paramkey"></td> |
| 364 | <td></td> |
| 365 | <td class="paramtype">uint </td> |
| 366 | <td class="paramname"><em>dst_offset_first_element_in_bytes</em> </td> |
| 367 | </tr> |
| 368 | <tr> |
| 369 | <td></td> |
| 370 | <td>)</td> |
| 371 | <td></td><td></td> |
| 372 | </tr> |
| 373 | </table> |
| 374 | </div><div class="memdoc"> |
| 375 | |
| 376 | <p>This function applies upsample on an input image. </p> |
| 377 | <p>(NHWC)</p> |
| 378 | <dl class="section attention"><dt>Attention</dt><dd>The following variables must be passed at compile time:<ol type="1"> |
| 379 | <li>-DDATA_TYPE = Tensor data type. Supported data types: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32</li> |
| 380 | <li>-DVEC_SIZE_IN = Input vector size</li> |
| 381 | <li>-DVEC_SIZE_OUT = Output vector size</li> |
| 382 | <li>-DLAST_ACCESSED_X_IN = The input element that is on the X border (threads trying to set this, might need to step back a bit)</li> |
| 383 | <li>-DLAST_ACCESSED_X_OUT = The output element that is on the X border (threads trying to set this, might need to step back a bit)</li> |
| 384 | </ol> |
| 385 | </dd></dl> |
| 386 | <dl class="params"><dt>Parameters</dt><dd> |
| 387 | <table class="params"> |
| 388 | <tr><td class="paramdir">[in]</td><td class="paramname">src_ptr</td><td>Pointer to the source image. Supported data types: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32 </td></tr> |
| 389 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_x</td><td>Stride of the source image in X dimension (in bytes) </td></tr> |
| 390 | <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> |
| 391 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_y</td><td>Stride of the source image in Y dimension (in bytes) </td></tr> |
| 392 | <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> |
| 393 | <tr><td class="paramdir">[in]</td><td class="paramname">src_stride_z</td><td>Stride of the source tensor in Z dimension (in bytes) </td></tr> |
| 394 | <tr><td class="paramdir">[in]</td><td class="paramname">src_step_z</td><td>src_stride_z * number of elements along Z processed per workitem(in bytes) </td></tr> |
| 395 | <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 image </td></tr> |
| 396 | <tr><td class="paramdir">[out]</td><td class="paramname">dst_ptr</td><td>Pointer to the destination image. Supported data types: same as <code>src_ptr</code> </td></tr> |
| 397 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_x</td><td>Stride of the destination image in X dimension (in bytes) </td></tr> |
| 398 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_x</td><td>dst_stride_x * number of elements along X processed per workitem(in bytes) </td></tr> |
| 399 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_y</td><td>Stride of the destination image in Y dimension (in bytes) </td></tr> |
| 400 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_y</td><td>dst_stride_y * number of elements along Y processed per workitem(in bytes) </td></tr> |
| 401 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_stride_z</td><td>Stride of the source tensor in Z dimension (in bytes) </td></tr> |
| 402 | <tr><td class="paramdir">[in]</td><td class="paramname">dst_step_z</td><td>dst_stride_z * number of elements along Z processed per workitem(in bytes) </td></tr> |
| 403 | <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 image </td></tr> |
| 404 | </table> |
| 405 | </dd> |
| 406 | </dl> |
| 407 | |
| 408 | <p class="definition">Definition at line <a class="el" href="upsample__layer_8cl_source.xhtml#l00107">107</a> of file <a class="el" href="upsample__layer_8cl_source.xhtml">upsample_layer.cl</a>.</p> |
| 409 | |
| 410 | <p class="reference">References <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00125">CONVERT_TO_TENSOR3D_STRUCT</a>, <a class="el" href="convolution3x3_8cl_source.xhtml#l00027">DATA_TYPE</a>, <a class="el" href="_c_l_2_arithmetic_division_8cpp_source.xhtml#l00100">arm_compute::test::validation::dst</a>, <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00159">Tensor3D::ptr</a>, <a class="el" href="validation_2_c_l_2_convolution_8cpp_source.xhtml#l00147">arm_compute::test::validation::src</a>, <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00321">tensor3D_offset()</a>, and <a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00054">VEC_DATA_TYPE</a>.</p> |
| 411 | <div class="fragment"><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="struct_tensor3_d.xhtml">Tensor3D</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a>(src);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="struct_tensor3_d.xhtml">Tensor3D</a> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">dst</a> = <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a>(dst);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="preprocessor">#if defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// Check if access on width gets out of bounds</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// If it does shift access vector to access elements within bounds</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> xi_in = (int)(get_global_id(0) * VEC_SIZE_IN);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> xi_out = (int)(get_global_id(0) * VEC_SIZE_OUT);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> -= max(xi_in - (<span class="keywordtype">int</span>)LAST_ACCESSED_X_IN, 0) * src_stride_x;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  dst.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a> -= max(xi_out - (<span class="keywordtype">int</span>)LAST_ACCESSED_X_OUT, 0) * dst_stride_x;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a36f754c05b6fddf6df0d8d0a74f8159f">VEC_DATA_TYPE</a>(<a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, 16)</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  data = vload16(0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.ptr);</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>  vstore16(data, 0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 0, 0));</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  vstore16(data, 0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 0));</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  vstore16(data, 0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 0, 1));</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  vstore16(data, 0, (__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 1));</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#else // !defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 0, 0)) = *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 0)) = *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 0, 1)) = *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)<a class="code" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a>(&dst, 0, 1, 1)) = *((__global <a class="code" href="convolution3x3_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a> *)src.<a class="code" href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">ptr</a>);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor">#endif // defined(VEC_SIZE_IN) && defined(VEC_SIZE_OUT) && defined(LAST_ACCESSED_X_IN) && defined(LAST_ACCESSED_X_OUT)</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> }</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> |
| 412 | <div class="ttc" id="struct_tensor3_d_xhtml"><div class="ttname"><a href="struct_tensor3_d.xhtml">Tensor3D</a></div><div class="ttdoc">Structure to hold 3D tensor information. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00157">helpers.h:157</a></div></div> |
| 413 | <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_adbf67dcee294e673cf796f1ed8aeb6a4"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#adbf67dcee294e673cf796f1ed8aeb6a4">arm_compute::test::validation::dst</a></div><div class="ttdeci">CLTensor dst</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_arithmetic_division_8cpp_source.xhtml#l00100">ArithmeticDivision.cpp:100</a></div></div> |
| 414 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a31c8c760f08fb1a331b16b7c204321dc"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a31c8c760f08fb1a331b16b7c204321dc">CONVERT_TO_TENSOR3D_STRUCT</a></div><div class="ttdeci">#define CONVERT_TO_TENSOR3D_STRUCT(name)</div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00125">helpers.h:125</a></div></div> |
| 415 | <div class="ttc" id="struct_tensor3_d_xhtml_acf52c23cbd7424606c10a606524e3e32"><div class="ttname"><a href="struct_tensor3_d.xhtml#acf52c23cbd7424606c10a606524e3e32">Tensor3D::ptr</a></div><div class="ttdeci">__global uchar * ptr</div><div class="ttdoc">Pointer to the starting postion of the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00159">helpers.h:159</a></div></div> |
| 416 | <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure & src</div><div class="ttdef"><b>Definition:</b> <a href="validation_2_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div> |
| 417 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a2101b2fe0193ce227ae4e0945e321d85"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h.xhtml#a2101b2fe0193ce227ae4e0945e321d85">tensor3D_offset</a></div><div class="ttdeci">__global const uchar * tensor3D_offset(const Tensor3D *tensor, int x, int y, int z)</div><div class="ttdoc">Get the pointer position of a Tensor3D. </div><div class="ttdef"><b>Definition:</b> <a href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00321">helpers.h:321</a></div></div> |
| 418 | <div class="ttc" id="src_2core_2_c_l_2cl__kernels_2_helpers_8h_xhtml_a36f754c05b6fddf6df0d8d0a74f8159f"><div class="ttname"><a href="src_2core_2_c_l_2cl__kernels_2_helpers_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="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml#l00054">helpers.h:54</a></div></div> |
| 419 | </div><!-- fragment --> |
| 420 | </div> |
| 421 | </div> |
| 422 | </div><!-- contents --> |
| 423 | </div><!-- doc-content --> |
| 424 | <!-- start footer part --> |
| 425 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 426 | <ul> |
| 427 | <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="upsample__layer_8cl.xhtml">upsample_layer.cl</a></li> |
| 428 | <li class="footer">Generated on Thu Nov 22 2018 11:57:43 for Compute Library by |
| 429 | <a href="http://www.doxygen.org/index.html"> |
| 430 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 431 | </ul> |
| 432 | </div> |
| 433 | </body> |
| 434 | </html> |