aboutsummaryrefslogtreecommitdiff
path: root/21.02/classarmnn_1_1_cl_tuned_parameters.xhtml
blob: fb00b9f290582e8957f5aba8dd8f2e5a3e4b81fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!-- Copyright (c) 2020 ARM Limited. -->
<!--                                 -->
<!-- SPDX-License-Identifier: MIT    -->
<!--                                 -->
<!-- HTML header for doxygen 1.8.13-->
<!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.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: ClTunedParameters Class 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);
</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" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.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: 10rem; margin-top: .5rem; margin-left 10px"/>
  <td style="padding-left: 0.5em;">
   <div id="projectname">
   &#160;<span id="projectnumber">21.02</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</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">
$(document).ready(function(){initNavTree('classarmnn_1_1_cl_tuned_parameters.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="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classarmnn_1_1_cl_tuned_parameters-members.xhtml">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ClTunedParameters Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ClTunedParameters:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classarmnn_1_1_cl_tuned_parameters.png" usemap="#ClTunedParameters_map" alt=""/>
  <map id="ClTunedParameters_map" name="ClTunedParameters_map">
<area href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml" title="Manages a set of GpuAcc parameters which have been tuned for maximum performance. ..." alt="IGpuAccTunedParameters" shape="rect" coords="0,0,160,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a73cc0aa02d5ea2b86e235fda9ecc643c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#a73cc0aa02d5ea2b86e235fda9ecc643c">ClTunedParameters</a> (<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">armnn::IGpuAccTunedParameters::Mode</a> mode, <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9a">armnn::IGpuAccTunedParameters::TuningLevel</a> tuningLevel)</td></tr>
<tr class="separator:a73cc0aa02d5ea2b86e235fda9ecc643c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a889d1f94053989d53d14a401d38cbe66"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#a889d1f94053989d53d14a401d38cbe66">Load</a> (const char *filename)</td></tr>
<tr class="memdesc:a889d1f94053989d53d14a401d38cbe66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads an existing set of tuned parameters from the given file.  <a href="#a889d1f94053989d53d14a401d38cbe66">More...</a><br /></td></tr>
<tr class="separator:a889d1f94053989d53d14a401d38cbe66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abba27f4c1828aae6b0103bf1bc093f2c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#abba27f4c1828aae6b0103bf1bc093f2c">Save</a> (const char *filename) const</td></tr>
<tr class="memdesc:abba27f4c1828aae6b0103bf1bc093f2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the current set of tuned parameters to the given file.  <a href="#abba27f4c1828aae6b0103bf1bc093f2c">More...</a><br /></td></tr>
<tr class="separator:abba27f4c1828aae6b0103bf1bc093f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a22f392e24a1f2155875e3063a7491e4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#a22f392e24a1f2155875e3063a7491e4d">m_Mode</a></td></tr>
<tr class="separator:a22f392e24a1f2155875e3063a7491e4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab277b661f23f9ff45b28027f47a126ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#ab277b661f23f9ff45b28027f47a126ef">m_TuningLevel</a></td></tr>
<tr class="separator:ab277b661f23f9ff45b28027f47a126ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6747d9aa587bd8b4ded70fbdcbe1d4a"><td class="memItemLeft" align="right" valign="top">arm_compute::CLTuner&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">m_Tuner</a></td></tr>
<tr class="separator:af6747d9aa587bd8b4ded70fbdcbe1d4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62ba3e64c27e46626d23ac9248f8b5fe"><td class="memItemLeft" align="right" valign="top">arm_compute::CLGEMMHeuristicsHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml#a62ba3e64c27e46626d23ac9248f8b5fe">m_HeuristicsHandle</a></td></tr>
<tr class="separator:a62ba3e64c27e46626d23ac9248f8b5fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml">IGpuAccTunedParameters</a></td></tr>
<tr class="memitem:a46c8a310cf4c094f8c80e1cb8dc1f911 inherit pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a> { <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911aa5094385565dc10dda530dcc17a1159b">UseTunedParameters</a>, 
<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911ac20468a4ef4b1707d13a1aea2ece6104">UpdateTunedParameters</a>
 }</td></tr>
<tr class="separator:a46c8a310cf4c094f8c80e1cb8dc1f911 inherit pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a707090747256af276c389e0cf1cb0a9a inherit pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> { <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9aab571ef5b2664270d25bea4f4b61ffe68">Rapid</a> = 0, 
<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9aa960b44c579bc2f6818d2daaf9e4c16f0">Normal</a> = 1, 
<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9aafaf34f09ea1e93bfbf591e19dc0dfb9f">Exhaustive</a> = 2
 }</td></tr>
<tr class="separator:a707090747256af276c389e0cf1cb0a9a inherit pub_types_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml">IGpuAccTunedParameters</a></td></tr>
<tr class="memitem:a2c9ba55e7d8c02cb8596149e4e94e009 inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a2c9ba55e7d8c02cb8596149e4e94e009">Destroy</a> (<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml">IGpuAccTunedParameters</a> *params)</td></tr>
<tr class="separator:a2c9ba55e7d8c02cb8596149e4e94e009 inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab5b1541a77a293348a19f5885a4245e inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml">IGpuAccTunedParameters</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#aab5b1541a77a293348a19f5885a4245e">CreateRaw</a> (<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a> mode, <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> tunerMode)</td></tr>
<tr class="memdesc:aab5b1541a77a293348a19f5885a4245e inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an IClTunedParameters with the given mode.  <a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#aab5b1541a77a293348a19f5885a4245e">More...</a><br /></td></tr>
<tr class="separator:aab5b1541a77a293348a19f5885a4245e inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44a119f8130b33053df7b48615729868 inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearmnn.xhtml#a2d3a708a26ac6d77bf8f15506e89a25a">IGpuAccTunedParametersPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a44a119f8130b33053df7b48615729868">Create</a> (<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a> mode, <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> tunerMode)</td></tr>
<tr class="separator:a44a119f8130b33053df7b48615729868 inherit pub_static_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml">IGpuAccTunedParameters</a></td></tr>
<tr class="memitem:a42b98f24092313b6a7673b54a3a84aa4 inherit pro_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a42b98f24092313b6a7673b54a3a84aa4">~IGpuAccTunedParameters</a> ()</td></tr>
<tr class="separator:a42b98f24092313b6a7673b54a3a84aa4 inherit pro_methods_classarmnn_1_1_i_gpu_acc_tuned_parameters"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00045">45</a> of file <a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a73cc0aa02d5ea2b86e235fda9ecc643c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73cc0aa02d5ea2b86e235fda9ecc643c">&#9670;&nbsp;</a></span>ClTunedParameters()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml">ClTunedParameters</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">armnn::IGpuAccTunedParameters::Mode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a707090747256af276c389e0cf1cb0a9a">armnn::IGpuAccTunedParameters::TuningLevel</a>&#160;</td>
          <td class="paramname"><em>tuningLevel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8cpp_source.xhtml#l00186">186</a> of file <a class="el" href="_cl_context_control_8cpp_source.xhtml">ClContextControl.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    : <a class="code" href="classarmnn_1_1_cl_tuned_parameters.xhtml#a22f392e24a1f2155875e3063a7491e4d">m_Mode</a>(mode)</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    , <a class="code" href="classarmnn_1_1_cl_tuned_parameters.xhtml#ab277b661f23f9ff45b28027f47a126ef">m_TuningLevel</a>(tuningLevel)</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    , <a class="code" href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">m_Tuner</a>(mode == <a class="code" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911ac20468a4ef4b1707d13a1aea2ece6104">ClTunedParameters::Mode::UpdateTunedParameters</a>)</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;{</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_cl_tuned_parameters_xhtml_af6747d9aa587bd8b4ded70fbdcbe1d4a"><div class="ttname"><a href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">armnn::ClTunedParameters::m_Tuner</a></div><div class="ttdeci">arm_compute::CLTuner m_Tuner</div><div class="ttdef"><b>Definition:</b> <a href="_cl_context_control_8hpp_source.xhtml#l00056">ClContextControl.hpp:56</a></div></div>
<div class="ttc" id="classarmnn_1_1_cl_tuned_parameters_xhtml_ab277b661f23f9ff45b28027f47a126ef"><div class="ttname"><a href="classarmnn_1_1_cl_tuned_parameters.xhtml#ab277b661f23f9ff45b28027f47a126ef">armnn::ClTunedParameters::m_TuningLevel</a></div><div class="ttdeci">TuningLevel m_TuningLevel</div><div class="ttdef"><b>Definition:</b> <a href="_cl_context_control_8hpp_source.xhtml#l00054">ClContextControl.hpp:54</a></div></div>
<div class="ttc" id="classarmnn_1_1_cl_tuned_parameters_xhtml_a22f392e24a1f2155875e3063a7491e4d"><div class="ttname"><a href="classarmnn_1_1_cl_tuned_parameters.xhtml#a22f392e24a1f2155875e3063a7491e4d">armnn::ClTunedParameters::m_Mode</a></div><div class="ttdeci">Mode m_Mode</div><div class="ttdef"><b>Definition:</b> <a href="_cl_context_control_8hpp_source.xhtml#l00053">ClContextControl.hpp:53</a></div></div>
<div class="ttc" id="classarmnn_1_1_i_gpu_acc_tuned_parameters_xhtml_a46c8a310cf4c094f8c80e1cb8dc1f911ac20468a4ef4b1707d13a1aea2ece6104"><div class="ttname"><a href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911ac20468a4ef4b1707d13a1aea2ece6104">armnn::IGpuAccTunedParameters::Mode::UpdateTunedParameters</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a889d1f94053989d53d14a401d38cbe66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a889d1f94053989d53d14a401d38cbe66">&#9670;&nbsp;</a></span>Load()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Load </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Loads an existing set of tuned parameters from the given file. </p>
<p>If there is an error loading the file, an <a class="el" href="classarmnn_1_1_exception.xhtml" title="Base class for all ArmNN exceptions so that users can filter to just those. ">armnn::Exception</a> is thrown. </p>

<p>Implements <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a45a36d69dc436c159d724481d5e9d34a">IGpuAccTunedParameters</a>.</p>

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8cpp_source.xhtml#l00194">194</a> of file <a class="el" href="_cl_context_control_8cpp_source.xhtml">ClContextControl.cpp</a>.</p>

<p class="reference">References <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00056">ClTunedParameters::m_Tuner</a>.</p>
<div class="fragment"><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;{</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">try</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    {</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <a class="code" href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">m_Tuner</a>.load_from_file(filename);</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    }</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e)</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    {</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.xhtml">armnn::Exception</a>(std::string(<span class="stringliteral">&quot;Failed to load tuned parameters file &#39;&quot;</span>) + filename + <span class="stringliteral">&quot;&#39;: &quot;</span> +</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                               e.what());</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    }</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_cl_tuned_parameters_xhtml_af6747d9aa587bd8b4ded70fbdcbe1d4a"><div class="ttname"><a href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">armnn::ClTunedParameters::m_Tuner</a></div><div class="ttdeci">arm_compute::CLTuner m_Tuner</div><div class="ttdef"><b>Definition:</b> <a href="_cl_context_control_8hpp_source.xhtml#l00056">ClContextControl.hpp:56</a></div></div>
<div class="ttc" id="classarmnn_1_1_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_exception.xhtml">armnn::Exception</a></div><div class="ttdoc">Base class for all ArmNN exceptions so that users can filter to just those. </div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00046">Exceptions.hpp:46</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="abba27f4c1828aae6b0103bf1bc093f2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abba27f4c1828aae6b0103bf1bc093f2c">&#9670;&nbsp;</a></span>Save()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Save </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the current set of tuned parameters to the given file. </p>
<p>If there is an error saving to the file, an <a class="el" href="classarmnn_1_1_exception.xhtml" title="Base class for all ArmNN exceptions so that users can filter to just those. ">armnn::Exception</a> is thrown. </p>

<p>Implements <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a11d846652618fd5fe876891076cc6a68">IGpuAccTunedParameters</a>.</p>

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8cpp_source.xhtml#l00207">207</a> of file <a class="el" href="_cl_context_control_8cpp_source.xhtml">ClContextControl.cpp</a>.</p>

<p class="reference">References <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00056">ClTunedParameters::m_Tuner</a>.</p>
<div class="fragment"><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;{</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keywordflow">try</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    {</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <a class="code" href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">m_Tuner</a>.save_to_file(filename);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;    }</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception&amp; e)</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;    {</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.xhtml">armnn::Exception</a>(std::string(<span class="stringliteral">&quot;Failed to save tuned parameters file to &#39;&quot;</span>) + filename + <span class="stringliteral">&quot;&#39;: &quot;</span> +</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                               e.what());</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    }</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_cl_tuned_parameters_xhtml_af6747d9aa587bd8b4ded70fbdcbe1d4a"><div class="ttname"><a href="classarmnn_1_1_cl_tuned_parameters.xhtml#af6747d9aa587bd8b4ded70fbdcbe1d4a">armnn::ClTunedParameters::m_Tuner</a></div><div class="ttdeci">arm_compute::CLTuner m_Tuner</div><div class="ttdef"><b>Definition:</b> <a href="_cl_context_control_8hpp_source.xhtml#l00056">ClContextControl.hpp:56</a></div></div>
<div class="ttc" id="classarmnn_1_1_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_exception.xhtml">armnn::Exception</a></div><div class="ttdoc">Base class for all ArmNN exceptions so that users can filter to just those. </div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00046">Exceptions.hpp:46</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a62ba3e64c27e46626d23ac9248f8b5fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62ba3e64c27e46626d23ac9248f8b5fe">&#9670;&nbsp;</a></span>m_HeuristicsHandle</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">arm_compute::CLGEMMHeuristicsHandle m_HeuristicsHandle</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00057">57</a> of file <a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>.</p>

</div>
</div>
<a id="a22f392e24a1f2155875e3063a7491e4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22f392e24a1f2155875e3063a7491e4d">&#9670;&nbsp;</a></span>m_Mode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.xhtml#a46c8a310cf4c094f8c80e1cb8dc1f911">Mode</a> m_Mode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00053">53</a> of file <a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>.</p>

</div>
</div>
<a id="af6747d9aa587bd8b4ded70fbdcbe1d4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6747d9aa587bd8b4ded70fbdcbe1d4a">&#9670;&nbsp;</a></span>m_Tuner</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">arm_compute::CLTuner m_Tuner</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00056">56</a> of file <a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="_cl_context_control_8cpp_source.xhtml#l00194">ClTunedParameters::Load()</a>, and <a class="el" href="_cl_context_control_8cpp_source.xhtml#l00207">ClTunedParameters::Save()</a>.</p>

</div>
</div>
<a id="ab277b661f23f9ff45b28027f47a126ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab277b661f23f9ff45b28027f47a126ef">&#9670;&nbsp;</a></span>m_TuningLevel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacearmnn.xhtml#a707090747256af276c389e0cf1cb0a9a">TuningLevel</a> m_TuningLevel</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_cl_context_control_8hpp_source.xhtml#l00054">54</a> of file <a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/backends/cl/<a class="el" href="_cl_context_control_8hpp_source.xhtml">ClContextControl.hpp</a></li>
<li>src/backends/cl/<a class="el" href="_cl_context_control_8cpp_source.xhtml">ClContextControl.cpp</a></li>
</ul>
</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="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_cl_tuned_parameters.xhtml">ClTunedParameters</a></li>
    <li class="footer">Generated on Fri Mar 19 2021 15:26:10 for ArmNN by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>