blob: 162ecc6f7b6eba15eaf69f41a5e33ecfcaf7e964 [file] [log] [blame]
<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.11"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: tests/benchmark/NEON/ConvolutionLayerDirect.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>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</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/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.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;">
<td style="padding-left: 0.5em;">
<div id="projectname">Compute Library
&#160;<span id="projectnumber">v17.06</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
<li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
<li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
<li class="current"><a href="files.xhtml"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.xhtml"><span>File&#160;List</span></a></li>
<li><a href="globals.xhtml"><span>Globals</span></a></li>
</ul>
</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">
$(document).ready(function(){initNavTree('benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml','');});
</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="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a> </div>
<div class="headertitle">
<div class="title">ConvolutionLayerDirect.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_globals_8h_source.xhtml">Globals.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_n_e_o_n_2_helper_8h_source.xhtml">NEON/Helper.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_n_e_accessor_8h_source.xhtml">NEON/NEAccessor.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_tensor_library_8h_source.xhtml">TensorLibrary.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="benchmark_2_datasets_8h_source.xhtml">benchmark/Datasets.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_profiler_8h_source.xhtml">benchmark/Profiler.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_wall_clock_timer_8h_source.xhtml">benchmark/WallClockTimer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_convolution_layer_dataset_8h_source.xhtml">dataset/ConvolutionLayerDataset.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml">arm_compute/core/Helpers.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">arm_compute/core/Types.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_n_e_direct_convolution_layer_8h_source.xhtml">arm_compute/runtime/NEON/functions/NEDirectConvolutionLayer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="arm__compute_2runtime_2_tensor_8h_source.xhtml">arm_compute/runtime/Tensor.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_tensor_allocator_8h_source.xhtml">arm_compute/runtime/TensorAllocator.h</a>&quot;</code><br />
<code>#include &quot;benchmark/benchmark_api.h&quot;</code><br />
<code>#include &quot;<a class="el" href="_convolution_layer_8h_source.xhtml">benchmark/common/ConvolutionLayer.h</a>&quot;</code><br />
</div>
<p><a href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp_source.xhtml">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a2efcca0888f62888ec4608ffa9b4534b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml#a2efcca0888f62888ec4608ffa9b4534b">Threads</a> (1) -&gt; Apply(DataSetArgBatched&lt; <a class="el" href="classarm__compute_1_1test_1_1_alex_net_convolution_layer_dataset.xhtml">AlexNetConvolutionLayerDataset</a>, 3, 1, 4, 8 &gt;)</td></tr>
<tr class="separator:a2efcca0888f62888ec4608ffa9b4534b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:af5df1344678ebbcc23857a8a93ccdf60"><td class="memItemLeft" align="right" valign="top">::benchmark::State &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a></td></tr>
<tr class="separator:af5df1344678ebbcc23857a8a93ccdf60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a2efcca0888f62888ec4608ffa9b4534b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Threads </td>
<td>(</td>
<td class="paramtype">1&#160;</td>
<td class="paramname"></td><td>)</td>
<td> -&gt; Apply(DataSetArgBatched&lt; <a class="el" href="classarm__compute_1_1test_1_1_alex_net_convolution_layer_dataset.xhtml">AlexNetConvolutionLayerDataset</a>, 3, 1, 4, 8 &gt;)</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="af5df1344678ebbcc23857a8a93ccdf60"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">::benchmark::State&amp; state</td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">{</div><div class="line"> <span class="keywordflow">while</span>(<a class="code" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a>.KeepRunning())</div><div class="line"> {</div><div class="line"> </div><div class="line"> profiler.start();</div><div class="line"> conv_layer-&gt;run();</div><div class="line"> profiler.stop();</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line">-&gt;Threads(1)</div><div class="line">-&gt;Apply(DataSetArgBatched&lt;AlexNetConvolutionLayerDataset, 2, 1, 4, 8&gt;)</div><div class="ttc" id="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp_xhtml_af5df1344678ebbcc23857a8a93ccdf60"><div class="ttname"><a href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a></div><div class="ttdeci">::benchmark::State &amp; state</div><div class="ttdef"><b>Definition:</b> <a href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp_source.xhtml#l00055">ConvolutionLayerDirect.cpp:55</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp_source.xhtml#l00055">55</a> of file <a class="el" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp_source.xhtml">ConvolutionLayerDirect.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_59425e443f801f1f2fd8bbe4959a3ccf.xhtml">tests</a></li><li class="navelem"><a class="el" href="dir_4f2df8950dc650bf7cf9176fae02facc.xhtml">benchmark</a></li><li class="navelem"><a class="el" href="dir_ec05701f68bea22653d08da5856c9ffc.xhtml">NEON</a></li><li class="navelem"><a class="el" href="benchmark_2_n_e_o_n_2_convolution_layer_direct_8cpp.xhtml">ConvolutionLayerDirect.cpp</a></li>
<li class="footer">Generated on Fri Jun 23 2017 15:44:34 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>