003a83b1ec9a439129f4dfad5425719542620e82
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_i_c_l_kernel.xhtml
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.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: ICLKernel Class 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   $(window).load(resizeHeight);
20 </script>
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25   $(document).ready(function() { init_search(); });
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 });
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
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;">
42    <div id="projectname">Compute Library
43    &#160;<span id="projectnumber">18.02</span>
44    </div>
45   </td>
46  </tr>
47  </tbody>
48 </table>
49 </div>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
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&#160;Page</span></a></li>
58       <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
59       <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60       <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
61       <li><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="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
83       <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
84       <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
85       <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
86     </ul>
87   </div>
88 </div><!-- top -->
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
90   <div id="nav-tree">
91     <div id="nav-tree-contents">
92       <div id="nav-sync" class="sync"></div>
93     </div>
94   </div>
95   <div id="splitbar" style="-moz-user-select:none;" 
96        class="ui-resizable-handle">
97   </div>
98 </div>
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_i_c_l_kernel.xhtml','');});
101 </script>
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105      onmouseover="return searchBox.OnSearchSelectShow()"
106      onmouseout="return searchBox.OnSearchSelectHide()"
107      onkeydown="return searchBox.OnSearchSelectKey(event)">
108 </div>
109
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0" 
113         name="MSearchResults" id="MSearchResults">
114 </iframe>
115 </div>
116
117 <div class="header">
118   <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a> &#124;
120 <a href="#pub-static-methods">Static Public Member Functions</a>  </div>
121   <div class="headertitle">
122 <div class="title">ICLKernel Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
123 </div><!--header-->
124 <div class="contents">
125
126 <p>Common interface for all the OpenCL kernels.  
127  <a href="classarm__compute_1_1_i_c_l_kernel.xhtml#details">More...</a></p>
128
129 <p><code>#include &lt;<a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>&gt;</code></p>
130 <div class="dynheader">
131 Collaboration diagram for ICLKernel:</div>
132 <div class="dyncontent">
133 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_i_c_l_kernel__coll__graph.svg" width="91" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
134 </div>
135 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
136 <table class="memberdecls">
137 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
138 Public Member Functions</h2></td></tr>
139 <tr class="memitem:a6b10e96ce90bf901d17def86b874b019"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a6b10e96ce90bf901d17def86b874b019">ICLKernel</a> ()</td></tr>
140 <tr class="memdesc:a6b10e96ce90bf901d17def86b874b019"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a6b10e96ce90bf901d17def86b874b019">More...</a><br /></td></tr>
141 <tr class="separator:a6b10e96ce90bf901d17def86b874b019"><td class="memSeparator" colspan="2">&#160;</td></tr>
142 <tr class="memitem:ae5121015ab09ece4d470f50c7ffe198e"><td class="memItemLeft" align="right" valign="top">cl::Kernel &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ae5121015ab09ece4d470f50c7ffe198e">kernel</a> ()</td></tr>
143 <tr class="memdesc:ae5121015ab09ece4d470f50c7ffe198e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the OpenCL kernel of this object.  <a href="#ae5121015ab09ece4d470f50c7ffe198e">More...</a><br /></td></tr>
144 <tr class="separator:ae5121015ab09ece4d470f50c7ffe198e"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 <tr class="memitem:a9331d385192a50adf74d3af40ce0fa20"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
146 <tr class="memitem:a9331d385192a50adf74d3af40ce0fa20"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a9331d385192a50adf74d3af40ce0fa20">add_1D_array_argument</a> (unsigned int &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *array, const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;strides, unsigned int num_dimensions, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
147 <tr class="memdesc:a9331d385192a50adf74d3af40ce0fa20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed 1D array's parameters to the object's kernel's arguments starting from the index idx.  <a href="#a9331d385192a50adf74d3af40ce0fa20">More...</a><br /></td></tr>
148 <tr class="separator:a9331d385192a50adf74d3af40ce0fa20"><td class="memSeparator" colspan="2">&#160;</td></tr>
149 <tr class="memitem:a479e7043e65dc87de35d374e108510f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a479e7043e65dc87de35d374e108510f7">add_1D_tensor_argument</a> (unsigned int &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
150 <tr class="memdesc:a479e7043e65dc87de35d374e108510f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the index idx.  <a href="#a479e7043e65dc87de35d374e108510f7">More...</a><br /></td></tr>
151 <tr class="separator:a479e7043e65dc87de35d374e108510f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
152 <tr class="memitem:ac74dad3e61f79334f5e73f3c3ac603cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ac74dad3e61f79334f5e73f3c3ac603cb">add_2D_tensor_argument</a> (unsigned int &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
153 <tr class="memdesc:ac74dad3e61f79334f5e73f3c3ac603cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed 2D tensor's parameters to the object's kernel's arguments starting from the index idx.  <a href="#ac74dad3e61f79334f5e73f3c3ac603cb">More...</a><br /></td></tr>
154 <tr class="separator:ac74dad3e61f79334f5e73f3c3ac603cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
155 <tr class="memitem:a28f5847162f352444c6ac1825d0e99c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a28f5847162f352444c6ac1825d0e99c7">add_3D_tensor_argument</a> (unsigned int &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
156 <tr class="memdesc:a28f5847162f352444c6ac1825d0e99c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed 3D tensor's parameters to the object's kernel's arguments starting from the index idx.  <a href="#a28f5847162f352444c6ac1825d0e99c7">More...</a><br /></td></tr>
157 <tr class="separator:a28f5847162f352444c6ac1825d0e99c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
158 <tr class="memitem:a33e09c946b338fbfc780a9d1c66e68ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a33e09c946b338fbfc780a9d1c66e68ad">add_4D_tensor_argument</a> (unsigned int &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
159 <tr class="memdesc:a33e09c946b338fbfc780a9d1c66e68ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed 4D tensor's parameters to the object's kernel's arguments starting from the index idx.  <a href="#a33e09c946b338fbfc780a9d1c66e68ad">More...</a><br /></td></tr>
160 <tr class="separator:a33e09c946b338fbfc780a9d1c66e68ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
161 <tr class="memitem:af6a174d47571f51f199ffc27ecc10f51"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#af6a174d47571f51f199ffc27ecc10f51">run</a> (const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>, cl::CommandQueue &amp;queue)=0</td></tr>
162 <tr class="memdesc:af6a174d47571f51f199ffc27ecc10f51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.  <a href="#af6a174d47571f51f199ffc27ecc10f51">More...</a><br /></td></tr>
163 <tr class="separator:af6a174d47571f51f199ffc27ecc10f51"><td class="memSeparator" colspan="2">&#160;</td></tr>
164 <tr class="memitem:a50f427a1d9419800972b9e03c4034311"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
165 <tr class="memitem:a50f427a1d9419800972b9e03c4034311"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a50f427a1d9419800972b9e03c4034311">add_argument</a> (unsigned int &amp;idx, T <a class="el" href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a>)</td></tr>
166 <tr class="memdesc:a50f427a1d9419800972b9e03c4034311"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed parameters to the object's kernel's arguments starting from the index idx.  <a href="#a50f427a1d9419800972b9e03c4034311">More...</a><br /></td></tr>
167 <tr class="separator:a50f427a1d9419800972b9e03c4034311"><td class="memSeparator" colspan="2">&#160;</td></tr>
168 <tr class="memitem:a44c701b9dbd01a171de4928254d1ecbf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a44c701b9dbd01a171de4928254d1ecbf">set_lws_hint</a> (cl::NDRange &amp;lws_hint)</td></tr>
169 <tr class="memdesc:a44c701b9dbd01a171de4928254d1ecbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Local-Workgroup-Size hint.  <a href="#a44c701b9dbd01a171de4928254d1ecbf">More...</a><br /></td></tr>
170 <tr class="separator:a44c701b9dbd01a171de4928254d1ecbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 <tr class="memitem:a226d2e9e6d3c42d681666566fe950b2d"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a226d2e9e6d3c42d681666566fe950b2d">config_id</a> () const </td></tr>
172 <tr class="memdesc:a226d2e9e6d3c42d681666566fe950b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the configuration ID.  <a href="#a226d2e9e6d3c42d681666566fe950b2d">More...</a><br /></td></tr>
173 <tr class="separator:a226d2e9e6d3c42d681666566fe950b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
174 <tr class="memitem:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ad5ba9d34a3a855bf1dd2e36316ff550a">set_target</a> (<a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> target)</td></tr>
175 <tr class="memdesc:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the targeted GPU architecture.  <a href="#ad5ba9d34a3a855bf1dd2e36316ff550a">More...</a><br /></td></tr>
176 <tr class="separator:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="memSeparator" colspan="2">&#160;</td></tr>
177 <tr class="memitem:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a57e5f498fcbfc25c28b8496dfa3fc33c">set_target</a> (cl::Device &amp;device)</td></tr>
178 <tr class="memdesc:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the targeted GPU architecture according to the CL device.  <a href="#a57e5f498fcbfc25c28b8496dfa3fc33c">More...</a><br /></td></tr>
179 <tr class="separator:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="memSeparator" colspan="2">&#160;</td></tr>
180 <tr class="memitem:a646cd535a16835b246c3367a63d96250"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a646cd535a16835b246c3367a63d96250">get_target</a> () const </td></tr>
181 <tr class="memdesc:a646cd535a16835b246c3367a63d96250"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the targeted GPU architecture.  <a href="#a646cd535a16835b246c3367a63d96250">More...</a><br /></td></tr>
182 <tr class="separator:a646cd535a16835b246c3367a63d96250"><td class="memSeparator" colspan="2">&#160;</td></tr>
183 <tr class="memitem:abca336f832d730e8494049bd714df60a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#abca336f832d730e8494049bd714df60a">get_max_workgroup_size</a> ()</td></tr>
184 <tr class="memdesc:abca336f832d730e8494049bd714df60a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum workgroup size for the device the <a class="el" href="classarm__compute_1_1_c_l_kernel_library.xhtml" title="CLKernelLibrary class. ">CLKernelLibrary</a> uses.  <a href="#abca336f832d730e8494049bd714df60a">More...</a><br /></td></tr>
185 <tr class="separator:abca336f832d730e8494049bd714df60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
186 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplParams" colspan="2">template&lt;typename T , unsigned int dimension_size&gt; </td></tr>
187 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a2d7c6b5f3332604ad6a637457f65c342">add_array_argument</a> (unsigned &amp;idx, const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *array, const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;strides, unsigned int num_dimensions, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
188 <tr class="separator:a2d7c6b5f3332604ad6a637457f65c342"><td class="memSeparator" colspan="2">&#160;</td></tr>
189 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_kernel')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_kernel.xhtml">IKernel</a></td></tr>
190 <tr class="memitem:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a7250cb8cbaa4104a93a2d77155085507">IKernel</a> ()</td></tr>
191 <tr class="memdesc:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a7250cb8cbaa4104a93a2d77155085507">More...</a><br /></td></tr>
192 <tr class="separator:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
193 <tr class="memitem:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a341b60d15a5e12a5b8f3825194dd3b12">~IKernel</a> ()=default</td></tr>
194 <tr class="memdesc:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a341b60d15a5e12a5b8f3825194dd3b12">More...</a><br /></td></tr>
195 <tr class="separator:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
196 <tr class="memitem:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#abfab8f0d4928e1081d9f65b77933e24a">is_parallelisable</a> () const </td></tr>
197 <tr class="memdesc:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates whether or not the kernel is parallelisable.  <a href="#abfab8f0d4928e1081d9f65b77933e24a">More...</a><br /></td></tr>
198 <tr class="separator:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
199 <tr class="memitem:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#aa6daa9b04e2035bf007e5e5c3c4396a8">border_size</a> () const </td></tr>
200 <tr class="memdesc:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">The size of the border for that kernel.  <a href="#aa6daa9b04e2035bf007e5e5c3c4396a8">More...</a><br /></td></tr>
201 <tr class="separator:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
202 <tr class="memitem:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a> () const </td></tr>
203 <tr class="memdesc:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">The maximum window the kernel can be executed on.  <a href="#a3f5646133956f06348b310ccc3d36353">More...</a><br /></td></tr>
204 <tr class="separator:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
205 </table><table class="memberdecls">
206 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
207 Static Public Member Functions</h2></td></tr>
208 <tr class="memitem:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a278f0e6c68ca17e71f4c4ff82f360aa0">num_arguments_per_1D_array</a> ()</td></tr>
209 <tr class="memdesc:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arguments enqueued per 1D array object.  <a href="#a278f0e6c68ca17e71f4c4ff82f360aa0">More...</a><br /></td></tr>
210 <tr class="separator:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
211 <tr class="memitem:a43b6c5e4b57069c5f61e96dff24c212d"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a43b6c5e4b57069c5f61e96dff24c212d">num_arguments_per_1D_tensor</a> ()</td></tr>
212 <tr class="memdesc:a43b6c5e4b57069c5f61e96dff24c212d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arguments enqueued per 1D tensor object.  <a href="#a43b6c5e4b57069c5f61e96dff24c212d">More...</a><br /></td></tr>
213 <tr class="separator:a43b6c5e4b57069c5f61e96dff24c212d"><td class="memSeparator" colspan="2">&#160;</td></tr>
214 <tr class="memitem:a45601e0d46621a5b6f2e417d60e5c800"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a45601e0d46621a5b6f2e417d60e5c800">num_arguments_per_2D_tensor</a> ()</td></tr>
215 <tr class="memdesc:a45601e0d46621a5b6f2e417d60e5c800"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arguments enqueued per 2D tensor object.  <a href="#a45601e0d46621a5b6f2e417d60e5c800">More...</a><br /></td></tr>
216 <tr class="separator:a45601e0d46621a5b6f2e417d60e5c800"><td class="memSeparator" colspan="2">&#160;</td></tr>
217 <tr class="memitem:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a6c9c1e7a7d96743375ca40847f0f12e2">num_arguments_per_3D_tensor</a> ()</td></tr>
218 <tr class="memdesc:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arguments enqueued per 3D tensor object.  <a href="#a6c9c1e7a7d96743375ca40847f0f12e2">More...</a><br /></td></tr>
219 <tr class="separator:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
220 <tr class="memitem:a184fdf37587a9314cf12623accea6c73"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a184fdf37587a9314cf12623accea6c73">num_arguments_per_4D_tensor</a> ()</td></tr>
221 <tr class="memdesc:a184fdf37587a9314cf12623accea6c73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of arguments enqueued per 4D tensor object.  <a href="#a184fdf37587a9314cf12623accea6c73">More...</a><br /></td></tr>
222 <tr class="separator:a184fdf37587a9314cf12623accea6c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
223 <tr class="memitem:a4b4a20e518c04e657839280cd486a85d"><td class="memItemLeft" align="right" valign="top">static cl::NDRange&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a4b4a20e518c04e657839280cd486a85d">gws_from_window</a> (const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
224 <tr class="memdesc:a4b4a20e518c04e657839280cd486a85d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the global work size given an execution window.  <a href="#a4b4a20e518c04e657839280cd486a85d">More...</a><br /></td></tr>
225 <tr class="separator:a4b4a20e518c04e657839280cd486a85d"><td class="memSeparator" colspan="2">&#160;</td></tr>
226 </table>
227 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
228 <div class="textblock"><p>Common interface for all the OpenCL kernels. </p>
229
230 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00042">42</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
231 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
232 <a class="anchor" id="a6b10e96ce90bf901d17def86b874b019"></a>
233 <div class="memitem">
234 <div class="memproto">
235 <table class="mlabels">
236   <tr>
237   <td class="mlabels-left">
238       <table class="memname">
239         <tr>
240           <td class="memname"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a> </td>
241           <td>(</td>
242           <td class="paramname"></td><td>)</td>
243           <td></td>
244         </tr>
245       </table>
246   </td>
247   <td class="mlabels-right">
248 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
249   </tr>
250 </table>
251 </div><div class="memdoc">
252
253 <p>Constructor. </p>
254
255 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00066">66</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
256 <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        : _kernel(<span class="keyword">nullptr</span>), _lws_hint(<a class="code" href="classarm__compute_1_1_c_l_kernel_library.xhtml#aebe2d25607545d31f2b1ace6d60a81da">CLKernelLibrary::get</a>().default_ndrange()), _target(<a class="code" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38">GPUTarget::MIDGARD</a>), _config_id(arm_compute::default_config_id), _max_workgroup_size(0)</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    {</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_c_l_kernel_library_xhtml_aebe2d25607545d31f2b1ace6d60a81da"><div class="ttname"><a href="classarm__compute_1_1_c_l_kernel_library.xhtml#aebe2d25607545d31f2b1ace6d60a81da">arm_compute::CLKernelLibrary::get</a></div><div class="ttdeci">static CLKernelLibrary &amp; get()</div><div class="ttdoc">Access the KernelLibrary singleton. </div></div>
257 <div class="ttc" id="namespacearm__compute_xhtml_a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38"><div class="ttname"><a href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38">arm_compute::GPUTarget::MIDGARD</a></div></div>
258 </div><!-- fragment -->
259 </div>
260 </div>
261 <h2 class="groupheader">Member Function Documentation</h2>
262 <a class="anchor" id="a9331d385192a50adf74d3af40ce0fa20"></a>
263 <div class="memitem">
264 <div class="memproto">
265 <table class="mlabels">
266   <tr>
267   <td class="mlabels-left">
268       <table class="memname">
269         <tr>
270           <td class="memname">void add_1D_array_argument </td>
271           <td>(</td>
272           <td class="paramtype">unsigned int &amp;&#160;</td>
273           <td class="paramname"><em>idx</em>, </td>
274         </tr>
275         <tr>
276           <td class="paramkey"></td>
277           <td></td>
278           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *&#160;</td>
279           <td class="paramname"><em>array</em>, </td>
280         </tr>
281         <tr>
282           <td class="paramkey"></td>
283           <td></td>
284           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;&#160;</td>
285           <td class="paramname"><em>strides</em>, </td>
286         </tr>
287         <tr>
288           <td class="paramkey"></td>
289           <td></td>
290           <td class="paramtype">unsigned int&#160;</td>
291           <td class="paramname"><em>num_dimensions</em>, </td>
292         </tr>
293         <tr>
294           <td class="paramkey"></td>
295           <td></td>
296           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
297           <td class="paramname"><em>window</em>&#160;</td>
298         </tr>
299         <tr>
300           <td></td>
301           <td>)</td>
302           <td></td><td></td>
303         </tr>
304       </table>
305   </td>
306   <td class="mlabels-right">
307 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
308   </tr>
309 </table>
310 </div><div class="memdoc">
311
312 <p>Add the passed 1D array's parameters to the object's kernel's arguments starting from the index idx. </p>
313 <dl class="params"><dt>Parameters</dt><dd>
314   <table class="params">
315     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the array's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
316     <tr><td class="paramdir">[in]</td><td class="paramname">array</td><td><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> to set as an argument of the object's kernel. </td></tr>
317     <tr><td class="paramdir">[in]</td><td class="paramname">strides</td><td><a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> object containing stride of each dimension in bytes. </td></tr>
318     <tr><td class="paramdir">[in]</td><td class="paramname">num_dimensions</td><td>Number of dimensions of the <code>array</code>. </td></tr>
319     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
320   </table>
321   </dd>
322 </dl>
323
324 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00087">87</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
325
326 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
327 <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    {</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        add_array_argument&lt;T, 1&gt;(idx, array, strides, num_dimensions, <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
328 </div><!-- fragment -->
329 </div>
330 </div>
331 <a class="anchor" id="a479e7043e65dc87de35d374e108510f7"></a>
332 <div class="memitem">
333 <div class="memproto">
334 <table class="mlabels">
335   <tr>
336   <td class="mlabels-left">
337       <table class="memname">
338         <tr>
339           <td class="memname">void add_1D_tensor_argument </td>
340           <td>(</td>
341           <td class="paramtype">unsigned int &amp;&#160;</td>
342           <td class="paramname"><em>idx</em>, </td>
343         </tr>
344         <tr>
345           <td class="paramkey"></td>
346           <td></td>
347           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
348           <td class="paramname"><em>tensor</em>, </td>
349         </tr>
350         <tr>
351           <td class="paramkey"></td>
352           <td></td>
353           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
354           <td class="paramname"><em>window</em>&#160;</td>
355         </tr>
356         <tr>
357           <td></td>
358           <td>)</td>
359           <td></td><td></td>
360         </tr>
361       </table>
362   </td>
363   <td class="mlabels-right">
364 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
365   </tr>
366 </table>
367 </div><div class="memdoc">
368
369 <p>Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
370 <dl class="params"><dt>Parameters</dt><dd>
371   <table class="params">
372     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
373     <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
374     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
375   </table>
376   </dd>
377 </dl>
378
379 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00097">97</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
380
381 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
382 <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        add_tensor_argument&lt;1&gt;(idx, tensor, <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
383 </div><!-- fragment -->
384 </div>
385 </div>
386 <a class="anchor" id="ac74dad3e61f79334f5e73f3c3ac603cb"></a>
387 <div class="memitem">
388 <div class="memproto">
389 <table class="mlabels">
390   <tr>
391   <td class="mlabels-left">
392       <table class="memname">
393         <tr>
394           <td class="memname">void add_2D_tensor_argument </td>
395           <td>(</td>
396           <td class="paramtype">unsigned int &amp;&#160;</td>
397           <td class="paramname"><em>idx</em>, </td>
398         </tr>
399         <tr>
400           <td class="paramkey"></td>
401           <td></td>
402           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
403           <td class="paramname"><em>tensor</em>, </td>
404         </tr>
405         <tr>
406           <td class="paramkey"></td>
407           <td></td>
408           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
409           <td class="paramname"><em>window</em>&#160;</td>
410         </tr>
411         <tr>
412           <td></td>
413           <td>)</td>
414           <td></td><td></td>
415         </tr>
416       </table>
417   </td>
418   <td class="mlabels-right">
419 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
420   </tr>
421 </table>
422 </div><div class="memdoc">
423
424 <p>Add the passed 2D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
425 <dl class="params"><dt>Parameters</dt><dd>
426   <table class="params">
427     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
428     <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
429     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
430   </table>
431   </dd>
432 </dl>
433
434 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00107">107</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
435
436 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
437 <div class="fragment"><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    {</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        add_tensor_argument&lt;2&gt;(idx, tensor, <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
438 </div><!-- fragment -->
439 </div>
440 </div>
441 <a class="anchor" id="a28f5847162f352444c6ac1825d0e99c7"></a>
442 <div class="memitem">
443 <div class="memproto">
444 <table class="mlabels">
445   <tr>
446   <td class="mlabels-left">
447       <table class="memname">
448         <tr>
449           <td class="memname">void add_3D_tensor_argument </td>
450           <td>(</td>
451           <td class="paramtype">unsigned int &amp;&#160;</td>
452           <td class="paramname"><em>idx</em>, </td>
453         </tr>
454         <tr>
455           <td class="paramkey"></td>
456           <td></td>
457           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
458           <td class="paramname"><em>tensor</em>, </td>
459         </tr>
460         <tr>
461           <td class="paramkey"></td>
462           <td></td>
463           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
464           <td class="paramname"><em>window</em>&#160;</td>
465         </tr>
466         <tr>
467           <td></td>
468           <td>)</td>
469           <td></td><td></td>
470         </tr>
471       </table>
472   </td>
473   <td class="mlabels-right">
474 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
475   </tr>
476 </table>
477 </div><div class="memdoc">
478
479 <p>Add the passed 3D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
480 <dl class="params"><dt>Parameters</dt><dd>
481   <table class="params">
482     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
483     <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
484     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
485   </table>
486   </dd>
487 </dl>
488
489 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00117">117</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
490
491 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
492 <div class="fragment"><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        add_tensor_argument&lt;3&gt;(idx, tensor, <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>);</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
493 </div><!-- fragment -->
494 </div>
495 </div>
496 <a class="anchor" id="a33e09c946b338fbfc780a9d1c66e68ad"></a>
497 <div class="memitem">
498 <div class="memproto">
499 <table class="mlabels">
500   <tr>
501   <td class="mlabels-left">
502       <table class="memname">
503         <tr>
504           <td class="memname">void add_4D_tensor_argument </td>
505           <td>(</td>
506           <td class="paramtype">unsigned int &amp;&#160;</td>
507           <td class="paramname"><em>idx</em>, </td>
508         </tr>
509         <tr>
510           <td class="paramkey"></td>
511           <td></td>
512           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
513           <td class="paramname"><em>tensor</em>, </td>
514         </tr>
515         <tr>
516           <td class="paramkey"></td>
517           <td></td>
518           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
519           <td class="paramname"><em>window</em>&#160;</td>
520         </tr>
521         <tr>
522           <td></td>
523           <td>)</td>
524           <td></td><td></td>
525         </tr>
526       </table>
527   </td>
528   <td class="mlabels-right">
529 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
530   </tr>
531 </table>
532 </div><div class="memdoc">
533
534 <p>Add the passed 4D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
535 <dl class="params"><dt>Parameters</dt><dd>
536   <table class="params">
537     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
538     <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
539     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
540   </table>
541   </dd>
542 </dl>
543
544 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00127">127</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
545
546 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
547 <div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    {</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        add_tensor_argument&lt;4&gt;(idx, tensor, <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
548 </div><!-- fragment -->
549 </div>
550 </div>
551 <a class="anchor" id="a50f427a1d9419800972b9e03c4034311"></a>
552 <div class="memitem">
553 <div class="memproto">
554 <table class="mlabels">
555   <tr>
556   <td class="mlabels-left">
557       <table class="memname">
558         <tr>
559           <td class="memname">void add_argument </td>
560           <td>(</td>
561           <td class="paramtype">unsigned int &amp;&#160;</td>
562           <td class="paramname"><em>idx</em>, </td>
563         </tr>
564         <tr>
565           <td class="paramkey"></td>
566           <td></td>
567           <td class="paramtype">T&#160;</td>
568           <td class="paramname"><em>value</em>&#160;</td>
569         </tr>
570         <tr>
571           <td></td>
572           <td>)</td>
573           <td></td><td></td>
574         </tr>
575       </table>
576   </td>
577   <td class="mlabels-right">
578 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
579   </tr>
580 </table>
581 </div><div class="memdoc">
582
583 <p>Add the passed parameters to the object's kernel's arguments starting from the index idx. </p>
584 <dl class="params"><dt>Parameters</dt><dd>
585   <table class="params">
586     <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the arguments. Will be incremented by the number of kernel arguments set. </td></tr>
587     <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Value to set as an argument of the object's kernel. </td></tr>
588   </table>
589   </dd>
590 </dl>
591
592 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00185">185</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
593 <div class="fragment"><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    {</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        _kernel.setArg(idx++, <a class="code" href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a>);</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    }</div><div class="ttc" id="hwc_8hpp_xhtml_a0f61d63b009d0880a89c843bd50d8d76"><div class="ttname"><a href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a></div><div class="ttdeci">void * value</div><div class="ttdef"><b>Definition:</b> <a href="hwc_8hpp_source.xhtml#l00278">hwc.hpp:278</a></div></div>
594 </div><!-- fragment -->
595 </div>
596 </div>
597 <a class="anchor" id="a2d7c6b5f3332604ad6a637457f65c342"></a>
598 <div class="memitem">
599 <div class="memproto">
600       <table class="memname">
601         <tr>
602           <td class="memname">void add_array_argument </td>
603           <td>(</td>
604           <td class="paramtype">unsigned &amp;&#160;</td>
605           <td class="paramname"><em>idx</em>, </td>
606         </tr>
607         <tr>
608           <td class="paramkey"></td>
609           <td></td>
610           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *&#160;</td>
611           <td class="paramname"><em>array</em>, </td>
612         </tr>
613         <tr>
614           <td class="paramkey"></td>
615           <td></td>
616           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;&#160;</td>
617           <td class="paramname"><em>strides</em>, </td>
618         </tr>
619         <tr>
620           <td class="paramkey"></td>
621           <td></td>
622           <td class="paramtype">unsigned int&#160;</td>
623           <td class="paramname"><em>num_dimensions</em>, </td>
624         </tr>
625         <tr>
626           <td class="paramkey"></td>
627           <td></td>
628           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
629           <td class="paramname"><em>window</em>&#160;</td>
630         </tr>
631         <tr>
632           <td></td>
633           <td>)</td>
634           <td></td><td></td>
635         </tr>
636       </table>
637 </div><div class="memdoc">
638
639 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00297">297</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
640
641 <p>References <a class="el" href="core_2_error_8h_source.xhtml#l00306">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="core_2_error_8h_source.xhtml#l00297">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="core_2_error_8h_source.xhtml#l00147">ARM_COMPUTE_UNUSED</a>, and <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml#a1fb4c50755a0ef424652246838ed91a6">ICLArray&lt; T &gt;::cl_buffer()</a>.</p>
642 <div class="fragment"><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;{</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    <a class="code" href="core_2_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(array == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="comment">// Calculate offset to the start of the window</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> offset_first_element = 0;</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n = 0; n &lt; num_dimensions; ++n)</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    {</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        offset_first_element += <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>[n].start() * strides[n];</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;    }</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx_start = idx;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    _kernel.setArg(idx++, array-&gt;cl_buffer());</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> dimension = 0; dimension &lt; dimension_size; dimension++)</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    {</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        _kernel.setArg&lt;cl_uint&gt;(idx++, strides[dimension]);</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        _kernel.setArg&lt;cl_uint&gt;(idx++, strides[dimension] * <a class="code" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>[dimension].step());</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    }</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    _kernel.setArg&lt;cl_uint&gt;(idx++, offset_first_element);</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <a class="code" href="core_2_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(idx_start + num_arguments_per_array&lt;dimension_size&gt;() != idx,</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;                             <span class="stringliteral">&quot;add_%dD_array_argument() is supposed to add exactly %d arguments to the kernel&quot;</span>, dimension_size, num_arguments_per_array&lt;dimension_size&gt;());</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <a class="code" href="core_2_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a>(idx_start);</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;}</div><div class="ttc" id="core_2_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="core_2_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00306">Error.h:306</a></div></div>
643 <div class="ttc" id="core_2_error_8h_xhtml_a4103adbb45806b2f2002d44b91d0d206"><div class="ttname"><a href="core_2_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a></div><div class="ttdeci">#define ARM_COMPUTE_UNUSED(var)</div><div class="ttdoc">To avoid unused variables warnings. </div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00147">Error.h:147</a></div></div>
644 <div class="ttc" id="core_2_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="core_2_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00297">Error.h:297</a></div></div>
645 <div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window &amp; window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
646 </div><!-- fragment -->
647 </div>
648 </div>
649 <a class="anchor" id="a226d2e9e6d3c42d681666566fe950b2d"></a>
650 <div class="memitem">
651 <div class="memproto">
652 <table class="mlabels">
653   <tr>
654   <td class="mlabels-left">
655       <table class="memname">
656         <tr>
657           <td class="memname">const std::string&amp; config_id </td>
658           <td>(</td>
659           <td class="paramname"></td><td>)</td>
660           <td> const</td>
661         </tr>
662       </table>
663   </td>
664   <td class="mlabels-right">
665 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
666   </tr>
667 </table>
668 </div><div class="memdoc">
669
670 <p>Get the configuration ID. </p>
671 <dl class="section note"><dt>Note</dt><dd>The configuration ID can be used by the caller to distinguish different calls of the same OpenCL kernel In particular, this method can be used by <a class="el" href="classarm__compute_1_1_c_l_scheduler.xhtml" title="Provides global access to a CL context and command queue. ">CLScheduler</a> to keep track of the best LWS for each configuration of the same kernel. The configuration ID should be provided only for the kernels potentially affected by the LWS geometry</dd>
672 <dd>
673 This method should be called after the configuration of the kernel</dd></dl>
674 <dl class="section return"><dt>Returns</dt><dd>configuration id string </dd></dl>
675
676 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00211">211</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
677 <div class="fragment"><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    {</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keywordflow">return</span> _config_id;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    }</div></div><!-- fragment -->
678 </div>
679 </div>
680 <a class="anchor" id="abca336f832d730e8494049bd714df60a"></a>
681 <div class="memitem">
682 <div class="memproto">
683       <table class="memname">
684         <tr>
685           <td class="memname">size_t get_max_workgroup_size </td>
686           <td>(</td>
687           <td class="paramname"></td><td>)</td>
688           <td></td>
689         </tr>
690       </table>
691 </div><div class="memdoc">
692
693 <p>Get the maximum workgroup size for the device the <a class="el" href="classarm__compute_1_1_c_l_kernel_library.xhtml" title="CLKernelLibrary class. ">CLKernelLibrary</a> uses. </p>
694 <dl class="section return"><dt>Returns</dt><dd>The maximum workgroup size value. </dd></dl>
695
696 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
697
698 </div>
699 </div>
700 <a class="anchor" id="a646cd535a16835b246c3367a63d96250"></a>
701 <div class="memitem">
702 <div class="memproto">
703 <table class="mlabels">
704   <tr>
705   <td class="mlabels-left">
706       <table class="memname">
707         <tr>
708           <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> get_target </td>
709           <td>(</td>
710           <td class="paramname"></td><td>)</td>
711           <td> const</td>
712         </tr>
713       </table>
714   </td>
715   <td class="mlabels-right">
716 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
717   </tr>
718 </table>
719 </div><div class="memdoc">
720
721 <p>Get the targeted GPU architecture. </p>
722 <dl class="section return"><dt>Returns</dt><dd>The targeted GPU architecture. </dd></dl>
723
724 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">235</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
725
726 <p>References <a class="el" href="namespacearm__compute.xhtml#a0f68015f649819f1102aa73d7b88b29e">arm_compute::enqueue()</a>, <a class="el" href="classarm__compute_1_1_c_l_kernel_library.xhtml#aebe2d25607545d31f2b1ace6d60a81da">CLKernelLibrary::get()</a>, <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#abca336f832d730e8494049bd714df60a">ICLKernel::get_max_workgroup_size()</a>, <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a4b4a20e518c04e657839280cd486a85d">ICLKernel::gws_from_window()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00074">ICLKernel::kernel()</a>, and <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
727 <div class="fragment"><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;    {</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordflow">return</span> _target;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    }</div></div><!-- fragment -->
728 </div>
729 </div>
730 <a class="anchor" id="a4b4a20e518c04e657839280cd486a85d"></a>
731 <div class="memitem">
732 <div class="memproto">
733 <table class="mlabels">
734   <tr>
735   <td class="mlabels-left">
736       <table class="memname">
737         <tr>
738           <td class="memname">static cl::NDRange gws_from_window </td>
739           <td>(</td>
740           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
741           <td class="paramname"><em>window</em></td><td>)</td>
742           <td></td>
743         </tr>
744       </table>
745   </td>
746   <td class="mlabels-right">
747 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
748   </tr>
749 </table>
750 </div><div class="memdoc">
751
752 <p>Get the global work size given an execution window. </p>
753 <dl class="params"><dt>Parameters</dt><dd>
754   <table class="params">
755     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Execution window</td></tr>
756   </table>
757   </dd>
758 </dl>
759 <dl class="section return"><dt>Returns</dt><dd>Global work size of the given execution window </dd></dl>
760
761 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
762
763 </div>
764 </div>
765 <a class="anchor" id="ae5121015ab09ece4d470f50c7ffe198e"></a>
766 <div class="memitem">
767 <div class="memproto">
768 <table class="mlabels">
769   <tr>
770   <td class="mlabels-left">
771       <table class="memname">
772         <tr>
773           <td class="memname">cl::Kernel&amp; kernel </td>
774           <td>(</td>
775           <td class="paramname"></td><td>)</td>
776           <td></td>
777         </tr>
778       </table>
779   </td>
780   <td class="mlabels-right">
781 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
782   </tr>
783 </table>
784 </div><div class="memdoc">
785
786 <p>Returns a reference to the OpenCL kernel of this object. </p>
787 <dl class="section return"><dt>Returns</dt><dd>A reference to the OpenCL kernel of this object. </dd></dl>
788
789 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00074">74</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
790
791 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
792 <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    {</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">return</span> _kernel;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    }</div></div><!-- fragment -->
793 </div>
794 </div>
795 <a class="anchor" id="a278f0e6c68ca17e71f4c4ff82f360aa0"></a>
796 <div class="memitem">
797 <div class="memproto">
798 <table class="mlabels">
799   <tr>
800   <td class="mlabels-left">
801       <table class="memname">
802         <tr>
803           <td class="memname">static constexpr unsigned int num_arguments_per_1D_array </td>
804           <td>(</td>
805           <td class="paramname"></td><td>)</td>
806           <td></td>
807         </tr>
808       </table>
809   </td>
810   <td class="mlabels-right">
811 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
812   </tr>
813 </table>
814 </div><div class="memdoc">
815
816 <p>Returns the number of arguments enqueued per 1D array object. </p>
817 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D array object. </dd></dl>
818
819 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00135">135</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
820 <div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    {</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_array&lt;1&gt;();</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    }</div></div><!-- fragment -->
821 </div>
822 </div>
823 <a class="anchor" id="a43b6c5e4b57069c5f61e96dff24c212d"></a>
824 <div class="memitem">
825 <div class="memproto">
826 <table class="mlabels">
827   <tr>
828   <td class="mlabels-left">
829       <table class="memname">
830         <tr>
831           <td class="memname">static constexpr unsigned int num_arguments_per_1D_tensor </td>
832           <td>(</td>
833           <td class="paramname"></td><td>)</td>
834           <td></td>
835         </tr>
836       </table>
837   </td>
838   <td class="mlabels-right">
839 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
840   </tr>
841 </table>
842 </div><div class="memdoc">
843
844 <p>Returns the number of arguments enqueued per 1D tensor object. </p>
845 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D tensor object. </dd></dl>
846
847 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00143">143</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
848 <div class="fragment"><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    {</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;1&gt;();</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    }</div></div><!-- fragment -->
849 </div>
850 </div>
851 <a class="anchor" id="a45601e0d46621a5b6f2e417d60e5c800"></a>
852 <div class="memitem">
853 <div class="memproto">
854 <table class="mlabels">
855   <tr>
856   <td class="mlabels-left">
857       <table class="memname">
858         <tr>
859           <td class="memname">static constexpr unsigned int num_arguments_per_2D_tensor </td>
860           <td>(</td>
861           <td class="paramname"></td><td>)</td>
862           <td></td>
863         </tr>
864       </table>
865   </td>
866   <td class="mlabels-right">
867 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
868   </tr>
869 </table>
870 </div><div class="memdoc">
871
872 <p>Returns the number of arguments enqueued per 2D tensor object. </p>
873 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 2D tensor object. </dd></dl>
874
875 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00151">151</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
876 <div class="fragment"><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    {</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;2&gt;();</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    }</div></div><!-- fragment -->
877 </div>
878 </div>
879 <a class="anchor" id="a6c9c1e7a7d96743375ca40847f0f12e2"></a>
880 <div class="memitem">
881 <div class="memproto">
882 <table class="mlabels">
883   <tr>
884   <td class="mlabels-left">
885       <table class="memname">
886         <tr>
887           <td class="memname">static constexpr unsigned int num_arguments_per_3D_tensor </td>
888           <td>(</td>
889           <td class="paramname"></td><td>)</td>
890           <td></td>
891         </tr>
892       </table>
893   </td>
894   <td class="mlabels-right">
895 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
896   </tr>
897 </table>
898 </div><div class="memdoc">
899
900 <p>Returns the number of arguments enqueued per 3D tensor object. </p>
901 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 3D tensor object. </dd></dl>
902
903 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00159">159</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
904 <div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    {</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;3&gt;();</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    }</div></div><!-- fragment -->
905 </div>
906 </div>
907 <a class="anchor" id="a184fdf37587a9314cf12623accea6c73"></a>
908 <div class="memitem">
909 <div class="memproto">
910 <table class="mlabels">
911   <tr>
912   <td class="mlabels-left">
913       <table class="memname">
914         <tr>
915           <td class="memname">static constexpr unsigned int num_arguments_per_4D_tensor </td>
916           <td>(</td>
917           <td class="paramname"></td><td>)</td>
918           <td></td>
919         </tr>
920       </table>
921   </td>
922   <td class="mlabels-right">
923 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
924   </tr>
925 </table>
926 </div><div class="memdoc">
927
928 <p>Returns the number of arguments enqueued per 4D tensor object. </p>
929 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 4D tensor object. </dd></dl>
930
931 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00167">167</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
932
933 <p>References <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#af6a174d47571f51f199ffc27ecc10f51">ICLKernel::run()</a>, and <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
934 <div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    {</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;4&gt;();</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    }</div></div><!-- fragment -->
935 </div>
936 </div>
937 <a class="anchor" id="af6a174d47571f51f199ffc27ecc10f51"></a>
938 <div class="memitem">
939 <div class="memproto">
940 <table class="mlabels">
941   <tr>
942   <td class="mlabels-left">
943       <table class="memname">
944         <tr>
945           <td class="memname">virtual void run </td>
946           <td>(</td>
947           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
948           <td class="paramname"><em>window</em>, </td>
949         </tr>
950         <tr>
951           <td class="paramkey"></td>
952           <td></td>
953           <td class="paramtype">cl::CommandQueue &amp;&#160;</td>
954           <td class="paramname"><em>queue</em>&#160;</td>
955         </tr>
956         <tr>
957           <td></td>
958           <td>)</td>
959           <td></td><td></td>
960         </tr>
961       </table>
962   </td>
963   <td class="mlabels-right">
964 <span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
965   </tr>
966 </table>
967 </div><div class="memdoc">
968
969 <p>Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue. </p>
970 <dl class="section note"><dt>Note</dt><dd>The queue is <em>not</em> flushed by this method, and therefore the kernel will not have been executed by the time this method returns.</dd></dl>
971 <dl class="params"><dt>Parameters</dt><dd>
972   <table class="params">
973     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Region on which to execute the kernel. (Must be a valid region of the window returned by <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353" title="The maximum window the kernel can be executed on. ">window()</a>). </td></tr>
974     <tr><td class="paramdir">[in,out]</td><td class="paramname">queue</td><td>Command queue on which to enqueue the kernel. </td></tr>
975   </table>
976   </dd>
977 </dl>
978
979 <p>Implemented in <a class="el" href="classarm__compute_1_1_c_l_logits1_d_norm_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DNormKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_stage1_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerStage1Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_convolution_rectangle_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLConvolutionRectangleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_logits1_d_max_shift_exp_sum_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DMaxShiftExpSumKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_stage0_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerStage0Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_edge_trace_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLEdgeTraceKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_b_reduction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixBReductionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_copy_to_array_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLCopyToArrayKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_finalize_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerFinalizeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel5x5_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel5x5VertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel7x7_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel7x7VertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_block_normalization_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHOGBlockNormalizationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_location_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxLocationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_edge_non_max_suppression_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLEdgeNonMaxSuppressionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLIm2ColKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gaussian_pyramid_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGaussianPyramidVertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_histogram_border_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHistogramBorderKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_logits1_d_shift_exp_sum_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DShiftExpSumKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_batch_normalization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBatchNormalizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_transpose1x_w_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMTranspose1xWKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_init_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerInitKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_direct_convolution_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDirectConvolutionLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_quantize_down_int32_to_uint8_scale_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpQuantizeDownInt32ToUint8ScaleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_col2_im_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLCol2ImKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_quantize_down_int32_to_uint8_scale_by_fixed_point_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_offset_contribution_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpOffsetContributionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_a_reduction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixAReductionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_interleave4x4_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMInterleave4x4Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_color_convert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLColorConvertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_pixel_wise_multiplication_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPixelWiseMultiplicationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_direct_convolution_layer_output_stage_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDirectConvolutionLayerOutputStageKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_arithmetic_subtraction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLArithmeticSubtractionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_scharr3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLScharr3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_arithmetic_addition_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLArithmeticAdditionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_channel_combine_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelCombineKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector_kernel.xhtml#ac8f1ca778b425c6408a93b672b041dd0">CLHOGDetectorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_harris_score_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHarrisScoreKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_pooling_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPoolingLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_activation_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLActivationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_deconvolution_layer_upsample_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDeconvolutionLayerUpsampleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_fast_corners_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFastCornersKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_addition_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixAdditionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_channel_extract_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelExtractKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_fill_border_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFillBorderKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWeightsReshapeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_normalization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLNormalizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_permute_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPermuteKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_integral_image_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLIntegralImageVertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_r_o_i_pooling_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLROIPoolingLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depth_concatenate_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthConcatenateLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_magnitude_phase_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMagnitudePhaseKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseIm2ColKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_accumulate_biases_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixAccumulateBiasesKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_mean_std_dev_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMeanStdDevKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_absolute_difference_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLAbsoluteDifferenceKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_vector_to_tensor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseVectorToTensorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_dequantization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDequantizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_orientation_binning_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHOGOrientationBinningKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l2_normalize_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLL2NormalizeLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_quantization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLQuantizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel5x5_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel5x5HorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel7x7_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel7x7HorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseWeightsReshapeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_derivative_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDerivativeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_reduction_operation_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLReductionOperationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_and_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseAndKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_or_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseOrKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_xor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseXorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_convolution_layer3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseConvolutionLayer3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_locally_connected_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLocallyConnectedMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_remap_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLRemapKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gradient_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGradientKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gaussian_pyramid_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGaussianPyramidHorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_histogram_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHistogramKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_reshape_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLReshapeLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_floor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFloorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_vector_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixVectorMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_i_c_l_simple3_d_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">ICLSimple3DKernel</a>, and <a class="el" href="classarm__compute_1_1_i_c_l_simple2_d_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">ICLSimple2DKernel</a>.</p>
980
981 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00167">ICLKernel::num_arguments_per_4D_tensor()</a>.</p>
982
983 </div>
984 </div>
985 <a class="anchor" id="a44c701b9dbd01a171de4928254d1ecbf"></a>
986 <div class="memitem">
987 <div class="memproto">
988 <table class="mlabels">
989   <tr>
990   <td class="mlabels-left">
991       <table class="memname">
992         <tr>
993           <td class="memname">void set_lws_hint </td>
994           <td>(</td>
995           <td class="paramtype">cl::NDRange &amp;&#160;</td>
996           <td class="paramname"><em>lws_hint</em></td><td>)</td>
997           <td></td>
998         </tr>
999       </table>
1000   </td>
1001   <td class="mlabels-right">
1002 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1003   </tr>
1004 </table>
1005 </div><div class="memdoc">
1006
1007 <p>Set the Local-Workgroup-Size hint. </p>
1008 <dl class="section note"><dt>Note</dt><dd>This method should be called after the configuration of the kernel</dd></dl>
1009 <dl class="params"><dt>Parameters</dt><dd>
1010   <table class="params">
1011     <tr><td class="paramdir">[in]</td><td class="paramname">lws_hint</td><td>Local-Workgroup-Size to use </td></tr>
1012   </table>
1013   </dd>
1014 </dl>
1015
1016 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00196">196</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1017 <div class="fragment"><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    {</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        _lws_hint = lws_hint;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    }</div></div><!-- fragment -->
1018 </div>
1019 </div>
1020 <a class="anchor" id="ad5ba9d34a3a855bf1dd2e36316ff550a"></a>
1021 <div class="memitem">
1022 <div class="memproto">
1023 <table class="mlabels">
1024   <tr>
1025   <td class="mlabels-left">
1026       <table class="memname">
1027         <tr>
1028           <td class="memname">void set_target </td>
1029           <td>(</td>
1030           <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a>&#160;</td>
1031           <td class="paramname"><em>target</em></td><td>)</td>
1032           <td></td>
1033         </tr>
1034       </table>
1035   </td>
1036   <td class="mlabels-right">
1037 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1038   </tr>
1039 </table>
1040 </div><div class="memdoc">
1041
1042 <p>Set the targeted GPU architecture. </p>
1043 <dl class="params"><dt>Parameters</dt><dd>
1044   <table class="params">
1045     <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The targeted GPU architecture </td></tr>
1046   </table>
1047   </dd>
1048 </dl>
1049
1050 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00220">220</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1051 <div class="fragment"><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;    {</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        _target = target;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    }</div></div><!-- fragment -->
1052 </div>
1053 </div>
1054 <a class="anchor" id="a57e5f498fcbfc25c28b8496dfa3fc33c"></a>
1055 <div class="memitem">
1056 <div class="memproto">
1057       <table class="memname">
1058         <tr>
1059           <td class="memname">void set_target </td>
1060           <td>(</td>
1061           <td class="paramtype">cl::Device &amp;&#160;</td>
1062           <td class="paramname"><em>device</em></td><td>)</td>
1063           <td></td>
1064         </tr>
1065       </table>
1066 </div><div class="memdoc">
1067
1068 <p>Set the targeted GPU architecture according to the CL device. </p>
1069 <dl class="params"><dt>Parameters</dt><dd>
1070   <table class="params">
1071     <tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>A CL device </td></tr>
1072   </table>
1073   </dd>
1074 </dl>
1075
1076 </div>
1077 </div>
1078 <hr/>The documentation for this class was generated from the following file:<ul>
1079 <li>arm_compute/core/CL/<a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a></li>
1080 </ul>
1081 </div><!-- contents -->
1082 </div><!-- doc-content -->
1083 <!-- start footer part -->
1084 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1085   <ul>
1086     <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a></li>
1087     <li class="footer">Generated on Thu Feb 22 2018 15:45:24 for Compute Library by
1088     <a href="http://www.doxygen.org/index.html">
1089     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
1090   </ul>
1091 </div>
1092 </body>
1093 </html>