blob: d614007cabfbe4b0d31e09ef845844b069fd6942 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.17-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arm NN: src/backends/cl/ClLayerSupport.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/>
<td id="projectalign" style="padding-left: 0.9em;">
<div id="projectname">
&#160;<span id="projectnumber">24.05</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_cl_layer_support_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">ClLayerSupport.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_cl_layer_support_8hpp_source.html">ClLayerSupport.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_backend_id_8hpp_source.html">ClBackendId.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_backend_model_context_8hpp_source.html">ClBackendModelContext.hpp</a>&quot;</code><br />
<code>#include &lt;<a class="el" href="_backend_registry_8hpp_source.html">armnn/BackendRegistry.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_internal_types_8hpp_source.html">InternalTypes.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_layer_support_common_8hpp_source.html">LayerSupportCommon.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_ignore_unused_8hpp_source.html">armnn/utility/IgnoreUnused.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_polymorphic_downcast_8hpp_source.html">armnn/utility/PolymorphicDowncast.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_arm_compute_utils_8hpp_source.html">aclCommon/ArmComputeUtils.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_arm_compute_tensor_utils_8hpp_source.html">aclCommon/ArmComputeTensorUtils.hpp</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="_workload_utils_8hpp_source.html">backendsCommon/WorkloadUtils.hpp</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="_cl_abs_workload_8hpp_source.html">workloads/ClAbsWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_addition_workload_8hpp_source.html">workloads/ClAdditionWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_activation_workload_8hpp_source.html">workloads/ClActivationWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_arg_min_max_workload_8hpp_source.html">workloads/ClArgMinMaxWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_batch_mat_mul_workload_8hpp_source.html">workloads/ClBatchMatMulWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_batch_normalization_float_workload_8hpp_source.html">workloads/ClBatchNormalizationFloatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_batch_to_space_nd_workload_8hpp_source.html">workloads/ClBatchToSpaceNdWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_cast_workload_8hpp_source.html">workloads/ClCastWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_channel_shuffle_workload_8hpp_source.html">workloads/ClChannelShuffleWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_comparison_workload_8hpp_source.html">workloads/ClComparisonWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_constant_workload_8hpp_source.html">workloads/ClConstantWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_convert_fp16_to_fp32_workload_8hpp_source.html">workloads/ClConvertFp16ToFp32Workload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_convert_fp32_to_fp16_workload_8hpp_source.html">workloads/ClConvertFp32ToFp16Workload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_convolution2d_workload_8hpp_source.html">workloads/ClConvolution2dWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_convolution3d_workload_8hpp_source.html">workloads/ClConvolution3dWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_depth_to_space_workload_8hpp_source.html">workloads/ClDepthToSpaceWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">workloads/ClDepthwiseConvolutionWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_dequantize_workload_8hpp_source.html">workloads/ClDequantizeWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_division_workload_8hpp_source.html">workloads/ClDivisionWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_elementwise_binary_workload_8hpp_source.html">workloads/ClElementwiseBinaryWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_exp_workload_8hpp_source.html">workloads/ClExpWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_fill_workload_8hpp_source.html">workloads/ClFillWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_floor_float_workload_8hpp_source.html">workloads/ClFloorFloatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_fully_connected_workload_8hpp_source.html">workloads/ClFullyConnectedWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_gather_workload_8hpp_source.html">workloads/ClGatherWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_gather_nd_workload_8hpp_source.html">workloads/ClGatherNdWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_instance_normalization_workload_8hpp_source.html">workloads/ClInstanceNormalizationWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_l2_normalization_float_workload_8hpp_source.html">workloads/ClL2NormalizationFloatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_log_workload_8hpp_source.html">workloads/ClLogWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_log_softmax_workload_8hpp_source.html">workloads/ClLogSoftmaxWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_logical_and_workload_8hpp_source.html">workloads/ClLogicalAndWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_logical_not_workload_8hpp_source.html">workloads/ClLogicalNotWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_logical_or_workload_8hpp_source.html">workloads/ClLogicalOrWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_lstm_float_workload_8hpp_source.html">workloads/ClLstmFloatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_maximum_workload_8hpp_source.html">workloads/ClMaximumWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_mean_workload_8hpp_source.html">workloads/ClMeanWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_concat_workload_8hpp_source.html">workloads/ClConcatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_minimum_workload_8hpp_source.html">workloads/ClMinimumWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_multiplication_workload_8hpp_source.html">workloads/ClMultiplicationWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_neg_workload_8hpp_source.html">workloads/ClNegWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_normalization_float_workload_8hpp_source.html">workloads/ClNormalizationFloatWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_pad_workload_8hpp_source.html">workloads/ClPadWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_permute_workload_8hpp_source.html">workloads/ClPermuteWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_pooling2d_workload_8hpp_source.html">workloads/ClPooling2dWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_pooling3d_workload_8hpp_source.html">workloads/ClPooling3dWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_prelu_workload_8hpp_source.html">workloads/ClPreluWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_q_lstm_workload_8hpp_source.html">workloads/ClQLstmWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_quantized_lstm_workload_8hpp_source.html">workloads/ClQuantizedLstmWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_quantize_workload_8hpp_source.html">workloads/ClQuantizeWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_reduce_workload_8hpp_source.html">workloads/ClReduceWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_reshape_workload_8hpp_source.html">workloads/ClReshapeWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_resize_workload_8hpp_source.html">workloads/ClResizeWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_reverse_v2_workload_8hpp_source.html">workloads/ClReverseV2Workload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_rsqrt_workload_8hpp_source.html">workloads/ClRsqrtWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_scatter_nd_workload_8hpp_source.html">workloads/ClScatterNdWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_sin_workload_8hpp_source.html">workloads/ClSinWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_slice_workload_8hpp_source.html">workloads/ClSliceWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_softmax_workload_8hpp_source.html">workloads/ClSoftmaxWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_space_to_batch_nd_workload_8hpp_source.html">workloads/ClSpaceToBatchNdWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_space_to_depth_workload_8hpp_source.html">workloads/ClSpaceToDepthWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_splitter_workload_8hpp_source.html">workloads/ClSplitterWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_sqrt_workload_8hpp_source.html">workloads/ClSqrtWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_stack_workload_8hpp_source.html">workloads/ClStackWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_strided_slice_workload_8hpp_source.html">workloads/ClStridedSliceWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_subtraction_workload_8hpp_source.html">workloads/ClSubtractionWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_tile_workload_8hpp_source.html">workloads/ClTileWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_transpose_convolution2d_workload_8hpp_source.html">workloads/ClTransposeConvolution2dWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_transpose_workload_8hpp_source.html">workloads/ClTransposeWorkload.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_cl_unidirectional_sequence_lstm_float_workload_8hpp_source.html">workloads/ClUnidirectionalSequenceLstmFloatWorkload.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for ClLayerSupport.cpp:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="_cl_layer_support_8cpp__incl.svg" width="18391" height="1095"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
<p><a href="_cl_layer_support_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<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>
<tr class="memdesc:namespacearmnn"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copyright (c) 2021 ARM Limited and Contributors. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<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>
<tr class="separator:a5cced62cc843be3b7f0614fc73d2c93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<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>
<tr class="separator:af0383f6bb43d6d5df6f3265367b6ebf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a5cced62cc843be3b7f0614fc73d2c93b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5cced62cc843be3b7f0614fc73d2c93b">&#9670;&nbsp;</a></span>FORWARD_CL_LAYER_SUPPORT_FUNC</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FORWARD_CL_LAYER_SUPPORT_FUNC</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">expr</td><td>)</td>
<td>&#160;&#160;&#160;(expr)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_cl_layer_support_8cpp_source.html#l00135">135</a> of file <a class="el" href="_cl_layer_support_8cpp_source.html">ClLayerSupport.cpp</a>.</p>
</div>
</div>
<a id="af0383f6bb43d6d5df6f3265367b6ebf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0383f6bb43d6d5df6f3265367b6ebf9">&#9670;&nbsp;</a></span>FORWARD_WORKLOAD_VALIDATE_FUNC</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define FORWARD_WORKLOAD_VALIDATE_FUNC</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">func, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">reasonIfUnsupported, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname"><em>...</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td>&#160;&#160;&#160;return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__);</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_cl_layer_support_8cpp_source.html#l00153">153</a> of file <a class="el" href="_cl_layer_support_8cpp_source.html">ClLayerSupport.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<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>
<li class="footer">Generated on Thu May 16 2024 09:31:52 for Arm NN by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>