arm_compute v18.05
[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.05</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 value)</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:ad356b88c8f61267d593d9ed99835bde9"><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#ad356b88c8f61267d593d9ed99835bde9">set_lws_hint</a> (const cl::NDRange &amp;<a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a0737b867334392d5dc5c2e3291d67dbf">lws_hint</a>)</td></tr>
169 <tr class="memdesc:ad356b88c8f61267d593d9ed99835bde9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Local-Workgroup-Size hint.  <a href="#ad356b88c8f61267d593d9ed99835bde9">More...</a><br /></td></tr>
170 <tr class="separator:ad356b88c8f61267d593d9ed99835bde9"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 <tr class="memitem:a0737b867334392d5dc5c2e3291d67dbf"><td class="memItemLeft" align="right" valign="top">cl::NDRange&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a0737b867334392d5dc5c2e3291d67dbf">lws_hint</a> () const </td></tr>
172 <tr class="memdesc:a0737b867334392d5dc5c2e3291d67dbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Local-Workgroup-Size hint.  <a href="#a0737b867334392d5dc5c2e3291d67dbf">More...</a><br /></td></tr>
173 <tr class="separator:a0737b867334392d5dc5c2e3291d67dbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
174 <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>
175 <tr class="memdesc:a226d2e9e6d3c42d681666566fe950b2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the configuration ID.  <a href="#a226d2e9e6d3c42d681666566fe950b2d">More...</a><br /></td></tr>
176 <tr class="separator:a226d2e9e6d3c42d681666566fe950b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
177 <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>
178 <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>
179 <tr class="separator:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="memSeparator" colspan="2">&#160;</td></tr>
180 <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>
181 <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>
182 <tr class="separator:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="memSeparator" colspan="2">&#160;</td></tr>
183 <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>
184 <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>
185 <tr class="separator:a646cd535a16835b246c3367a63d96250"><td class="memSeparator" colspan="2">&#160;</td></tr>
186 <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>
187 <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>
188 <tr class="separator:abca336f832d730e8494049bd714df60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
189 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplParams" colspan="2">template&lt;typename T , unsigned int dimension_size&gt; </td></tr>
190 <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>
191 <tr class="memdesc:a2d7c6b5f3332604ad6a637457f65c342"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the passed array's parameters to the object's kernel's arguments starting from the index idx.  <a href="#a2d7c6b5f3332604ad6a637457f65c342">More...</a><br /></td></tr>
192 <tr class="separator:a2d7c6b5f3332604ad6a637457f65c342"><td class="memSeparator" colspan="2">&#160;</td></tr>
193 <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>
194 <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>
195 <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>
196 <tr class="separator:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
197 <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>
198 <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>
199 <tr class="separator:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
200 <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>
201 <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>
202 <tr class="separator:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
203 <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>
204 <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>
205 <tr class="separator:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
206 <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>
207 <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>
208 <tr class="separator:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
209 </table><table class="memberdecls">
210 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
211 Static Public Member Functions</h2></td></tr>
212 <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>
213 <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>
214 <tr class="separator:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
215 <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>
216 <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>
217 <tr class="separator:a43b6c5e4b57069c5f61e96dff24c212d"><td class="memSeparator" colspan="2">&#160;</td></tr>
218 <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>
219 <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>
220 <tr class="separator:a45601e0d46621a5b6f2e417d60e5c800"><td class="memSeparator" colspan="2">&#160;</td></tr>
221 <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>
222 <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>
223 <tr class="separator:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
224 <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>
225 <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>
226 <tr class="separator:a184fdf37587a9314cf12623accea6c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
227 <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>
228 <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>
229 <tr class="separator:a4b4a20e518c04e657839280cd486a85d"><td class="memSeparator" colspan="2">&#160;</td></tr>
230 </table>
231 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
232 <div class="textblock"><p>Common interface for all the OpenCL kernels. </p>
233
234 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00043">43</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
235 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
236 <a class="anchor" id="a6b10e96ce90bf901d17def86b874b019"></a>
237 <div class="memitem">
238 <div class="memproto">
239 <table class="mlabels">
240   <tr>
241   <td class="mlabels-left">
242       <table class="memname">
243         <tr>
244           <td class="memname"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a> </td>
245           <td>(</td>
246           <td class="paramname"></td><td>)</td>
247           <td></td>
248         </tr>
249       </table>
250   </td>
251   <td class="mlabels-right">
252 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
253   </tr>
254 </table>
255 </div><div class="memdoc">
256
257 <p>Constructor. </p>
258
259 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00067">67</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
260 <div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno">   68</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="l00069"></a><span class="lineno">   69</span>&#160;    {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</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>
261 <div class="ttc" id="namespacearm__compute_xhtml_a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38"><div class="ttname"><a href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38">arm_compute::GPUTarget::MIDGARD</a></div></div>
262 </div><!-- fragment -->
263 </div>
264 </div>
265 <h2 class="groupheader">Member Function Documentation</h2>
266 <a class="anchor" id="a9331d385192a50adf74d3af40ce0fa20"></a>
267 <div class="memitem">
268 <div class="memproto">
269 <table class="mlabels">
270   <tr>
271   <td class="mlabels-left">
272       <table class="memname">
273         <tr>
274           <td class="memname">void add_1D_array_argument </td>
275           <td>(</td>
276           <td class="paramtype">unsigned int &amp;&#160;</td>
277           <td class="paramname"><em>idx</em>, </td>
278         </tr>
279         <tr>
280           <td class="paramkey"></td>
281           <td></td>
282           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *&#160;</td>
283           <td class="paramname"><em>array</em>, </td>
284         </tr>
285         <tr>
286           <td class="paramkey"></td>
287           <td></td>
288           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;&#160;</td>
289           <td class="paramname"><em>strides</em>, </td>
290         </tr>
291         <tr>
292           <td class="paramkey"></td>
293           <td></td>
294           <td class="paramtype">unsigned int&#160;</td>
295           <td class="paramname"><em>num_dimensions</em>, </td>
296         </tr>
297         <tr>
298           <td class="paramkey"></td>
299           <td></td>
300           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
301           <td class="paramname"><em>window</em>&#160;</td>
302         </tr>
303         <tr>
304           <td></td>
305           <td>)</td>
306           <td></td><td></td>
307         </tr>
308       </table>
309   </td>
310   <td class="mlabels-right">
311 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
312   </tr>
313 </table>
314 </div><div class="memdoc">
315
316 <p>Add the passed 1D array's parameters to the object's kernel's arguments starting from the index idx. </p>
317 <dl class="params"><dt>Parameters</dt><dd>
318   <table class="params">
319     <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>
320     <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>
321     <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>
322     <tr><td class="paramdir">[in]</td><td class="paramname">num_dimensions</td><td>Number of dimensions of the <code>array</code>. </td></tr>
323     <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>
324   </table>
325   </dd>
326 </dl>
327
328 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00088">88</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
329
330 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
331 <div class="fragment"><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    {</div><div class="line"><a name="l00090"></a><span class="lineno">   90</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="l00091"></a><span class="lineno">   91</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>
332 </div><!-- fragment -->
333 </div>
334 </div>
335 <a class="anchor" id="a479e7043e65dc87de35d374e108510f7"></a>
336 <div class="memitem">
337 <div class="memproto">
338 <table class="mlabels">
339   <tr>
340   <td class="mlabels-left">
341       <table class="memname">
342         <tr>
343           <td class="memname">void add_1D_tensor_argument </td>
344           <td>(</td>
345           <td class="paramtype">unsigned int &amp;&#160;</td>
346           <td class="paramname"><em>idx</em>, </td>
347         </tr>
348         <tr>
349           <td class="paramkey"></td>
350           <td></td>
351           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
352           <td class="paramname"><em>tensor</em>, </td>
353         </tr>
354         <tr>
355           <td class="paramkey"></td>
356           <td></td>
357           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
358           <td class="paramname"><em>window</em>&#160;</td>
359         </tr>
360         <tr>
361           <td></td>
362           <td>)</td>
363           <td></td><td></td>
364         </tr>
365       </table>
366   </td>
367   <td class="mlabels-right">
368 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
369   </tr>
370 </table>
371 </div><div class="memdoc">
372
373 <p>Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
374 <dl class="params"><dt>Parameters</dt><dd>
375   <table class="params">
376     <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>
377     <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>
378     <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>
379   </table>
380   </dd>
381 </dl>
382
383 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00098">98</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
384
385 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
386 <div class="fragment"><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</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="l00101"></a><span class="lineno">  101</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>
387 </div><!-- fragment -->
388 </div>
389 </div>
390 <a class="anchor" id="ac74dad3e61f79334f5e73f3c3ac603cb"></a>
391 <div class="memitem">
392 <div class="memproto">
393 <table class="mlabels">
394   <tr>
395   <td class="mlabels-left">
396       <table class="memname">
397         <tr>
398           <td class="memname">void add_2D_tensor_argument </td>
399           <td>(</td>
400           <td class="paramtype">unsigned int &amp;&#160;</td>
401           <td class="paramname"><em>idx</em>, </td>
402         </tr>
403         <tr>
404           <td class="paramkey"></td>
405           <td></td>
406           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
407           <td class="paramname"><em>tensor</em>, </td>
408         </tr>
409         <tr>
410           <td class="paramkey"></td>
411           <td></td>
412           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
413           <td class="paramname"><em>window</em>&#160;</td>
414         </tr>
415         <tr>
416           <td></td>
417           <td>)</td>
418           <td></td><td></td>
419         </tr>
420       </table>
421   </td>
422   <td class="mlabels-right">
423 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
424   </tr>
425 </table>
426 </div><div class="memdoc">
427
428 <p>Add the passed 2D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
429 <dl class="params"><dt>Parameters</dt><dd>
430   <table class="params">
431     <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>
432     <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>
433     <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>
434   </table>
435   </dd>
436 </dl>
437
438 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00108">108</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
439
440 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
441 <div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    {</div><div class="line"><a name="l00110"></a><span class="lineno">  110</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="l00111"></a><span class="lineno">  111</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>
442 </div><!-- fragment -->
443 </div>
444 </div>
445 <a class="anchor" id="a28f5847162f352444c6ac1825d0e99c7"></a>
446 <div class="memitem">
447 <div class="memproto">
448 <table class="mlabels">
449   <tr>
450   <td class="mlabels-left">
451       <table class="memname">
452         <tr>
453           <td class="memname">void add_3D_tensor_argument </td>
454           <td>(</td>
455           <td class="paramtype">unsigned int &amp;&#160;</td>
456           <td class="paramname"><em>idx</em>, </td>
457         </tr>
458         <tr>
459           <td class="paramkey"></td>
460           <td></td>
461           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
462           <td class="paramname"><em>tensor</em>, </td>
463         </tr>
464         <tr>
465           <td class="paramkey"></td>
466           <td></td>
467           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
468           <td class="paramname"><em>window</em>&#160;</td>
469         </tr>
470         <tr>
471           <td></td>
472           <td>)</td>
473           <td></td><td></td>
474         </tr>
475       </table>
476   </td>
477   <td class="mlabels-right">
478 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
479   </tr>
480 </table>
481 </div><div class="memdoc">
482
483 <p>Add the passed 3D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
484 <dl class="params"><dt>Parameters</dt><dd>
485   <table class="params">
486     <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>
487     <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>
488     <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>
489   </table>
490   </dd>
491 </dl>
492
493 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00118">118</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
494
495 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
496 <div class="fragment"><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</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="l00121"></a><span class="lineno">  121</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>
497 </div><!-- fragment -->
498 </div>
499 </div>
500 <a class="anchor" id="a33e09c946b338fbfc780a9d1c66e68ad"></a>
501 <div class="memitem">
502 <div class="memproto">
503 <table class="mlabels">
504   <tr>
505   <td class="mlabels-left">
506       <table class="memname">
507         <tr>
508           <td class="memname">void add_4D_tensor_argument </td>
509           <td>(</td>
510           <td class="paramtype">unsigned int &amp;&#160;</td>
511           <td class="paramname"><em>idx</em>, </td>
512         </tr>
513         <tr>
514           <td class="paramkey"></td>
515           <td></td>
516           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
517           <td class="paramname"><em>tensor</em>, </td>
518         </tr>
519         <tr>
520           <td class="paramkey"></td>
521           <td></td>
522           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
523           <td class="paramname"><em>window</em>&#160;</td>
524         </tr>
525         <tr>
526           <td></td>
527           <td>)</td>
528           <td></td><td></td>
529         </tr>
530       </table>
531   </td>
532   <td class="mlabels-right">
533 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
534   </tr>
535 </table>
536 </div><div class="memdoc">
537
538 <p>Add the passed 4D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
539 <dl class="params"><dt>Parameters</dt><dd>
540   <table class="params">
541     <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>
542     <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>
543     <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>
544   </table>
545   </dd>
546 </dl>
547
548 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00128">128</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
549
550 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
551 <div class="fragment"><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    {</div><div class="line"><a name="l00130"></a><span class="lineno">  130</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="l00131"></a><span class="lineno">  131</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>
552 </div><!-- fragment -->
553 </div>
554 </div>
555 <a class="anchor" id="a50f427a1d9419800972b9e03c4034311"></a>
556 <div class="memitem">
557 <div class="memproto">
558 <table class="mlabels">
559   <tr>
560   <td class="mlabels-left">
561       <table class="memname">
562         <tr>
563           <td class="memname">void add_argument </td>
564           <td>(</td>
565           <td class="paramtype">unsigned int &amp;&#160;</td>
566           <td class="paramname"><em>idx</em>, </td>
567         </tr>
568         <tr>
569           <td class="paramkey"></td>
570           <td></td>
571           <td class="paramtype">T&#160;</td>
572           <td class="paramname"><em>value</em>&#160;</td>
573         </tr>
574         <tr>
575           <td></td>
576           <td>)</td>
577           <td></td><td></td>
578         </tr>
579       </table>
580   </td>
581   <td class="mlabels-right">
582 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
583   </tr>
584 </table>
585 </div><div class="memdoc">
586
587 <p>Add the passed parameters to the object's kernel's arguments starting from the index idx. </p>
588 <dl class="params"><dt>Parameters</dt><dd>
589   <table class="params">
590     <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>
591     <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>
592   </table>
593   </dd>
594 </dl>
595
596 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00186">186</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
597 <div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    {</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        _kernel.setArg(idx++, value);</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    }</div></div><!-- fragment -->
598 </div>
599 </div>
600 <a class="anchor" id="a2d7c6b5f3332604ad6a637457f65c342"></a>
601 <div class="memitem">
602 <div class="memproto">
603       <table class="memname">
604         <tr>
605           <td class="memname">void add_array_argument </td>
606           <td>(</td>
607           <td class="paramtype">unsigned &amp;&#160;</td>
608           <td class="paramname"><em>idx</em>, </td>
609         </tr>
610         <tr>
611           <td class="paramkey"></td>
612           <td></td>
613           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>&lt; T &gt; *&#160;</td>
614           <td class="paramname"><em>array</em>, </td>
615         </tr>
616         <tr>
617           <td class="paramkey"></td>
618           <td></td>
619           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &amp;&#160;</td>
620           <td class="paramname"><em>strides</em>, </td>
621         </tr>
622         <tr>
623           <td class="paramkey"></td>
624           <td></td>
625           <td class="paramtype">unsigned int&#160;</td>
626           <td class="paramname"><em>num_dimensions</em>, </td>
627         </tr>
628         <tr>
629           <td class="paramkey"></td>
630           <td></td>
631           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
632           <td class="paramname"><em>window</em>&#160;</td>
633         </tr>
634         <tr>
635           <td></td>
636           <td>)</td>
637           <td></td><td></td>
638         </tr>
639       </table>
640 </div><div class="memdoc">
641
642 <p>Add the passed array's parameters to the object's kernel's arguments starting from the index idx. </p>
643 <dl class="params"><dt>Parameters</dt><dd>
644   <table class="params">
645     <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>
646     <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>
647     <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>
648     <tr><td class="paramdir">[in]</td><td class="paramname">num_dimensions</td><td>Number of dimensions of the <code>array</code>. </td></tr>
649     <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>
650   </table>
651   </dd>
652 </dl>
653
654 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00315">315</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
655
656 <p>References <a class="el" href="_error_8h_source.xhtml#l00328">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="_error_8h_source.xhtml#l00319">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="_error_8h_source.xhtml#l00159">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>
657 <div class="fragment"><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;    <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(array == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <span class="comment">// Calculate offset to the start of the window</span></div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> offset_first_element = 0;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</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="l00323"></a><span class="lineno">  323</span>&#160;    {</div><div class="line"><a name="l00324"></a><span class="lineno">  324</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="l00325"></a><span class="lineno">  325</span>&#160;    }</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx_start = idx;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    _kernel.setArg(idx++, array-&gt;cl_buffer());</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</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="l00331"></a><span class="lineno">  331</span>&#160;    {</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;        _kernel.setArg&lt;cl_uint&gt;(idx++, strides[dimension]);</div><div class="line"><a name="l00333"></a><span class="lineno">  333</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="l00334"></a><span class="lineno">  334</span>&#160;    }</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    _kernel.setArg&lt;cl_uint&gt;(idx++, offset_first_element);</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    <a class="code" href="_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="l00339"></a><span class="lineno">  339</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="l00340"></a><span class="lineno">  340</span>&#160;    <a class="code" href="_error_8h.xhtml#a6dc630a6ae9cc063b3924bcea8dee9d6">ARM_COMPUTE_UNUSED</a>(idx_start);</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;}</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_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="_error_8h_source.xhtml#l00328">Error.h:328</a></div></div>
658 <div class="ttc" id="_error_8h_xhtml_a6dc630a6ae9cc063b3924bcea8dee9d6"><div class="ttname"><a href="_error_8h.xhtml#a6dc630a6ae9cc063b3924bcea8dee9d6">ARM_COMPUTE_UNUSED</a></div><div class="ttdeci">#define ARM_COMPUTE_UNUSED(...)</div><div class="ttdoc">To avoid unused variables warnings. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00159">Error.h:159</a></div></div>
659 <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>
660 <div class="ttc" id="_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="_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="_error_8h_source.xhtml#l00319">Error.h:319</a></div></div>
661 </div><!-- fragment -->
662 </div>
663 </div>
664 <a class="anchor" id="a226d2e9e6d3c42d681666566fe950b2d"></a>
665 <div class="memitem">
666 <div class="memproto">
667 <table class="mlabels">
668   <tr>
669   <td class="mlabels-left">
670       <table class="memname">
671         <tr>
672           <td class="memname">const std::string&amp; config_id </td>
673           <td>(</td>
674           <td class="paramname"></td><td>)</td>
675           <td> const</td>
676         </tr>
677       </table>
678   </td>
679   <td class="mlabels-right">
680 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
681   </tr>
682 </table>
683 </div><div class="memdoc">
684
685 <p>Get the configuration ID. </p>
686 <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>
687 <dd>
688 This method should be called after the configuration of the kernel</dd></dl>
689 <dl class="section return"><dt>Returns</dt><dd>configuration id string </dd></dl>
690
691 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00221">221</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
692 <div class="fragment"><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    {</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keywordflow">return</span> _config_id;</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    }</div></div><!-- fragment -->
693 </div>
694 </div>
695 <a class="anchor" id="abca336f832d730e8494049bd714df60a"></a>
696 <div class="memitem">
697 <div class="memproto">
698       <table class="memname">
699         <tr>
700           <td class="memname">size_t get_max_workgroup_size </td>
701           <td>(</td>
702           <td class="paramname"></td><td>)</td>
703           <td></td>
704         </tr>
705       </table>
706 </div><div class="memdoc">
707
708 <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>
709 <dl class="section return"><dt>Returns</dt><dd>The maximum workgroup size value. </dd></dl>
710
711 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>.</p>
712
713 </div>
714 </div>
715 <a class="anchor" id="a646cd535a16835b246c3367a63d96250"></a>
716 <div class="memitem">
717 <div class="memproto">
718 <table class="mlabels">
719   <tr>
720   <td class="mlabels-left">
721       <table class="memname">
722         <tr>
723           <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> get_target </td>
724           <td>(</td>
725           <td class="paramname"></td><td>)</td>
726           <td> const</td>
727         </tr>
728       </table>
729   </td>
730   <td class="mlabels-right">
731 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
732   </tr>
733 </table>
734 </div><div class="memdoc">
735
736 <p>Get the targeted GPU architecture. </p>
737 <dl class="section return"><dt>Returns</dt><dd>The targeted GPU architecture. </dd></dl>
738
739 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">245</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
740
741 <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#l00075">ICLKernel::kernel()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00206">ICLKernel::lws_hint()</a>, and <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
742 <div class="fragment"><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    {</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <span class="keywordflow">return</span> _target;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    }</div></div><!-- fragment -->
743 </div>
744 </div>
745 <a class="anchor" id="a4b4a20e518c04e657839280cd486a85d"></a>
746 <div class="memitem">
747 <div class="memproto">
748 <table class="mlabels">
749   <tr>
750   <td class="mlabels-left">
751       <table class="memname">
752         <tr>
753           <td class="memname">static cl::NDRange gws_from_window </td>
754           <td>(</td>
755           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
756           <td class="paramname"><em>window</em></td><td>)</td>
757           <td></td>
758         </tr>
759       </table>
760   </td>
761   <td class="mlabels-right">
762 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
763   </tr>
764 </table>
765 </div><div class="memdoc">
766
767 <p>Get the global work size given an execution window. </p>
768 <dl class="params"><dt>Parameters</dt><dd>
769   <table class="params">
770     <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Execution window</td></tr>
771   </table>
772   </dd>
773 </dl>
774 <dl class="section return"><dt>Returns</dt><dd>Global work size of the given execution window </dd></dl>
775
776 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>.</p>
777
778 </div>
779 </div>
780 <a class="anchor" id="ae5121015ab09ece4d470f50c7ffe198e"></a>
781 <div class="memitem">
782 <div class="memproto">
783 <table class="mlabels">
784   <tr>
785   <td class="mlabels-left">
786       <table class="memname">
787         <tr>
788           <td class="memname">cl::Kernel&amp; kernel </td>
789           <td>(</td>
790           <td class="paramname"></td><td>)</td>
791           <td></td>
792         </tr>
793       </table>
794   </td>
795   <td class="mlabels-right">
796 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
797   </tr>
798 </table>
799 </div><div class="memdoc">
800
801 <p>Returns a reference to the OpenCL kernel of this object. </p>
802 <dl class="section return"><dt>Returns</dt><dd>A reference to the OpenCL kernel of this object. </dd></dl>
803
804 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00075">75</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
805
806 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>.</p>
807 <div class="fragment"><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    {</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span> _kernel;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    }</div></div><!-- fragment -->
808 </div>
809 </div>
810 <a class="anchor" id="a0737b867334392d5dc5c2e3291d67dbf"></a>
811 <div class="memitem">
812 <div class="memproto">
813 <table class="mlabels">
814   <tr>
815   <td class="mlabels-left">
816       <table class="memname">
817         <tr>
818           <td class="memname">cl::NDRange lws_hint </td>
819           <td>(</td>
820           <td class="paramname"></td><td>)</td>
821           <td> const</td>
822         </tr>
823       </table>
824   </td>
825   <td class="mlabels-right">
826 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
827   </tr>
828 </table>
829 </div><div class="memdoc">
830
831 <p>Return the Local-Workgroup-Size hint. </p>
832 <dl class="section return"><dt>Returns</dt><dd>Current lws hint </dd></dl>
833
834 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00206">206</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
835
836 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00197">ICLKernel::set_lws_hint()</a>, and <a class="el" href="_tuner_8cpp_source.xhtml#l00044">arm_compute::test::validation::TEST_CASE()</a>.</p>
837 <div class="fragment"><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    {</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordflow">return</span> _lws_hint;</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    }</div></div><!-- fragment -->
838 </div>
839 </div>
840 <a class="anchor" id="a278f0e6c68ca17e71f4c4ff82f360aa0"></a>
841 <div class="memitem">
842 <div class="memproto">
843 <table class="mlabels">
844   <tr>
845   <td class="mlabels-left">
846       <table class="memname">
847         <tr>
848           <td class="memname">static constexpr unsigned int num_arguments_per_1D_array </td>
849           <td>(</td>
850           <td class="paramname"></td><td>)</td>
851           <td></td>
852         </tr>
853       </table>
854   </td>
855   <td class="mlabels-right">
856 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
857   </tr>
858 </table>
859 </div><div class="memdoc">
860
861 <p>Returns the number of arguments enqueued per 1D array object. </p>
862 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D array object. </dd></dl>
863
864 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00136">136</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
865 <div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    {</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_array&lt;1&gt;();</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    }</div></div><!-- fragment -->
866 </div>
867 </div>
868 <a class="anchor" id="a43b6c5e4b57069c5f61e96dff24c212d"></a>
869 <div class="memitem">
870 <div class="memproto">
871 <table class="mlabels">
872   <tr>
873   <td class="mlabels-left">
874       <table class="memname">
875         <tr>
876           <td class="memname">static constexpr unsigned int num_arguments_per_1D_tensor </td>
877           <td>(</td>
878           <td class="paramname"></td><td>)</td>
879           <td></td>
880         </tr>
881       </table>
882   </td>
883   <td class="mlabels-right">
884 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
885   </tr>
886 </table>
887 </div><div class="memdoc">
888
889 <p>Returns the number of arguments enqueued per 1D tensor object. </p>
890 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D tensor object. </dd></dl>
891
892 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00144">144</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
893 <div class="fragment"><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    {</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;1&gt;();</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    }</div></div><!-- fragment -->
894 </div>
895 </div>
896 <a class="anchor" id="a45601e0d46621a5b6f2e417d60e5c800"></a>
897 <div class="memitem">
898 <div class="memproto">
899 <table class="mlabels">
900   <tr>
901   <td class="mlabels-left">
902       <table class="memname">
903         <tr>
904           <td class="memname">static constexpr unsigned int num_arguments_per_2D_tensor </td>
905           <td>(</td>
906           <td class="paramname"></td><td>)</td>
907           <td></td>
908         </tr>
909       </table>
910   </td>
911   <td class="mlabels-right">
912 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
913   </tr>
914 </table>
915 </div><div class="memdoc">
916
917 <p>Returns the number of arguments enqueued per 2D tensor object. </p>
918 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 2D tensor object. </dd></dl>
919
920 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00152">152</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
921 <div class="fragment"><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    {</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;2&gt;();</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    }</div></div><!-- fragment -->
922 </div>
923 </div>
924 <a class="anchor" id="a6c9c1e7a7d96743375ca40847f0f12e2"></a>
925 <div class="memitem">
926 <div class="memproto">
927 <table class="mlabels">
928   <tr>
929   <td class="mlabels-left">
930       <table class="memname">
931         <tr>
932           <td class="memname">static constexpr unsigned int num_arguments_per_3D_tensor </td>
933           <td>(</td>
934           <td class="paramname"></td><td>)</td>
935           <td></td>
936         </tr>
937       </table>
938   </td>
939   <td class="mlabels-right">
940 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
941   </tr>
942 </table>
943 </div><div class="memdoc">
944
945 <p>Returns the number of arguments enqueued per 3D tensor object. </p>
946 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 3D tensor object. </dd></dl>
947
948 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00160">160</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
949 <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    {</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;3&gt;();</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    }</div></div><!-- fragment -->
950 </div>
951 </div>
952 <a class="anchor" id="a184fdf37587a9314cf12623accea6c73"></a>
953 <div class="memitem">
954 <div class="memproto">
955 <table class="mlabels">
956   <tr>
957   <td class="mlabels-left">
958       <table class="memname">
959         <tr>
960           <td class="memname">static constexpr unsigned int num_arguments_per_4D_tensor </td>
961           <td>(</td>
962           <td class="paramname"></td><td>)</td>
963           <td></td>
964         </tr>
965       </table>
966   </td>
967   <td class="mlabels-right">
968 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
969   </tr>
970 </table>
971 </div><div class="memdoc">
972
973 <p>Returns the number of arguments enqueued per 4D tensor object. </p>
974 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 4D tensor object. </dd></dl>
975
976 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00168">168</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
977
978 <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>
979 <div class="fragment"><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    {</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        <span class="keywordflow">return</span> num_arguments_per_tensor&lt;4&gt;();</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    }</div></div><!-- fragment -->
980 </div>
981 </div>
982 <a class="anchor" id="af6a174d47571f51f199ffc27ecc10f51"></a>
983 <div class="memitem">
984 <div class="memproto">
985 <table class="mlabels">
986   <tr>
987   <td class="mlabels-left">
988       <table class="memname">
989         <tr>
990           <td class="memname">virtual void run </td>
991           <td>(</td>
992           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &amp;&#160;</td>
993           <td class="paramname"><em>window</em>, </td>
994         </tr>
995         <tr>
996           <td class="paramkey"></td>
997           <td></td>
998           <td class="paramtype">cl::CommandQueue &amp;&#160;</td>
999           <td class="paramname"><em>queue</em>&#160;</td>
1000         </tr>
1001         <tr>
1002           <td></td>
1003           <td>)</td>
1004           <td></td><td></td>
1005         </tr>
1006       </table>
1007   </td>
1008   <td class="mlabels-right">
1009 <span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
1010   </tr>
1011 </table>
1012 </div><div class="memdoc">
1013
1014 <p>Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue. </p>
1015 <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>
1016 <dl class="params"><dt>Parameters</dt><dd>
1017   <table class="params">
1018     <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>
1019     <tr><td class="paramdir">[in,out]</td><td class="paramname">queue</td><td>Command queue on which to enqueue the kernel. </td></tr>
1020   </table>
1021   </dd>
1022 </dl>
1023
1024 <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_l_k_tracker_finalize_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerFinalizeKernel</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_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_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLIm2ColKernel</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_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWeightsReshapeKernel</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_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_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_depthwise_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseIm2ColKernel</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_l2_normalize_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLL2NormalizeLayerKernel</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_winograd_output_transform_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWinogradOutputTransformKernel</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_winograd_filter_transform_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWinogradFilterTransformKernel</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_convert_fully_connected_weights_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLConvertFullyConnectedWeightsKernel</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_channel_combine_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelCombineKernel</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_h_o_g_detector_kernel.xhtml#ac8f1ca778b425c6408a93b672b041dd0">CLHOGDetectorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_winograd_input_transform_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWinogradInputTransformKernel</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_harris_score_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHarrisScoreKernel</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_pooling_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPoolingLayerKernel</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_width_concatenate_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWidthConcatenateLayerKernel</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_depthwise_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseWeightsReshapeKernel</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_depthwise_convolution_layer3x3_n_c_h_w_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseConvolutionLayer3x3NCHWKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_convolution_layer3x3_n_h_w_c_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseConvolutionLayer3x3NHWCKernel</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_locally_connected_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLocallyConnectedMatrixMultiplyKernel</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_channel_shuffle_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelShuffleLayerKernel</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_g_e_m_m_matrix_vector_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixVectorMultiplyKernel</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_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_h_o_g_orientation_binning_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHOGOrientationBinningKernel</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_derivative_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDerivativeKernel</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_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_histogram_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHistogramKernel</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_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_copy_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLCopyKernel</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>
1025
1026 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00168">ICLKernel::num_arguments_per_4D_tensor()</a>.</p>
1027
1028 </div>
1029 </div>
1030 <a class="anchor" id="ad356b88c8f61267d593d9ed99835bde9"></a>
1031 <div class="memitem">
1032 <div class="memproto">
1033 <table class="mlabels">
1034   <tr>
1035   <td class="mlabels-left">
1036       <table class="memname">
1037         <tr>
1038           <td class="memname">void set_lws_hint </td>
1039           <td>(</td>
1040           <td class="paramtype">const cl::NDRange &amp;&#160;</td>
1041           <td class="paramname"><em>lws_hint</em></td><td>)</td>
1042           <td></td>
1043         </tr>
1044       </table>
1045   </td>
1046   <td class="mlabels-right">
1047 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1048   </tr>
1049 </table>
1050 </div><div class="memdoc">
1051
1052 <p>Set the Local-Workgroup-Size hint. </p>
1053 <dl class="section note"><dt>Note</dt><dd>This method should be called after the configuration of the kernel</dd></dl>
1054 <dl class="params"><dt>Parameters</dt><dd>
1055   <table class="params">
1056     <tr><td class="paramdir">[in]</td><td class="paramname">lws_hint</td><td>Local-Workgroup-Size to use </td></tr>
1057   </table>
1058   </dd>
1059 </dl>
1060
1061 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00197">197</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1062
1063 <p>References <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00206">ICLKernel::lws_hint()</a>.</p>
1064
1065 <p>Referenced by <a class="el" href="_tuner_8cpp_source.xhtml#l00044">arm_compute::test::validation::TEST_CASE()</a>.</p>
1066 <div class="fragment"><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    {</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        _lws_hint = <a class="code" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a0737b867334392d5dc5c2e3291d67dbf">lws_hint</a>;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    }</div><div class="ttc" id="classarm__compute_1_1_i_c_l_kernel_xhtml_a0737b867334392d5dc5c2e3291d67dbf"><div class="ttname"><a href="classarm__compute_1_1_i_c_l_kernel.xhtml#a0737b867334392d5dc5c2e3291d67dbf">arm_compute::ICLKernel::lws_hint</a></div><div class="ttdeci">cl::NDRange lws_hint() const </div><div class="ttdoc">Return the Local-Workgroup-Size hint. </div><div class="ttdef"><b>Definition:</b> <a href="_i_c_l_kernel_8h_source.xhtml#l00206">ICLKernel.h:206</a></div></div>
1067 </div><!-- fragment -->
1068 </div>
1069 </div>
1070 <a class="anchor" id="ad5ba9d34a3a855bf1dd2e36316ff550a"></a>
1071 <div class="memitem">
1072 <div class="memproto">
1073 <table class="mlabels">
1074   <tr>
1075   <td class="mlabels-left">
1076       <table class="memname">
1077         <tr>
1078           <td class="memname">void set_target </td>
1079           <td>(</td>
1080           <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a>&#160;</td>
1081           <td class="paramname"><em>target</em></td><td>)</td>
1082           <td></td>
1083         </tr>
1084       </table>
1085   </td>
1086   <td class="mlabels-right">
1087 <span class="mlabels"><span class="mlabel">inline</span></span>  </td>
1088   </tr>
1089 </table>
1090 </div><div class="memdoc">
1091
1092 <p>Set the targeted GPU architecture. </p>
1093 <dl class="params"><dt>Parameters</dt><dd>
1094   <table class="params">
1095     <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The targeted GPU architecture </td></tr>
1096   </table>
1097   </dd>
1098 </dl>
1099
1100 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00230">230</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1101
1102 <p>Referenced by <a class="el" href="_tuner_8cpp_source.xhtml#l00044">arm_compute::test::validation::TEST_CASE()</a>.</p>
1103 <div class="fragment"><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    {</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        _target = target;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    }</div></div><!-- fragment -->
1104 </div>
1105 </div>
1106 <a class="anchor" id="a57e5f498fcbfc25c28b8496dfa3fc33c"></a>
1107 <div class="memitem">
1108 <div class="memproto">
1109       <table class="memname">
1110         <tr>
1111           <td class="memname">void set_target </td>
1112           <td>(</td>
1113           <td class="paramtype">cl::Device &amp;&#160;</td>
1114           <td class="paramname"><em>device</em></td><td>)</td>
1115           <td></td>
1116         </tr>
1117       </table>
1118 </div><div class="memdoc">
1119
1120 <p>Set the targeted GPU architecture according to the CL device. </p>
1121 <dl class="params"><dt>Parameters</dt><dd>
1122   <table class="params">
1123     <tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>A CL device </td></tr>
1124   </table>
1125   </dd>
1126 </dl>
1127
1128 </div>
1129 </div>
1130 <hr/>The documentation for this class was generated from the following file:<ul>
1131 <li>arm_compute/core/CL/<a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a></li>
1132 </ul>
1133 </div><!-- contents -->
1134 </div><!-- doc-content -->
1135 <!-- start footer part -->
1136 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1137   <ul>
1138     <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>
1139     <li class="footer">Generated on Wed May 23 2018 11:36:41 for Compute Library by
1140     <a href="http://www.doxygen.org/index.html">
1141     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
1142   </ul>
1143 </div>
1144 </body>
1145 </html>