blob: 8ff1b0e6d2116fae96c979537f805f3c2ca01778 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.13"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>ArmNN: src/backends/cl/ClLayerSupport.cpp File Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="navtree.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="resize.js"></script>
14<script type="text/javascript" src="navtreedata.js"></script>
15<script type="text/javascript" src="navtree.js"></script>
16<script type="text/javascript">
17 $(document).ready(initResizable);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<link href="doxygen.css" rel="stylesheet" type="text/css" />
23</head>
24<body>
25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26<div id="titlearea">
27<table cellspacing="0" cellpadding="0">
28 <tbody>
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32 &#160;<span id="projectnumber">NotReleased</span>
33 </div>
34 </td>
35 </tr>
36 </tbody>
37</table>
38</div>
39<!-- end header part -->
40<!-- Generated by Doxygen 1.8.13 -->
41<script type="text/javascript">
42var searchBox = new SearchBox("searchBox", "search",false,'Search');
43</script>
44<script type="text/javascript" src="menudata.js"></script>
45<script type="text/javascript" src="menu.js"></script>
46<script type="text/javascript">
47$(function() {
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
50});
51</script>
52<div id="main-nav"></div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55 <div id="nav-tree">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
58 </div>
59 </div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
62 </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('_cl_layer_support_8cpp.html','');});
66</script>
67<div id="doc-content">
68<!-- window showing the filter options -->
69<div id="MSearchSelectWindow"
70 onmouseover="return searchBox.OnSearchSelectShow()"
71 onmouseout="return searchBox.OnSearchSelectHide()"
72 onkeydown="return searchBox.OnSearchSelectKey(event)">
73</div>
74
75<!-- iframe showing the search results (closed by default) -->
76<div id="MSearchResultsWindow">
77<iframe src="javascript:void(0)" frameborder="0"
78 name="MSearchResults" id="MSearchResults">
79</iframe>
80</div>
81
82<div class="header">
83 <div class="summary">
84<a href="#namespaces">Namespaces</a> &#124;
85<a href="#define-members">Macros</a> </div>
86 <div class="headertitle">
87<div class="title">ClLayerSupport.cpp File Reference</div> </div>
88</div><!--header-->
89<div class="contents">
90<div class="textblock"><code>#include &quot;<a class="el" href="_cl_layer_support_8hpp_source.html">ClLayerSupport.hpp</a>&quot;</code><br />
91<code>#include &quot;<a class="el" href="_cl_backend_id_8hpp_source.html">ClBackendId.hpp</a>&quot;</code><br />
92<code>#include &lt;<a class="el" href="_descriptors_8hpp_source.html">armnn/Descriptors.hpp</a>&gt;</code><br />
93<code>#include &lt;<a class="el" href="_backend_registry_8hpp_source.html">armnn/BackendRegistry.hpp</a>&gt;</code><br />
94<code>#include &lt;<a class="el" href="_internal_types_8hpp_source.html">InternalTypes.hpp</a>&gt;</code><br />
95<code>#include &lt;<a class="el" href="_layer_support_common_8hpp_source.html">LayerSupportCommon.hpp</a>&gt;</code><br />
96<code>#include &lt;boost/core/ignore_unused.hpp&gt;</code><br />
97<code>#include &lt;<a class="el" href="_arm_compute_utils_8hpp_source.html">aclCommon/ArmComputeUtils.hpp</a>&gt;</code><br />
98<code>#include &lt;<a class="el" href="_arm_compute_tensor_utils_8hpp_source.html">aclCommon/ArmComputeTensorUtils.hpp</a>&gt;</code><br />
99<code>#include &quot;<a class="el" href="_cl_abs_workload_8hpp_source.html">workloads/ClAbsWorkload.hpp</a>&quot;</code><br />
100<code>#include &quot;<a class="el" href="_cl_addition_workload_8hpp_source.html">workloads/ClAdditionWorkload.hpp</a>&quot;</code><br />
101<code>#include &quot;<a class="el" href="_cl_activation_workload_8hpp_source.html">workloads/ClActivationWorkload.hpp</a>&quot;</code><br />
102<code>#include &quot;<a class="el" href="_cl_arg_min_max_workload_8hpp_source.html">workloads/ClArgMinMaxWorkload.hpp</a>&quot;</code><br />
103<code>#include &quot;<a class="el" href="_cl_batch_normalization_float_workload_8hpp_source.html">workloads/ClBatchNormalizationFloatWorkload.hpp</a>&quot;</code><br />
104<code>#include &quot;<a class="el" href="_cl_batch_to_space_nd_workload_8hpp_source.html">workloads/ClBatchToSpaceNdWorkload.hpp</a>&quot;</code><br />
105<code>#include &quot;<a class="el" href="_cl_convert_fp16_to_fp32_workload_8hpp_source.html">workloads/ClConvertFp16ToFp32Workload.hpp</a>&quot;</code><br />
106<code>#include &quot;<a class="el" href="_cl_convert_fp32_to_fp16_workload_8hpp_source.html">workloads/ClConvertFp32ToFp16Workload.hpp</a>&quot;</code><br />
107<code>#include &quot;<a class="el" href="_cl_convolution2d_workload_8hpp_source.html">workloads/ClConvolution2dWorkload.hpp</a>&quot;</code><br />
108<code>#include &quot;<a class="el" href="_cl_depth_to_space_workload_8hpp_source.html">workloads/ClDepthToSpaceWorkload.hpp</a>&quot;</code><br />
109<code>#include &quot;<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">workloads/ClDepthwiseConvolutionWorkload.hpp</a>&quot;</code><br />
110<code>#include &quot;<a class="el" href="_cl_dequantize_workload_8hpp_source.html">workloads/ClDequantizeWorkload.hpp</a>&quot;</code><br />
111<code>#include &quot;<a class="el" href="_cl_division_float_workload_8hpp_source.html">workloads/ClDivisionFloatWorkload.hpp</a>&quot;</code><br />
112<code>#include &quot;<a class="el" href="_cl_floor_float_workload_8hpp_source.html">workloads/ClFloorFloatWorkload.hpp</a>&quot;</code><br />
113<code>#include &quot;<a class="el" href="_cl_fully_connected_workload_8hpp_source.html">workloads/ClFullyConnectedWorkload.hpp</a>&quot;</code><br />
114<code>#include &quot;<a class="el" href="_cl_greater_workload_8hpp_source.html">workloads/ClGreaterWorkload.hpp</a>&quot;</code><br />
115<code>#include &quot;<a class="el" href="_cl_instance_normalization_workload_8hpp_source.html">workloads/ClInstanceNormalizationWorkload.hpp</a>&quot;</code><br />
116<code>#include &quot;<a class="el" href="_cl_l2_normalization_float_workload_8hpp_source.html">workloads/ClL2NormalizationFloatWorkload.hpp</a>&quot;</code><br />
117<code>#include &quot;<a class="el" href="_cl_lstm_float_workload_8hpp_source.html">workloads/ClLstmFloatWorkload.hpp</a>&quot;</code><br />
118<code>#include &quot;<a class="el" href="_cl_maximum_workload_8hpp_source.html">workloads/ClMaximumWorkload.hpp</a>&quot;</code><br />
119<code>#include &quot;<a class="el" href="_cl_mean_workload_8hpp_source.html">workloads/ClMeanWorkload.hpp</a>&quot;</code><br />
120<code>#include &quot;<a class="el" href="_cl_concat_workload_8hpp_source.html">workloads/ClConcatWorkload.hpp</a>&quot;</code><br />
121<code>#include &quot;<a class="el" href="_cl_minimum_workload_8hpp_source.html">workloads/ClMinimumWorkload.hpp</a>&quot;</code><br />
122<code>#include &quot;<a class="el" href="_cl_multiplication_workload_8hpp_source.html">workloads/ClMultiplicationWorkload.hpp</a>&quot;</code><br />
123<code>#include &quot;<a class="el" href="_cl_normalization_float_workload_8hpp_source.html">workloads/ClNormalizationFloatWorkload.hpp</a>&quot;</code><br />
124<code>#include &quot;<a class="el" href="_cl_pad_workload_8hpp_source.html">workloads/ClPadWorkload.hpp</a>&quot;</code><br />
125<code>#include &quot;<a class="el" href="_cl_permute_workload_8hpp_source.html">workloads/ClPermuteWorkload.hpp</a>&quot;</code><br />
126<code>#include &quot;<a class="el" href="_cl_pooling2d_workload_8hpp_source.html">workloads/ClPooling2dWorkload.hpp</a>&quot;</code><br />
127<code>#include &quot;<a class="el" href="_cl_prelu_workload_8hpp_source.html">workloads/ClPreluWorkload.hpp</a>&quot;</code><br />
128<code>#include &quot;<a class="el" href="_cl_reshape_workload_8hpp_source.html">workloads/ClReshapeWorkload.hpp</a>&quot;</code><br />
129<code>#include &quot;<a class="el" href="_cl_resize_workload_8hpp_source.html">workloads/ClResizeWorkload.hpp</a>&quot;</code><br />
130<code>#include &quot;<a class="el" href="_cl_rsqrt_workload_8hpp_source.html">workloads/ClRsqrtWorkload.hpp</a>&quot;</code><br />
131<code>#include &quot;<a class="el" href="_cl_quantized_lstm_workload_8hpp_source.html">workloads/ClQuantizedLstmWorkload.hpp</a>&quot;</code><br />
132<code>#include &quot;<a class="el" href="_cl_quantize_workload_8hpp_source.html">workloads/ClQuantizeWorkload.hpp</a>&quot;</code><br />
133<code>#include &quot;<a class="el" href="_cl_slice_workload_8hpp_source.html">workloads/ClSliceWorkload.hpp</a>&quot;</code><br />
134<code>#include &quot;<a class="el" href="_cl_softmax_base_workload_8hpp_source.html">workloads/ClSoftmaxBaseWorkload.hpp</a>&quot;</code><br />
135<code>#include &quot;<a class="el" href="_cl_space_to_batch_nd_workload_8hpp_source.html">workloads/ClSpaceToBatchNdWorkload.hpp</a>&quot;</code><br />
136<code>#include &quot;<a class="el" href="_cl_space_to_depth_workload_8hpp_source.html">workloads/ClSpaceToDepthWorkload.hpp</a>&quot;</code><br />
137<code>#include &quot;<a class="el" href="_cl_splitter_workload_8hpp_source.html">workloads/ClSplitterWorkload.hpp</a>&quot;</code><br />
138<code>#include &quot;<a class="el" href="_cl_stack_workload_8hpp_source.html">workloads/ClStackWorkload.hpp</a>&quot;</code><br />
139<code>#include &quot;<a class="el" href="_cl_strided_slice_workload_8hpp_source.html">workloads/ClStridedSliceWorkload.hpp</a>&quot;</code><br />
140<code>#include &quot;<a class="el" href="_cl_subtraction_workload_8hpp_source.html">workloads/ClSubtractionWorkload.hpp</a>&quot;</code><br />
141<code>#include &quot;<a class="el" href="_cl_transpose_convolution2d_workload_8hpp_source.html">workloads/ClTransposeConvolution2dWorkload.hpp</a>&quot;</code><br />
142</div>
143<p><a href="_cl_layer_support_8cpp_source.html">Go to the source code of this file.</a></p>
144<table class="memberdecls">
145<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
146Namespaces</h2></td></tr>
147<tr class="memitem:namespacearmnn"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearmnn.html">armnn</a></td></tr>
148<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
149</table><table class="memberdecls">
150<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
151Macros</h2></td></tr>
152<tr class="memitem:a5cced62cc843be3b7f0614fc73d2c93b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_8cpp.html#a5cced62cc843be3b7f0614fc73d2c93b">FORWARD_CL_LAYER_SUPPORT_FUNC</a>(expr)&#160;&#160;&#160;(expr)</td></tr>
153<tr class="separator:a5cced62cc843be3b7f0614fc73d2c93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<tr class="memitem:af0383f6bb43d6d5df6f3265367b6ebf9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_cl_layer_support_8cpp.html#af0383f6bb43d6d5df6f3265367b6ebf9">FORWARD_WORKLOAD_VALIDATE_FUNC</a>(func, reasonIfUnsupported, ...)&#160;&#160;&#160;return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__);</td></tr>
155<tr class="separator:af0383f6bb43d6d5df6f3265367b6ebf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
156</table>
157<h2 class="groupheader">Macro Definition Documentation</h2>
158<a id="a5cced62cc843be3b7f0614fc73d2c93b"></a>
159<h2 class="memtitle"><span class="permalink"><a href="#a5cced62cc843be3b7f0614fc73d2c93b">&#9670;&nbsp;</a></span>FORWARD_CL_LAYER_SUPPORT_FUNC</h2>
160
161<div class="memitem">
162<div class="memproto">
163 <table class="memname">
164 <tr>
165 <td class="memname">#define FORWARD_CL_LAYER_SUPPORT_FUNC</td>
166 <td>(</td>
167 <td class="paramtype">&#160;</td>
168 <td class="paramname">expr</td><td>)</td>
169 <td>&#160;&#160;&#160;(expr)</td>
170 </tr>
171 </table>
172</div><div class="memdoc">
173
174<p class="definition">Definition at line <a class="el" href="_cl_layer_support_8cpp_source.html#l00108">108</a> of file <a class="el" href="_cl_layer_support_8cpp_source.html">ClLayerSupport.cpp</a>.</p>
175
176</div>
177</div>
178<a id="af0383f6bb43d6d5df6f3265367b6ebf9"></a>
179<h2 class="memtitle"><span class="permalink"><a href="#af0383f6bb43d6d5df6f3265367b6ebf9">&#9670;&nbsp;</a></span>FORWARD_WORKLOAD_VALIDATE_FUNC</h2>
180
181<div class="memitem">
182<div class="memproto">
183 <table class="memname">
184 <tr>
185 <td class="memname">#define FORWARD_WORKLOAD_VALIDATE_FUNC</td>
186 <td>(</td>
187 <td class="paramtype">&#160;</td>
188 <td class="paramname">func, </td>
189 </tr>
190 <tr>
191 <td class="paramkey"></td>
192 <td></td>
193 <td class="paramtype">&#160;</td>
194 <td class="paramname">reasonIfUnsupported, </td>
195 </tr>
196 <tr>
197 <td class="paramkey"></td>
198 <td></td>
199 <td class="paramtype">&#160;</td>
200 <td class="paramname"><em>...</em>&#160;</td>
201 </tr>
202 <tr>
203 <td></td>
204 <td>)</td>
205 <td></td><td>&#160;&#160;&#160;return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__);</td>
206 </tr>
207 </table>
208</div><div class="memdoc">
209
210<p class="definition">Definition at line <a class="el" href="_cl_layer_support_8cpp_source.html#l00126">126</a> of file <a class="el" href="_cl_layer_support_8cpp_source.html">ClLayerSupport.cpp</a>.</p>
211
212<p class="reference">Referenced by <a class="el" href="_cl_layer_support_8cpp_source.html#l00160">ClLayerSupport::IsActivationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00172">ClLayerSupport::IsAdditionSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00184">ClLayerSupport::IsArgMinMaxSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00197">ClLayerSupport::IsBatchNormalizationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00217">ClLayerSupport::IsBatchToSpaceNdSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00229">ClLayerSupport::IsComparisonSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00247">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00297">ClLayerSupport::IsConvertFp16ToFp32Supported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00307">ClLayerSupport::IsConvertFp32ToFp16Supported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00317">ClLayerSupport::IsConvolution2dSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00343">ClLayerSupport::IsDepthToSpaceSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00355">ClLayerSupport::IsDepthwiseConvolutionSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00333">ClLayerSupport::IsDequantizeSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00371">ClLayerSupport::IsDilatedDepthwiseConvolutionSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00388">ClLayerSupport::IsDivisionSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00400">ClLayerSupport::IsElementwiseUnarySupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00423">ClLayerSupport::IsFloorSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00433">ClLayerSupport::IsFullyConnectedSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00464">ClLayerSupport::IsInstanceNormalizationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00476">ClLayerSupport::IsL2NormalizationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00488">ClLayerSupport::IsLstmSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00512">ClLayerSupport::IsMaximumSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00524">ClLayerSupport::IsMeanSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00544">ClLayerSupport::IsMinimumSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00556">ClLayerSupport::IsMultiplicationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00568">ClLayerSupport::IsNormalizationSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00582">ClLayerSupport::IsPadSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00594">ClLayerSupport::IsPermuteSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00602">ClLayerSupport::IsPooling2dSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00610">ClLayerSupport::IsPreluSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00618">ClLayerSupport::IsQuantizedLstmSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00636">ClLayerSupport::IsQuantizeSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00646">ClLayerSupport::IsReshapeSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00655">ClLayerSupport::IsResizeSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00686">ClLayerSupport::IsSliceSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00694">ClLayerSupport::IsSoftmaxSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00702">ClLayerSupport::IsSpaceToBatchNdSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00714">ClLayerSupport::IsSpaceToDepthSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00737">ClLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00770">ClLayerSupport::IsStackSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00782">ClLayerSupport::IsStridedSliceSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00794">ClLayerSupport::IsSubtractionSupported()</a>, and <a class="el" href="_cl_layer_support_8cpp_source.html#l00806">ClLayerSupport::IsTransposeConvolution2dSupported()</a>.</p>
213
214</div>
215</div>
216</div><!-- contents -->
217</div><!-- doc-content -->
218<!-- start footer part -->
219<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
220 <ul>
221 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_1ad86c6d39ab715a831555571b9e98a5.html">cl</a></li><li class="navelem"><a class="el" href="_cl_layer_support_8cpp.html">ClLayerSupport.cpp</a></li>
222 <li class="footer">Generated on Fri Mar 13 2020 16:07:00 for ArmNN by
223 <a href="http://www.doxygen.org/index.html">
224 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
225 </ul>
226</div>
227</body>
228</html>