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">
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);
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(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
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" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.05</span>
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');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related 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 Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
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>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_i_c_l_kernel.xhtml','');});
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)">
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">
118 <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a> |
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>
124 <div class="contents">
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>
129 <p><code>#include <<a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>></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>
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"> </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"> </td><td class="mdescRight">Constructor. <a href="#a6b10e96ce90bf901d17def86b874b019">More...</a><br /></td></tr>
141 <tr class="separator:a6b10e96ce90bf901d17def86b874b019"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:ae5121015ab09ece4d470f50c7ffe198e"><td class="memItemLeft" align="right" valign="top">cl::Kernel & </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"> </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"> </td></tr>
145 <tr class="memitem:a9331d385192a50adf74d3af40ce0fa20"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
146 <tr class="memitem:a9331d385192a50adf74d3af40ce0fa20"><td class="memTemplItemLeft" align="right" valign="top">void </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 &idx, const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > *array, const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &strides, unsigned int num_dimensions, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
147 <tr class="memdesc:a9331d385192a50adf74d3af40ce0fa20"><td class="mdescLeft"> </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"> </td></tr>
149 <tr class="memitem:a479e7043e65dc87de35d374e108510f7"><td class="memItemLeft" align="right" valign="top">void </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 &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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
150 <tr class="memdesc:a479e7043e65dc87de35d374e108510f7"><td class="mdescLeft"> </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"> </td></tr>
152 <tr class="memitem:ac74dad3e61f79334f5e73f3c3ac603cb"><td class="memItemLeft" align="right" valign="top">void </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 &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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
153 <tr class="memdesc:ac74dad3e61f79334f5e73f3c3ac603cb"><td class="mdescLeft"> </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"> </td></tr>
155 <tr class="memitem:a28f5847162f352444c6ac1825d0e99c7"><td class="memItemLeft" align="right" valign="top">void </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 &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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
156 <tr class="memdesc:a28f5847162f352444c6ac1825d0e99c7"><td class="mdescLeft"> </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"> </td></tr>
158 <tr class="memitem:a33e09c946b338fbfc780a9d1c66e68ad"><td class="memItemLeft" align="right" valign="top">void </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 &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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
159 <tr class="memdesc:a33e09c946b338fbfc780a9d1c66e68ad"><td class="mdescLeft"> </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"> </td></tr>
161 <tr class="memitem:af6a174d47571f51f199ffc27ecc10f51"><td class="memItemLeft" align="right" valign="top">virtual void </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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>, cl::CommandQueue &queue)=0</td></tr>
162 <tr class="memdesc:af6a174d47571f51f199ffc27ecc10f51"><td class="mdescLeft"> </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"> </td></tr>
164 <tr class="memitem:a50f427a1d9419800972b9e03c4034311"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
165 <tr class="memitem:a50f427a1d9419800972b9e03c4034311"><td class="memTemplItemLeft" align="right" valign="top">void </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 &idx, T value)</td></tr>
166 <tr class="memdesc:a50f427a1d9419800972b9e03c4034311"><td class="mdescLeft"> </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"> </td></tr>
168 <tr class="memitem:ad356b88c8f61267d593d9ed99835bde9"><td class="memItemLeft" align="right" valign="top">void </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 &<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"> </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"> </td></tr>
171 <tr class="memitem:a0737b867334392d5dc5c2e3291d67dbf"><td class="memItemLeft" align="right" valign="top">cl::NDRange </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"> </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"> </td></tr>
174 <tr class="memitem:a226d2e9e6d3c42d681666566fe950b2d"><td class="memItemLeft" align="right" valign="top">const std::string & </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"> </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"> </td></tr>
177 <tr class="memitem:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </td></tr>
180 <tr class="memitem:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="memItemLeft" align="right" valign="top">void </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 &device)</td></tr>
181 <tr class="memdesc:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="mdescLeft"> </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"> </td></tr>
183 <tr class="memitem:a646cd535a16835b246c3367a63d96250"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> </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"> </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"> </td></tr>
186 <tr class="memitem:abca336f832d730e8494049bd714df60a"><td class="memItemLeft" align="right" valign="top">size_t </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"> </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"> </td></tr>
189 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplParams" colspan="2">template<typename T , unsigned int dimension_size> </td></tr>
190 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplItemLeft" align="right" valign="top">void </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 &idx, const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > *array, const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> &strides, unsigned int num_dimensions, const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
191 <tr class="memdesc:a2d7c6b5f3332604ad6a637457f65c342"><td class="mdescLeft"> </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"> </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="-"/> 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"> </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"> </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"> </td></tr>
197 <tr class="memitem:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual </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"> </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"> </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 </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"> </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"> </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> </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"> </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"> </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> & </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"> </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"> </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 </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"> </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"> </td></tr>
215 <tr class="memitem:a43b6c5e4b57069c5f61e96dff24c212d"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int </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"> </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"> </td></tr>
218 <tr class="memitem:a45601e0d46621a5b6f2e417d60e5c800"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int </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"> </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"> </td></tr>
221 <tr class="memitem:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int </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"> </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"> </td></tr>
224 <tr class="memitem:a184fdf37587a9314cf12623accea6c73"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int </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"> </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"> </td></tr>
227 <tr class="memitem:a4b4a20e518c04e657839280cd486a85d"><td class="memItemLeft" align="right" valign="top">static cl::NDRange </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> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>)</td></tr>
228 <tr class="memdesc:a4b4a20e518c04e657839280cd486a85d"><td class="mdescLeft"> </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"> </td></tr>
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>
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 & Destructor Documentation</h2>
236 <a class="anchor" id="a6b10e96ce90bf901d17def86b874b019"></a>
237 <div class="memitem">
238 <div class="memproto">
239 <table class="mlabels">
241 <td class="mlabels-left">
242 <table class="memname">
244 <td class="memname"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a> </td>
246 <td class="paramname"></td><td>)</td>
251 <td class="mlabels-right">
252 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
255 </div><div class="memdoc">
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>  : _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>  {</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</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 & 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 -->
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">
271 <td class="mlabels-left">
272 <table class="memname">
274 <td class="memname">void add_1D_array_argument </td>
276 <td class="paramtype">unsigned int & </td>
277 <td class="paramname"><em>idx</em>, </td>
280 <td class="paramkey"></td>
282 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > * </td>
283 <td class="paramname"><em>array</em>, </td>
286 <td class="paramkey"></td>
288 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> & </td>
289 <td class="paramname"><em>strides</em>, </td>
292 <td class="paramkey"></td>
294 <td class="paramtype">unsigned int </td>
295 <td class="paramname"><em>num_dimensions</em>, </td>
298 <td class="paramkey"></td>
300 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
301 <td class="paramname"><em>window</em> </td>
310 <td class="mlabels-right">
311 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
314 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  add_array_argument<T, 1>(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>  }</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 & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
332 </div><!-- fragment -->
335 <a class="anchor" id="a479e7043e65dc87de35d374e108510f7"></a>
336 <div class="memitem">
337 <div class="memproto">
338 <table class="mlabels">
340 <td class="mlabels-left">
341 <table class="memname">
343 <td class="memname">void add_1D_tensor_argument </td>
345 <td class="paramtype">unsigned int & </td>
346 <td class="paramname"><em>idx</em>, </td>
349 <td class="paramkey"></td>
351 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
352 <td class="paramname"><em>tensor</em>, </td>
355 <td class="paramkey"></td>
357 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
358 <td class="paramname"><em>window</em> </td>
367 <td class="mlabels-right">
368 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
371 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  add_tensor_argument<1>(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>  }</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 & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
387 </div><!-- fragment -->
390 <a class="anchor" id="ac74dad3e61f79334f5e73f3c3ac603cb"></a>
391 <div class="memitem">
392 <div class="memproto">
393 <table class="mlabels">
395 <td class="mlabels-left">
396 <table class="memname">
398 <td class="memname">void add_2D_tensor_argument </td>
400 <td class="paramtype">unsigned int & </td>
401 <td class="paramname"><em>idx</em>, </td>
404 <td class="paramkey"></td>
406 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
407 <td class="paramname"><em>tensor</em>, </td>
410 <td class="paramkey"></td>
412 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
413 <td class="paramname"><em>window</em> </td>
422 <td class="mlabels-right">
423 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
426 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  add_tensor_argument<2>(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>  }</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 & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
442 </div><!-- fragment -->
445 <a class="anchor" id="a28f5847162f352444c6ac1825d0e99c7"></a>
446 <div class="memitem">
447 <div class="memproto">
448 <table class="mlabels">
450 <td class="mlabels-left">
451 <table class="memname">
453 <td class="memname">void add_3D_tensor_argument </td>
455 <td class="paramtype">unsigned int & </td>
456 <td class="paramname"><em>idx</em>, </td>
459 <td class="paramkey"></td>
461 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
462 <td class="paramname"><em>tensor</em>, </td>
465 <td class="paramkey"></td>
467 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
468 <td class="paramname"><em>window</em> </td>
477 <td class="mlabels-right">
478 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
481 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  add_tensor_argument<3>(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>  }</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 & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
497 </div><!-- fragment -->
500 <a class="anchor" id="a33e09c946b338fbfc780a9d1c66e68ad"></a>
501 <div class="memitem">
502 <div class="memproto">
503 <table class="mlabels">
505 <td class="mlabels-left">
506 <table class="memname">
508 <td class="memname">void add_4D_tensor_argument </td>
510 <td class="paramtype">unsigned int & </td>
511 <td class="paramname"><em>idx</em>, </td>
514 <td class="paramkey"></td>
516 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
517 <td class="paramname"><em>tensor</em>, </td>
520 <td class="paramkey"></td>
522 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
523 <td class="paramname"><em>window</em> </td>
532 <td class="mlabels-right">
533 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
536 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  add_tensor_argument<4>(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>  }</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 & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
552 </div><!-- fragment -->
555 <a class="anchor" id="a50f427a1d9419800972b9e03c4034311"></a>
556 <div class="memitem">
557 <div class="memproto">
558 <table class="mlabels">
560 <td class="mlabels-left">
561 <table class="memname">
563 <td class="memname">void add_argument </td>
565 <td class="paramtype">unsigned int & </td>
566 <td class="paramname"><em>idx</em>, </td>
569 <td class="paramkey"></td>
571 <td class="paramtype">T </td>
572 <td class="paramname"><em>value</em> </td>
581 <td class="mlabels-right">
582 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
585 </div><div class="memdoc">
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>
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>  {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  _kernel.setArg(idx++, value);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div></div><!-- fragment -->
600 <a class="anchor" id="a2d7c6b5f3332604ad6a637457f65c342"></a>
601 <div class="memitem">
602 <div class="memproto">
603 <table class="memname">
605 <td class="memname">void add_array_argument </td>
607 <td class="paramtype">unsigned & </td>
608 <td class="paramname"><em>idx</em>, </td>
611 <td class="paramkey"></td>
613 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > * </td>
614 <td class="paramname"><em>array</em>, </td>
617 <td class="paramkey"></td>
619 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> & </td>
620 <td class="paramname"><em>strides</em>, </td>
623 <td class="paramkey"></td>
625 <td class="paramtype">unsigned int </td>
626 <td class="paramname"><em>num_dimensions</em>, </td>
629 <td class="paramkey"></td>
631 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
632 <td class="paramname"><em>window</em> </td>
640 </div><div class="memdoc">
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>
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>
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< T >::cl_buffer()</a>.</p>
657 <div class="fragment"><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <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> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <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>  <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> </div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n = 0; n < num_dimensions; ++n)</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  {</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  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>  }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <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>  _kernel.setArg(idx++, array->cl_buffer());</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> dimension = 0; dimension < dimension_size; dimension++)</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  {</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  _kernel.setArg<cl_uint>(idx++, strides[dimension]);</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  _kernel.setArg<cl_uint>(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>  }</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  _kernel.setArg<cl_uint>(idx++, offset_first_element);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(idx_start + num_arguments_per_array<dimension_size>() != idx,</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="stringliteral">"add_%dD_array_argument() is supposed to add exactly %d arguments to the kernel"</span>, dimension_size, num_arguments_per_array<dimension_size>());</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <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> }</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 & 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 -->
664 <a class="anchor" id="a226d2e9e6d3c42d681666566fe950b2d"></a>
665 <div class="memitem">
666 <div class="memproto">
667 <table class="mlabels">
669 <td class="mlabels-left">
670 <table class="memname">
672 <td class="memname">const std::string& config_id </td>
674 <td class="paramname"></td><td>)</td>
679 <td class="mlabels-right">
680 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
683 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">return</span> _config_id;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  }</div></div><!-- fragment -->
695 <a class="anchor" id="abca336f832d730e8494049bd714df60a"></a>
696 <div class="memitem">
697 <div class="memproto">
698 <table class="memname">
700 <td class="memname">size_t get_max_workgroup_size </td>
702 <td class="paramname"></td><td>)</td>
706 </div><div class="memdoc">
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>
711 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>.</p>
715 <a class="anchor" id="a646cd535a16835b246c3367a63d96250"></a>
716 <div class="memitem">
717 <div class="memproto">
718 <table class="mlabels">
720 <td class="mlabels-left">
721 <table class="memname">
723 <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> get_target </td>
725 <td class="paramname"></td><td>)</td>
730 <td class="mlabels-right">
731 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
734 </div><div class="memdoc">
736 <p>Get the targeted GPU architecture. </p>
737 <dl class="section return"><dt>Returns</dt><dd>The targeted GPU architecture. </dd></dl>
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>
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>  {</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keywordflow">return</span> _target;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div></div><!-- fragment -->
745 <a class="anchor" id="a4b4a20e518c04e657839280cd486a85d"></a>
746 <div class="memitem">
747 <div class="memproto">
748 <table class="mlabels">
750 <td class="mlabels-left">
751 <table class="memname">
753 <td class="memname">static cl::NDRange gws_from_window </td>
755 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
756 <td class="paramname"><em>window</em></td><td>)</td>
761 <td class="mlabels-right">
762 <span class="mlabels"><span class="mlabel">static</span></span> </td>
765 </div><div class="memdoc">
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>
774 <dl class="section return"><dt>Returns</dt><dd>Global work size of the given execution window </dd></dl>
776 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00245">ICLKernel::get_target()</a>.</p>
780 <a class="anchor" id="ae5121015ab09ece4d470f50c7ffe198e"></a>
781 <div class="memitem">
782 <div class="memproto">
783 <table class="mlabels">
785 <td class="mlabels-left">
786 <table class="memname">
788 <td class="memname">cl::Kernel& kernel </td>
790 <td class="paramname"></td><td>)</td>
795 <td class="mlabels-right">
796 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
799 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> _kernel;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  }</div></div><!-- fragment -->
810 <a class="anchor" id="a0737b867334392d5dc5c2e3291d67dbf"></a>
811 <div class="memitem">
812 <div class="memproto">
813 <table class="mlabels">
815 <td class="mlabels-left">
816 <table class="memname">
818 <td class="memname">cl::NDRange lws_hint </td>
820 <td class="paramname"></td><td>)</td>
825 <td class="mlabels-right">
826 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
829 </div><div class="memdoc">
831 <p>Return the Local-Workgroup-Size hint. </p>
832 <dl class="section return"><dt>Returns</dt><dd>Current lws hint </dd></dl>
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>
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>  {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keywordflow">return</span> _lws_hint;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  }</div></div><!-- fragment -->
840 <a class="anchor" id="a278f0e6c68ca17e71f4c4ff82f360aa0"></a>
841 <div class="memitem">
842 <div class="memproto">
843 <table class="mlabels">
845 <td class="mlabels-left">
846 <table class="memname">
848 <td class="memname">static constexpr unsigned int num_arguments_per_1D_array </td>
850 <td class="paramname"></td><td>)</td>
855 <td class="mlabels-right">
856 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
859 </div><div class="memdoc">
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>
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>  {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span> num_arguments_per_array<1>();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div></div><!-- fragment -->
868 <a class="anchor" id="a43b6c5e4b57069c5f61e96dff24c212d"></a>
869 <div class="memitem">
870 <div class="memproto">
871 <table class="mlabels">
873 <td class="mlabels-left">
874 <table class="memname">
876 <td class="memname">static constexpr unsigned int num_arguments_per_1D_tensor </td>
878 <td class="paramname"></td><td>)</td>
883 <td class="mlabels-right">
884 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
887 </div><div class="memdoc">
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>
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>  {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<1>();</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div></div><!-- fragment -->
896 <a class="anchor" id="a45601e0d46621a5b6f2e417d60e5c800"></a>
897 <div class="memitem">
898 <div class="memproto">
899 <table class="mlabels">
901 <td class="mlabels-left">
902 <table class="memname">
904 <td class="memname">static constexpr unsigned int num_arguments_per_2D_tensor </td>
906 <td class="paramname"></td><td>)</td>
911 <td class="mlabels-right">
912 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
915 </div><div class="memdoc">
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>
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>  {</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<2>();</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  }</div></div><!-- fragment -->
924 <a class="anchor" id="a6c9c1e7a7d96743375ca40847f0f12e2"></a>
925 <div class="memitem">
926 <div class="memproto">
927 <table class="mlabels">
929 <td class="mlabels-left">
930 <table class="memname">
932 <td class="memname">static constexpr unsigned int num_arguments_per_3D_tensor </td>
934 <td class="paramname"></td><td>)</td>
939 <td class="mlabels-right">
940 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
943 </div><div class="memdoc">
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>
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>  {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<3>();</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div></div><!-- fragment -->
952 <a class="anchor" id="a184fdf37587a9314cf12623accea6c73"></a>
953 <div class="memitem">
954 <div class="memproto">
955 <table class="mlabels">
957 <td class="mlabels-left">
958 <table class="memname">
960 <td class="memname">static constexpr unsigned int num_arguments_per_4D_tensor </td>
962 <td class="paramname"></td><td>)</td>
967 <td class="mlabels-right">
968 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
971 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<4>();</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  }</div></div><!-- fragment -->
982 <a class="anchor" id="af6a174d47571f51f199ffc27ecc10f51"></a>
983 <div class="memitem">
984 <div class="memproto">
985 <table class="mlabels">
987 <td class="mlabels-left">
988 <table class="memname">
990 <td class="memname">virtual void run </td>
992 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
993 <td class="paramname"><em>window</em>, </td>
996 <td class="paramkey"></td>
998 <td class="paramtype">cl::CommandQueue & </td>
999 <td class="paramname"><em>queue</em> </td>
1008 <td class="mlabels-right">
1009 <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
1012 </div><div class="memdoc">
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>
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>
1026 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00168">ICLKernel::num_arguments_per_4D_tensor()</a>.</p>
1030 <a class="anchor" id="ad356b88c8f61267d593d9ed99835bde9"></a>
1031 <div class="memitem">
1032 <div class="memproto">
1033 <table class="mlabels">
1035 <td class="mlabels-left">
1036 <table class="memname">
1038 <td class="memname">void set_lws_hint </td>
1040 <td class="paramtype">const cl::NDRange & </td>
1041 <td class="paramname"><em>lws_hint</em></td><td>)</td>
1046 <td class="mlabels-right">
1047 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1050 </div><div class="memdoc">
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>
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>
1063 <p>References <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00206">ICLKernel::lws_hint()</a>.</p>
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>  {</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  _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>  }</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 -->
1070 <a class="anchor" id="ad5ba9d34a3a855bf1dd2e36316ff550a"></a>
1071 <div class="memitem">
1072 <div class="memproto">
1073 <table class="mlabels">
1075 <td class="mlabels-left">
1076 <table class="memname">
1078 <td class="memname">void set_target </td>
1080 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> </td>
1081 <td class="paramname"><em>target</em></td><td>)</td>
1086 <td class="mlabels-right">
1087 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1090 </div><div class="memdoc">
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>
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>
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>  {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  _target = target;</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  }</div></div><!-- fragment -->
1106 <a class="anchor" id="a57e5f498fcbfc25c28b8496dfa3fc33c"></a>
1107 <div class="memitem">
1108 <div class="memproto">
1109 <table class="memname">
1111 <td class="memname">void set_target </td>
1113 <td class="paramtype">cl::Device & </td>
1114 <td class="paramname"><em>device</em></td><td>)</td>
1118 </div><div class="memdoc">
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>
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>
1133 </div><!-- contents -->
1134 </div><!-- doc-content -->
1135 <!-- start footer part -->
1136 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
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>