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.02</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 <a class="el" href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a>)</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:a44c701b9dbd01a171de4928254d1ecbf"><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#a44c701b9dbd01a171de4928254d1ecbf">set_lws_hint</a> (cl::NDRange &lws_hint)</td></tr>
169 <tr class="memdesc:a44c701b9dbd01a171de4928254d1ecbf"><td class="mdescLeft"> </td><td class="mdescRight">Set the Local-Workgroup-Size hint. <a href="#a44c701b9dbd01a171de4928254d1ecbf">More...</a><br /></td></tr>
170 <tr class="separator:a44c701b9dbd01a171de4928254d1ecbf"><td class="memSeparator" colspan="2"> </td></tr>
171 <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>
172 <tr class="memdesc:a226d2e9e6d3c42d681666566fe950b2d"><td class="mdescLeft"> </td><td class="mdescRight">Get the configuration ID. <a href="#a226d2e9e6d3c42d681666566fe950b2d">More...</a><br /></td></tr>
173 <tr class="separator:a226d2e9e6d3c42d681666566fe950b2d"><td class="memSeparator" colspan="2"> </td></tr>
174 <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>
175 <tr class="memdesc:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="mdescLeft"> </td><td class="mdescRight">Set the targeted GPU architecture. <a href="#ad5ba9d34a3a855bf1dd2e36316ff550a">More...</a><br /></td></tr>
176 <tr class="separator:ad5ba9d34a3a855bf1dd2e36316ff550a"><td class="memSeparator" colspan="2"> </td></tr>
177 <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>
178 <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>
179 <tr class="separator:a57e5f498fcbfc25c28b8496dfa3fc33c"><td class="memSeparator" colspan="2"> </td></tr>
180 <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>
181 <tr class="memdesc:a646cd535a16835b246c3367a63d96250"><td class="mdescLeft"> </td><td class="mdescRight">Get the targeted GPU architecture. <a href="#a646cd535a16835b246c3367a63d96250">More...</a><br /></td></tr>
182 <tr class="separator:a646cd535a16835b246c3367a63d96250"><td class="memSeparator" colspan="2"> </td></tr>
183 <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>
184 <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>
185 <tr class="separator:abca336f832d730e8494049bd714df60a"><td class="memSeparator" colspan="2"> </td></tr>
186 <tr class="memitem:a2d7c6b5f3332604ad6a637457f65c342"><td class="memTemplParams" colspan="2">template<typename T , unsigned int dimension_size> </td></tr>
187 <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>
188 <tr class="separator:a2d7c6b5f3332604ad6a637457f65c342"><td class="memSeparator" colspan="2"> </td></tr>
189 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_kernel')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_kernel.xhtml">IKernel</a></td></tr>
190 <tr class="memitem:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a7250cb8cbaa4104a93a2d77155085507">IKernel</a> ()</td></tr>
191 <tr class="memdesc:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a7250cb8cbaa4104a93a2d77155085507">More...</a><br /></td></tr>
192 <tr class="separator:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
193 <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>
194 <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>
195 <tr class="separator:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
196 <tr class="memitem:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#abfab8f0d4928e1081d9f65b77933e24a">is_parallelisable</a> () const </td></tr>
197 <tr class="memdesc:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not the kernel is parallelisable. <a href="#abfab8f0d4928e1081d9f65b77933e24a">More...</a><br /></td></tr>
198 <tr class="separator:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
199 <tr class="memitem:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#aa6daa9b04e2035bf007e5e5c3c4396a8">border_size</a> () const </td></tr>
200 <tr class="memdesc:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">The size of the border for that kernel. <a href="#aa6daa9b04e2035bf007e5e5c3c4396a8">More...</a><br /></td></tr>
201 <tr class="separator:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
202 <tr class="memitem:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a> () const </td></tr>
203 <tr class="memdesc:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">The maximum window the kernel can be executed on. <a href="#a3f5646133956f06348b310ccc3d36353">More...</a><br /></td></tr>
204 <tr class="separator:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
205 </table><table class="memberdecls">
206 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
207 Static Public Member Functions</h2></td></tr>
208 <tr class="memitem:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="memItemLeft" align="right" valign="top">static constexpr unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a278f0e6c68ca17e71f4c4ff82f360aa0">num_arguments_per_1D_array</a> ()</td></tr>
209 <tr class="memdesc:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of arguments enqueued per 1D array object. <a href="#a278f0e6c68ca17e71f4c4ff82f360aa0">More...</a><br /></td></tr>
210 <tr class="separator:a278f0e6c68ca17e71f4c4ff82f360aa0"><td class="memSeparator" colspan="2"> </td></tr>
211 <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>
212 <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>
213 <tr class="separator:a43b6c5e4b57069c5f61e96dff24c212d"><td class="memSeparator" colspan="2"> </td></tr>
214 <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>
215 <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>
216 <tr class="separator:a45601e0d46621a5b6f2e417d60e5c800"><td class="memSeparator" colspan="2"> </td></tr>
217 <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>
218 <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>
219 <tr class="separator:a6c9c1e7a7d96743375ca40847f0f12e2"><td class="memSeparator" colspan="2"> </td></tr>
220 <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>
221 <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>
222 <tr class="separator:a184fdf37587a9314cf12623accea6c73"><td class="memSeparator" colspan="2"> </td></tr>
223 <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>
224 <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>
225 <tr class="separator:a4b4a20e518c04e657839280cd486a85d"><td class="memSeparator" colspan="2"> </td></tr>
227 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
228 <div class="textblock"><p>Common interface for all the OpenCL kernels. </p>
230 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00042">42</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
231 </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
232 <a class="anchor" id="a6b10e96ce90bf901d17def86b874b019"></a>
233 <div class="memitem">
234 <div class="memproto">
235 <table class="mlabels">
237 <td class="mlabels-left">
238 <table class="memname">
240 <td class="memname"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a> </td>
242 <td class="paramname"></td><td>)</td>
247 <td class="mlabels-right">
248 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
251 </div><div class="memdoc">
255 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00066">66</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
256 <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  : _kernel(<span class="keyword">nullptr</span>), _lws_hint(<a class="code" href="classarm__compute_1_1_c_l_kernel_library.xhtml#aebe2d25607545d31f2b1ace6d60a81da">CLKernelLibrary::get</a>().default_ndrange()), _target(<a class="code" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38">GPUTarget::MIDGARD</a>), _config_id(arm_compute::default_config_id), _max_workgroup_size(0)</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</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>
257 <div class="ttc" id="namespacearm__compute_xhtml_a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38"><div class="ttname"><a href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3afa362f4daec88442a387ff7cda411a38">arm_compute::GPUTarget::MIDGARD</a></div></div>
258 </div><!-- fragment -->
261 <h2 class="groupheader">Member Function Documentation</h2>
262 <a class="anchor" id="a9331d385192a50adf74d3af40ce0fa20"></a>
263 <div class="memitem">
264 <div class="memproto">
265 <table class="mlabels">
267 <td class="mlabels-left">
268 <table class="memname">
270 <td class="memname">void add_1D_array_argument </td>
272 <td class="paramtype">unsigned int & </td>
273 <td class="paramname"><em>idx</em>, </td>
276 <td class="paramkey"></td>
278 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > * </td>
279 <td class="paramname"><em>array</em>, </td>
282 <td class="paramkey"></td>
284 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> & </td>
285 <td class="paramname"><em>strides</em>, </td>
288 <td class="paramkey"></td>
290 <td class="paramtype">unsigned int </td>
291 <td class="paramname"><em>num_dimensions</em>, </td>
294 <td class="paramkey"></td>
296 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
297 <td class="paramname"><em>window</em> </td>
306 <td class="mlabels-right">
307 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
310 </div><div class="memdoc">
312 <p>Add the passed 1D array's parameters to the object's kernel's arguments starting from the index idx. </p>
313 <dl class="params"><dt>Parameters</dt><dd>
314 <table class="params">
315 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the array's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
316 <tr><td class="paramdir">[in]</td><td class="paramname">array</td><td><a class="el" href="classarm__compute_1_1_array.xhtml" title="Basic implementation of the IArray interface which allocates a static number of T values...">Array</a> to set as an argument of the object's kernel. </td></tr>
317 <tr><td class="paramdir">[in]</td><td class="paramname">strides</td><td><a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> object containing stride of each dimension in bytes. </td></tr>
318 <tr><td class="paramdir">[in]</td><td class="paramname">num_dimensions</td><td>Number of dimensions of the <code>array</code>. </td></tr>
319 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
324 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00087">87</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
326 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
327 <div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</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="l00090"></a><span class="lineno"> 90</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>
328 </div><!-- fragment -->
331 <a class="anchor" id="a479e7043e65dc87de35d374e108510f7"></a>
332 <div class="memitem">
333 <div class="memproto">
334 <table class="mlabels">
336 <td class="mlabels-left">
337 <table class="memname">
339 <td class="memname">void add_1D_tensor_argument </td>
341 <td class="paramtype">unsigned int & </td>
342 <td class="paramname"><em>idx</em>, </td>
345 <td class="paramkey"></td>
347 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
348 <td class="paramname"><em>tensor</em>, </td>
351 <td class="paramkey"></td>
353 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
354 <td class="paramname"><em>window</em> </td>
363 <td class="mlabels-right">
364 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
367 </div><div class="memdoc">
369 <p>Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
370 <dl class="params"><dt>Parameters</dt><dd>
371 <table class="params">
372 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
373 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
374 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
379 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00097">97</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
381 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
382 <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</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="l00100"></a><span class="lineno"> 100</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>
383 </div><!-- fragment -->
386 <a class="anchor" id="ac74dad3e61f79334f5e73f3c3ac603cb"></a>
387 <div class="memitem">
388 <div class="memproto">
389 <table class="mlabels">
391 <td class="mlabels-left">
392 <table class="memname">
394 <td class="memname">void add_2D_tensor_argument </td>
396 <td class="paramtype">unsigned int & </td>
397 <td class="paramname"><em>idx</em>, </td>
400 <td class="paramkey"></td>
402 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
403 <td class="paramname"><em>tensor</em>, </td>
406 <td class="paramkey"></td>
408 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
409 <td class="paramname"><em>window</em> </td>
418 <td class="mlabels-right">
419 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
422 </div><div class="memdoc">
424 <p>Add the passed 2D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
425 <dl class="params"><dt>Parameters</dt><dd>
426 <table class="params">
427 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
428 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
429 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
434 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00107">107</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
436 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
437 <div class="fragment"><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</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="l00110"></a><span class="lineno"> 110</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>
438 </div><!-- fragment -->
441 <a class="anchor" id="a28f5847162f352444c6ac1825d0e99c7"></a>
442 <div class="memitem">
443 <div class="memproto">
444 <table class="mlabels">
446 <td class="mlabels-left">
447 <table class="memname">
449 <td class="memname">void add_3D_tensor_argument </td>
451 <td class="paramtype">unsigned int & </td>
452 <td class="paramname"><em>idx</em>, </td>
455 <td class="paramkey"></td>
457 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
458 <td class="paramname"><em>tensor</em>, </td>
461 <td class="paramkey"></td>
463 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
464 <td class="paramname"><em>window</em> </td>
473 <td class="mlabels-right">
474 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
477 </div><div class="memdoc">
479 <p>Add the passed 3D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
480 <dl class="params"><dt>Parameters</dt><dd>
481 <table class="params">
482 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
483 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
484 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
489 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00117">117</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
491 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
492 <div class="fragment"><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  {</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</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="l00120"></a><span class="lineno"> 120</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>
493 </div><!-- fragment -->
496 <a class="anchor" id="a33e09c946b338fbfc780a9d1c66e68ad"></a>
497 <div class="memitem">
498 <div class="memproto">
499 <table class="mlabels">
501 <td class="mlabels-left">
502 <table class="memname">
504 <td class="memname">void add_4D_tensor_argument </td>
506 <td class="paramtype">unsigned int & </td>
507 <td class="paramname"><em>idx</em>, </td>
510 <td class="paramkey"></td>
512 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
513 <td class="paramname"><em>tensor</em>, </td>
516 <td class="paramkey"></td>
518 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
519 <td class="paramname"><em>window</em> </td>
528 <td class="mlabels-right">
529 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
532 </div><div class="memdoc">
534 <p>Add the passed 4D tensor's parameters to the object's kernel's arguments starting from the index idx. </p>
535 <dl class="params"><dt>Parameters</dt><dd>
536 <table class="params">
537 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the tensor's arguments. Will be incremented by the number of kernel arguments set. </td></tr>
538 <tr><td class="paramdir">[in]</td><td class="paramname">tensor</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to set as an argument of the object's kernel. </td></tr>
539 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td><a class="el" href="classarm__compute_1_1_window.xhtml" title="Describe a multidimensional execution window. ">Window</a> the kernel will be executed on. </td></tr>
544 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00127">127</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
546 <p>References <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
547 <div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</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="l00130"></a><span class="lineno"> 130</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>
548 </div><!-- fragment -->
551 <a class="anchor" id="a50f427a1d9419800972b9e03c4034311"></a>
552 <div class="memitem">
553 <div class="memproto">
554 <table class="mlabels">
556 <td class="mlabels-left">
557 <table class="memname">
559 <td class="memname">void add_argument </td>
561 <td class="paramtype">unsigned int & </td>
562 <td class="paramname"><em>idx</em>, </td>
565 <td class="paramkey"></td>
567 <td class="paramtype">T </td>
568 <td class="paramname"><em>value</em> </td>
577 <td class="mlabels-right">
578 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
581 </div><div class="memdoc">
583 <p>Add the passed parameters to the object's kernel's arguments starting from the index idx. </p>
584 <dl class="params"><dt>Parameters</dt><dd>
585 <table class="params">
586 <tr><td class="paramdir">[in,out]</td><td class="paramname">idx</td><td>Index at which to start adding the arguments. Will be incremented by the number of kernel arguments set. </td></tr>
587 <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Value to set as an argument of the object's kernel. </td></tr>
592 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00185">185</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
593 <div class="fragment"><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  _kernel.setArg(idx++, <a class="code" href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a>);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div><div class="ttc" id="hwc_8hpp_xhtml_a0f61d63b009d0880a89c843bd50d8d76"><div class="ttname"><a href="hwc_8hpp.xhtml#a0f61d63b009d0880a89c843bd50d8d76">value</a></div><div class="ttdeci">void * value</div><div class="ttdef"><b>Definition:</b> <a href="hwc_8hpp_source.xhtml#l00278">hwc.hpp:278</a></div></div>
594 </div><!-- fragment -->
597 <a class="anchor" id="a2d7c6b5f3332604ad6a637457f65c342"></a>
598 <div class="memitem">
599 <div class="memproto">
600 <table class="memname">
602 <td class="memname">void add_array_argument </td>
604 <td class="paramtype">unsigned & </td>
605 <td class="paramname"><em>idx</em>, </td>
608 <td class="paramkey"></td>
610 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml">ICLArray</a>< T > * </td>
611 <td class="paramname"><em>array</em>, </td>
614 <td class="paramkey"></td>
616 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_strides.xhtml">Strides</a> & </td>
617 <td class="paramname"><em>strides</em>, </td>
620 <td class="paramkey"></td>
622 <td class="paramtype">unsigned int </td>
623 <td class="paramname"><em>num_dimensions</em>, </td>
626 <td class="paramkey"></td>
628 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
629 <td class="paramname"><em>window</em> </td>
637 </div><div class="memdoc">
639 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00297">297</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
641 <p>References <a class="el" href="core_2_error_8h_source.xhtml#l00306">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="core_2_error_8h_source.xhtml#l00297">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="core_2_error_8h_source.xhtml#l00147">ARM_COMPUTE_UNUSED</a>, and <a class="el" href="classarm__compute_1_1_i_c_l_array.xhtml#a1fb4c50755a0ef424652246838ed91a6">ICLArray< T >::cl_buffer()</a>.</p>
642 <div class="fragment"><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <a class="code" href="core_2_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(array == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="comment">// Calculate offset to the start of the window</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> offset_first_element = 0;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00304"></a><span class="lineno"> 304</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="l00305"></a><span class="lineno"> 305</span>  {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</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="l00307"></a><span class="lineno"> 307</span>  }</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> </div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> idx_start = idx;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  _kernel.setArg(idx++, array->cl_buffer());</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div><div class="line"><a name="l00312"></a><span class="lineno"> 312</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="l00313"></a><span class="lineno"> 313</span>  {</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  _kernel.setArg<cl_uint>(idx++, strides[dimension]);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</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="l00316"></a><span class="lineno"> 316</span>  }</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  _kernel.setArg<cl_uint>(idx++, offset_first_element);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="core_2_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="l00321"></a><span class="lineno"> 321</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="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="core_2_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a>(idx_start);</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> }</div><div class="ttc" id="core_2_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="core_2_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00306">Error.h:306</a></div></div>
643 <div class="ttc" id="core_2_error_8h_xhtml_a4103adbb45806b2f2002d44b91d0d206"><div class="ttname"><a href="core_2_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a></div><div class="ttdeci">#define ARM_COMPUTE_UNUSED(var)</div><div class="ttdoc">To avoid unused variables warnings. </div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00147">Error.h:147</a></div></div>
644 <div class="ttc" id="core_2_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="core_2_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="core_2_error_8h_source.xhtml#l00297">Error.h:297</a></div></div>
645 <div class="ttc" id="classarm__compute_1_1_i_kernel_xhtml_a3f5646133956f06348b310ccc3d36353"><div class="ttname"><a href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">arm_compute::IKernel::window</a></div><div class="ttdeci">const Window & window() const </div><div class="ttdoc">The maximum window the kernel can be executed on. </div></div>
646 </div><!-- fragment -->
649 <a class="anchor" id="a226d2e9e6d3c42d681666566fe950b2d"></a>
650 <div class="memitem">
651 <div class="memproto">
652 <table class="mlabels">
654 <td class="mlabels-left">
655 <table class="memname">
657 <td class="memname">const std::string& config_id </td>
659 <td class="paramname"></td><td>)</td>
664 <td class="mlabels-right">
665 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
668 </div><div class="memdoc">
670 <p>Get the configuration ID. </p>
671 <dl class="section note"><dt>Note</dt><dd>The configuration ID can be used by the caller to distinguish different calls of the same OpenCL kernel In particular, this method can be used by <a class="el" href="classarm__compute_1_1_c_l_scheduler.xhtml" title="Provides global access to a CL context and command queue. ">CLScheduler</a> to keep track of the best LWS for each configuration of the same kernel. The configuration ID should be provided only for the kernels potentially affected by the LWS geometry</dd>
673 This method should be called after the configuration of the kernel</dd></dl>
674 <dl class="section return"><dt>Returns</dt><dd>configuration id string </dd></dl>
676 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00211">211</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
677 <div class="fragment"><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">return</span> _config_id;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  }</div></div><!-- fragment -->
680 <a class="anchor" id="abca336f832d730e8494049bd714df60a"></a>
681 <div class="memitem">
682 <div class="memproto">
683 <table class="memname">
685 <td class="memname">size_t get_max_workgroup_size </td>
687 <td class="paramname"></td><td>)</td>
691 </div><div class="memdoc">
693 <p>Get the maximum workgroup size for the device the <a class="el" href="classarm__compute_1_1_c_l_kernel_library.xhtml" title="CLKernelLibrary class. ">CLKernelLibrary</a> uses. </p>
694 <dl class="section return"><dt>Returns</dt><dd>The maximum workgroup size value. </dd></dl>
696 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
700 <a class="anchor" id="a646cd535a16835b246c3367a63d96250"></a>
701 <div class="memitem">
702 <div class="memproto">
703 <table class="mlabels">
705 <td class="mlabels-left">
706 <table class="memname">
708 <td class="memname"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> get_target </td>
710 <td class="paramname"></td><td>)</td>
715 <td class="mlabels-right">
716 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
719 </div><div class="memdoc">
721 <p>Get the targeted GPU architecture. </p>
722 <dl class="section return"><dt>Returns</dt><dd>The targeted GPU architecture. </dd></dl>
724 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">235</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
726 <p>References <a class="el" href="namespacearm__compute.xhtml#a0f68015f649819f1102aa73d7b88b29e">arm_compute::enqueue()</a>, <a class="el" href="classarm__compute_1_1_c_l_kernel_library.xhtml#aebe2d25607545d31f2b1ace6d60a81da">CLKernelLibrary::get()</a>, <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#abca336f832d730e8494049bd714df60a">ICLKernel::get_max_workgroup_size()</a>, <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a4b4a20e518c04e657839280cd486a85d">ICLKernel::gws_from_window()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00074">ICLKernel::kernel()</a>, and <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
727 <div class="fragment"><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  {</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">return</span> _target;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div></div><!-- fragment -->
730 <a class="anchor" id="a4b4a20e518c04e657839280cd486a85d"></a>
731 <div class="memitem">
732 <div class="memproto">
733 <table class="mlabels">
735 <td class="mlabels-left">
736 <table class="memname">
738 <td class="memname">static cl::NDRange gws_from_window </td>
740 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
741 <td class="paramname"><em>window</em></td><td>)</td>
746 <td class="mlabels-right">
747 <span class="mlabels"><span class="mlabel">static</span></span> </td>
750 </div><div class="memdoc">
752 <p>Get the global work size given an execution window. </p>
753 <dl class="params"><dt>Parameters</dt><dd>
754 <table class="params">
755 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Execution window</td></tr>
759 <dl class="section return"><dt>Returns</dt><dd>Global work size of the given execution window </dd></dl>
761 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
765 <a class="anchor" id="ae5121015ab09ece4d470f50c7ffe198e"></a>
766 <div class="memitem">
767 <div class="memproto">
768 <table class="mlabels">
770 <td class="mlabels-left">
771 <table class="memname">
773 <td class="memname">cl::Kernel& kernel </td>
775 <td class="paramname"></td><td>)</td>
780 <td class="mlabels-right">
781 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
784 </div><div class="memdoc">
786 <p>Returns a reference to the OpenCL kernel of this object. </p>
787 <dl class="section return"><dt>Returns</dt><dd>A reference to the OpenCL kernel of this object. </dd></dl>
789 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00074">74</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
791 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00235">ICLKernel::get_target()</a>.</p>
792 <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> _kernel;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div></div><!-- fragment -->
795 <a class="anchor" id="a278f0e6c68ca17e71f4c4ff82f360aa0"></a>
796 <div class="memitem">
797 <div class="memproto">
798 <table class="mlabels">
800 <td class="mlabels-left">
801 <table class="memname">
803 <td class="memname">static constexpr unsigned int num_arguments_per_1D_array </td>
805 <td class="paramname"></td><td>)</td>
810 <td class="mlabels-right">
811 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
814 </div><div class="memdoc">
816 <p>Returns the number of arguments enqueued per 1D array object. </p>
817 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D array object. </dd></dl>
819 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00135">135</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
820 <div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">return</span> num_arguments_per_array<1>();</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  }</div></div><!-- fragment -->
823 <a class="anchor" id="a43b6c5e4b57069c5f61e96dff24c212d"></a>
824 <div class="memitem">
825 <div class="memproto">
826 <table class="mlabels">
828 <td class="mlabels-left">
829 <table class="memname">
831 <td class="memname">static constexpr unsigned int num_arguments_per_1D_tensor </td>
833 <td class="paramname"></td><td>)</td>
838 <td class="mlabels-right">
839 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
842 </div><div class="memdoc">
844 <p>Returns the number of arguments enqueued per 1D tensor object. </p>
845 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 1D tensor object. </dd></dl>
847 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00143">143</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
848 <div class="fragment"><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  {</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<1>();</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div></div><!-- fragment -->
851 <a class="anchor" id="a45601e0d46621a5b6f2e417d60e5c800"></a>
852 <div class="memitem">
853 <div class="memproto">
854 <table class="mlabels">
856 <td class="mlabels-left">
857 <table class="memname">
859 <td class="memname">static constexpr unsigned int num_arguments_per_2D_tensor </td>
861 <td class="paramname"></td><td>)</td>
866 <td class="mlabels-right">
867 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
870 </div><div class="memdoc">
872 <p>Returns the number of arguments enqueued per 2D tensor object. </p>
873 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 2D tensor object. </dd></dl>
875 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00151">151</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
876 <div class="fragment"><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<2>();</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  }</div></div><!-- fragment -->
879 <a class="anchor" id="a6c9c1e7a7d96743375ca40847f0f12e2"></a>
880 <div class="memitem">
881 <div class="memproto">
882 <table class="mlabels">
884 <td class="mlabels-left">
885 <table class="memname">
887 <td class="memname">static constexpr unsigned int num_arguments_per_3D_tensor </td>
889 <td class="paramname"></td><td>)</td>
894 <td class="mlabels-right">
895 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
898 </div><div class="memdoc">
900 <p>Returns the number of arguments enqueued per 3D tensor object. </p>
901 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 3D tensor object. </dd></dl>
903 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00159">159</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
904 <div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<3>();</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div></div><!-- fragment -->
907 <a class="anchor" id="a184fdf37587a9314cf12623accea6c73"></a>
908 <div class="memitem">
909 <div class="memproto">
910 <table class="mlabels">
912 <td class="mlabels-left">
913 <table class="memname">
915 <td class="memname">static constexpr unsigned int num_arguments_per_4D_tensor </td>
917 <td class="paramname"></td><td>)</td>
922 <td class="mlabels-right">
923 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
926 </div><div class="memdoc">
928 <p>Returns the number of arguments enqueued per 4D tensor object. </p>
929 <dl class="section return"><dt>Returns</dt><dd>The number of arguments enqueues per 4D tensor object. </dd></dl>
931 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00167">167</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
933 <p>References <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#af6a174d47571f51f199ffc27ecc10f51">ICLKernel::run()</a>, and <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>.</p>
934 <div class="fragment"><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> num_arguments_per_tensor<4>();</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div></div><!-- fragment -->
937 <a class="anchor" id="af6a174d47571f51f199ffc27ecc10f51"></a>
938 <div class="memitem">
939 <div class="memproto">
940 <table class="mlabels">
942 <td class="mlabels-left">
943 <table class="memname">
945 <td class="memname">virtual void run </td>
947 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
948 <td class="paramname"><em>window</em>, </td>
951 <td class="paramkey"></td>
953 <td class="paramtype">cl::CommandQueue & </td>
954 <td class="paramname"><em>queue</em> </td>
963 <td class="mlabels-right">
964 <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
967 </div><div class="memdoc">
969 <p>Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue. </p>
970 <dl class="section note"><dt>Note</dt><dd>The queue is <em>not</em> flushed by this method, and therefore the kernel will not have been executed by the time this method returns.</dd></dl>
971 <dl class="params"><dt>Parameters</dt><dd>
972 <table class="params">
973 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Region on which to execute the kernel. (Must be a valid region of the window returned by <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353" title="The maximum window the kernel can be executed on. ">window()</a>). </td></tr>
974 <tr><td class="paramdir">[in,out]</td><td class="paramname">queue</td><td>Command queue on which to enqueue the kernel. </td></tr>
979 <p>Implemented in <a class="el" href="classarm__compute_1_1_c_l_logits1_d_norm_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DNormKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_stage1_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerStage1Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_convolution_rectangle_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLConvolutionRectangleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_logits1_d_max_shift_exp_sum_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DMaxShiftExpSumKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_stage0_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerStage0Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_edge_trace_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLEdgeTraceKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_b_reduction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixBReductionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_copy_to_array_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLCopyToArrayKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_finalize_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerFinalizeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel5x5_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel5x5VertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel7x7_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel7x7VertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_block_normalization_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHOGBlockNormalizationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_location_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxLocationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_edge_non_max_suppression_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLEdgeNonMaxSuppressionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLIm2ColKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gaussian_pyramid_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGaussianPyramidVertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_histogram_border_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHistogramBorderKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_logits1_d_shift_exp_sum_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLogits1DShiftExpSumKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_batch_normalization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBatchNormalizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_transpose1x_w_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMTranspose1xWKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l_k_tracker_init_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLKTrackerInitKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_direct_convolution_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDirectConvolutionLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_quantize_down_int32_to_uint8_scale_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpQuantizeDownInt32ToUint8ScaleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_col2_im_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLCol2ImKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_quantize_down_int32_to_uint8_scale_by_fixed_point_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_offset_contribution_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpOffsetContributionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_a_reduction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixAReductionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_interleave4x4_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMInterleave4x4Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_color_convert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLColorConvertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_lowp_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMLowpMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_pixel_wise_multiplication_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPixelWiseMultiplicationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_direct_convolution_layer_output_stage_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDirectConvolutionLayerOutputStageKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_arithmetic_subtraction_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLArithmeticSubtractionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_scharr3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLScharr3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_arithmetic_addition_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLArithmeticAdditionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_channel_combine_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelCombineKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_detector_kernel.xhtml#ac8f1ca778b425c6408a93b672b041dd0">CLHOGDetectorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_harris_score_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHarrisScoreKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_pooling_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPoolingLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_activation_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLActivationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_deconvolution_layer_upsample_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDeconvolutionLayerUpsampleKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_fast_corners_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFastCornersKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_addition_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixAdditionKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_channel_extract_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLChannelExtractKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_fill_border_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFillBorderKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLWeightsReshapeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_normalization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLNormalizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_permute_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLPermuteKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_integral_image_vert_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLIntegralImageVertKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_r_o_i_pooling_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLROIPoolingLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depth_concatenate_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthConcatenateLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_magnitude_phase_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMagnitudePhaseKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_im2_col_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseIm2ColKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_accumulate_biases_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixAccumulateBiasesKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_mean_std_dev_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMeanStdDevKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_absolute_difference_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLAbsoluteDifferenceKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_vector_to_tensor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseVectorToTensorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_dequantization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDequantizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_h_o_g_orientation_binning_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHOGOrientationBinningKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_l2_normalize_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLL2NormalizeLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_quantization_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLQuantizationLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel5x5_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel5x5HorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel7x7_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel7x7HorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseWeightsReshapeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_derivative_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDerivativeKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_reduction_operation_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLReductionOperationKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_sobel3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLSobel3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_and_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseAndKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_or_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseOrKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_bitwise_xor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLBitwiseXorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_depthwise_convolution_layer3x3_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLDepthwiseConvolutionLayer3x3Kernel</a>, <a class="el" href="classarm__compute_1_1_c_l_locally_connected_matrix_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLLocallyConnectedMatrixMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_min_max_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLMinMaxKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_remap_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLRemapKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gradient_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGradientKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_gaussian_pyramid_hor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGaussianPyramidHorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_histogram_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLHistogramKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_reshape_layer_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLReshapeLayerKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_floor_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLFloorKernel</a>, <a class="el" href="classarm__compute_1_1_c_l_g_e_m_m_matrix_vector_multiply_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">CLGEMMMatrixVectorMultiplyKernel</a>, <a class="el" href="classarm__compute_1_1_i_c_l_simple3_d_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">ICLSimple3DKernel</a>, and <a class="el" href="classarm__compute_1_1_i_c_l_simple2_d_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">ICLSimple2DKernel</a>.</p>
981 <p>Referenced by <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00167">ICLKernel::num_arguments_per_4D_tensor()</a>.</p>
985 <a class="anchor" id="a44c701b9dbd01a171de4928254d1ecbf"></a>
986 <div class="memitem">
987 <div class="memproto">
988 <table class="mlabels">
990 <td class="mlabels-left">
991 <table class="memname">
993 <td class="memname">void set_lws_hint </td>
995 <td class="paramtype">cl::NDRange & </td>
996 <td class="paramname"><em>lws_hint</em></td><td>)</td>
1001 <td class="mlabels-right">
1002 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1005 </div><div class="memdoc">
1007 <p>Set the Local-Workgroup-Size hint. </p>
1008 <dl class="section note"><dt>Note</dt><dd>This method should be called after the configuration of the kernel</dd></dl>
1009 <dl class="params"><dt>Parameters</dt><dd>
1010 <table class="params">
1011 <tr><td class="paramdir">[in]</td><td class="paramname">lws_hint</td><td>Local-Workgroup-Size to use </td></tr>
1016 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00196">196</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1017 <div class="fragment"><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  {</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  _lws_hint = lws_hint;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  }</div></div><!-- fragment -->
1020 <a class="anchor" id="ad5ba9d34a3a855bf1dd2e36316ff550a"></a>
1021 <div class="memitem">
1022 <div class="memproto">
1023 <table class="mlabels">
1025 <td class="mlabels-left">
1026 <table class="memname">
1028 <td class="memname">void set_target </td>
1030 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a735ac6c2a02e320969625308810444f3">GPUTarget</a> </td>
1031 <td class="paramname"><em>target</em></td><td>)</td>
1036 <td class="mlabels-right">
1037 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
1040 </div><div class="memdoc">
1042 <p>Set the targeted GPU architecture. </p>
1043 <dl class="params"><dt>Parameters</dt><dd>
1044 <table class="params">
1045 <tr><td class="paramdir">[in]</td><td class="paramname">target</td><td>The targeted GPU architecture </td></tr>
1050 <p>Definition at line <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00220">220</a> of file <a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a>.</p>
1051 <div class="fragment"><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  _target = target;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div></div><!-- fragment -->
1054 <a class="anchor" id="a57e5f498fcbfc25c28b8496dfa3fc33c"></a>
1055 <div class="memitem">
1056 <div class="memproto">
1057 <table class="memname">
1059 <td class="memname">void set_target </td>
1061 <td class="paramtype">cl::Device & </td>
1062 <td class="paramname"><em>device</em></td><td>)</td>
1066 </div><div class="memdoc">
1068 <p>Set the targeted GPU architecture according to the CL device. </p>
1069 <dl class="params"><dt>Parameters</dt><dd>
1070 <table class="params">
1071 <tr><td class="paramdir">[in]</td><td class="paramname">device</td><td>A CL device </td></tr>
1078 <hr/>The documentation for this class was generated from the following file:<ul>
1079 <li>arm_compute/core/CL/<a class="el" href="_i_c_l_kernel_8h_source.xhtml">ICLKernel.h</a></li>
1081 </div><!-- contents -->
1082 </div><!-- doc-content -->
1083 <!-- start footer part -->
1084 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
1086 <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a></li>
1087 <li class="footer">Generated on Thu Feb 22 2018 15:45:24 for Compute Library by
1088 <a href="http://www.doxygen.org/index.html">
1089 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>