blob: 4fb74e3f7869ab4d1fef535be54b6d96004007bd [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: IRuntime::CreationOptions Struct 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('structarmnn_1_1_i_runtime_1_1_creation_options.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="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structarmnn_1_1_i_runtime_1_1_creation_options-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRuntime::CreationOptions Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRuntime::CreationOptions:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="structarmnn_1_1_i_runtime_1_1_creation_options__coll__graph.svg" width="236" height="127"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">ExternalProfilingOptions</a></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="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a899860966ff7a5d7901e5b33bcad88fd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a899860966ff7a5d7901e5b33bcad88fd">CreationOptions</a> ()</td></tr>
<tr class="separator:a899860966ff7a5d7901e5b33bcad88fd"><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:a515d755116f35e5b3ab30b7a78a712f1"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">m_GpuAccTunedParameters</a></td></tr>
<tr class="memdesc:a515d755116f35e5b3ab30b7a78a712f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">More...</a><br /></td></tr>
<tr class="separator:a515d755116f35e5b3ab30b7a78a712f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fe8c3eadf4f4f9c0c664a24a2a298f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">m_EnableGpuProfiling</a></td></tr>
<tr class="memdesc:a2fe8c3eadf4f4f9c0c664a24a2a298f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting this flag will allow the user to obtain GPU profiling information from the runtime. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">More...</a><br /></td></tr>
<tr class="separator:a2fe8c3eadf4f4f9c0c664a24a2a298f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae43cf4b5df0068ee6a9151c98947248b"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">m_DynamicBackendsPath</a></td></tr>
<tr class="memdesc:ae43cf4b5df0068ee6a9151c98947248b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive Only a single path is allowed for the override It defines the path to search for any <a class="el" href="md_src_dynamic__r_e_a_d_m_e.html">dynamic backend libraries</a>. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">More...</a><br /></td></tr>
<tr class="separator:ae43cf4b5df0068ee6a9151c98947248b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad89c99e4063390ba824022c60b885561"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">m_ProtectedMode</a></td></tr>
<tr class="memdesc:ad89c99e4063390ba824022c60b885561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Setting this flag will allow the user to create the Runtime in protected mode. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">More...</a><br /></td></tr>
<tr class="separator:ad89c99e4063390ba824022c60b885561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939528f239e70c85f833c87c5fe41d83"><td class="memItemLeft" align="right" valign="top">std::map&lt; <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, std::shared_ptr&lt; <a class="el" href="classarmnn_1_1_i_custom_allocator.html">ICustomAllocator</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">m_CustomAllocatorMap</a></td></tr>
<tr class="memdesc:a939528f239e70c85f833c87c5fe41d83"><td class="mdescLeft">&#160;</td><td class="mdescRight">A map to define a custom memory allocator for specific backend Ids. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">More...</a><br /></td></tr>
<tr class="separator:a939528f239e70c85f833c87c5fe41d83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e8601cb2ffa03a83dbfae67b598ba4e"><td class="memItemLeft" align="right" valign="top">std::map&lt; <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, std::shared_ptr&lt; <a class="el" href="classarmnn_1_1_i_memory_optimizer_strategy.html">IMemoryOptimizerStrategy</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">m_MemoryOptimizerStrategyMap</a></td></tr>
<tr class="memdesc:a6e8601cb2ffa03a83dbfae67b598ba4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A map to define a custom memory optimizer strategy for specific backend Ids. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">More...</a><br /></td></tr>
<tr class="separator:a6e8601cb2ffa03a83dbfae67b598ba4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30412a91cadff138686eaeb12f5357cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">ExternalProfilingOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a30412a91cadff138686eaeb12f5357cc">m_ProfilingOptions</a></td></tr>
<tr class="separator:a30412a91cadff138686eaeb12f5357cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecebc69597fe0d38a3964031c6eeb0a8"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structarmnn_1_1_backend_options.html">BackendOptions</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#aecebc69597fe0d38a3964031c6eeb0a8">m_BackendOptions</a></td></tr>
<tr class="memdesc:aecebc69597fe0d38a3964031c6eeb0a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pass backend specific options. <a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#aecebc69597fe0d38a3964031c6eeb0a8">More...</a><br /></td></tr>
<tr class="separator:aecebc69597fe0d38a3964031c6eeb0a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_async_execution_sample_8cpp-example.html#_a19">AsyncExecutionSample.cpp</a>, <a class="el" href="_custom_memory_allocator_sample_8cpp-example.html#_a20">CustomMemoryAllocatorSample.cpp</a>, <a class="el" href="_dynamic_sample_8cpp-example.html#_a11">DynamicSample.cpp</a>, and <a class="el" href="_simple_sample_8cpp-example.html#_a19">SimpleSample.cpp</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00078">78</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a899860966ff7a5d7901e5b33bcad88fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a899860966ff7a5d7901e5b33bcad88fd">&#9670;&nbsp;</a></span>CreationOptions()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00080">80</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; : <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">m_GpuAccTunedParameters</a>(<span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; , <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">m_EnableGpuProfiling</a>(<span class="keyword">false</span>)</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; , <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">m_DynamicBackendsPath</a>(<span class="stringliteral">&quot;&quot;</span>)</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; , <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">m_ProtectedMode</a>(<span class="keyword">false</span>)</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; , <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">m_CustomAllocatorMap</a>()</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; , <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">m_MemoryOptimizerStrategyMap</a>()</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; {}</div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aecebc69597fe0d38a3964031c6eeb0a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecebc69597fe0d38a3964031c6eeb0a8">&#9670;&nbsp;</a></span>m_BackendOptions</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::vector&lt;<a class="el" href="structarmnn_1_1_backend_options.html">BackendOptions</a>&gt; m_BackendOptions</td>
</tr>
</table>
</div><div class="memdoc">
<p>Pass backend specific options. </p>
<p>For example, to enable GpuAcc tuning add the following </p><div class="fragment"><div class="line">m_BackendOption.emplace_back(</div>
<div class="line"> BackendOptions{<span class="stringliteral">&quot;GpuAcc&quot;</span>,</div>
<div class="line"> {</div>
<div class="line"> {<span class="stringliteral">&quot;TuningLevel&quot;</span>, 2},</div>
<div class="line"> {<span class="stringliteral">&quot;TuningFile&quot;</span>, filename}</div>
<div class="line"> {<span class="stringliteral">&quot;MemoryOptimizerStrategy&quot;</span>, strategyname}</div>
<div class="line"> }</div>
<div class="line"> });</div>
</div><!-- fragment --><p>Execute representative workloads through the runtime to generate tuning data. The tuning file is written once the runtime is destroyed To execute with the tuning data, start up with just the tuning file specified. </p><div class="fragment"><div class="line">m_BackendOption.emplace_back(</div>
<div class="line"> BackendOptions{<span class="stringliteral">&quot;GpuAcc&quot;</span>,</div>
<div class="line"> {</div>
<div class="line"> {<span class="stringliteral">&quot;TuningFile&quot;</span>, filename}</div>
<div class="line"> }</div>
<div class="line"> });</div>
</div><!-- fragment --><p> The following backend options are available: AllBackends: "MemoryOptimizerStrategy" : string [stategynameString] (Existing Memory <a class="el" href="classarmnn_1_1_optimizer.html">Optimizer</a> Strategies: <a class="el" href="classarmnn_1_1_constant_memory_strategy.html">ConstantMemoryStrategy</a>) GpuAcc: "TuningLevel" : int [0..3] (0=UseOnly(default) | 1=RapidTuning | 2=NormalTuning | 3=ExhaustiveTuning) "TuningFile" : string [filenameString] "KernelProfilingEnabled" : bool [true | false] </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00190">190</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_cl_backend_context_8cpp_source.html#l00061">ClBackendContext::ClBackendContext()</a>, <a class="el" href="_gpu_fsa_backend_context_8cpp_source.html#l00061">GpuFsaBackendContext::GpuFsaBackendContext()</a>, and <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<a id="a939528f239e70c85f833c87c5fe41d83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a939528f239e70c85f833c87c5fe41d83">&#9670;&nbsp;</a></span>m_CustomAllocatorMap</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::map&lt;<a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, std::shared_ptr&lt;<a class="el" href="classarmnn_1_1_i_custom_allocator.html">ICustomAllocator</a>&gt; &gt; m_CustomAllocatorMap</td>
</tr>
</table>
</div><div class="memdoc">
<p>A map to define a custom memory allocator for specific backend Ids. </p>
<p>A Custom <a class="el" href="structarmnn_1_1_allocator.html">Allocator</a> is used for allocation of working memory in the backends. Set this if you need to take control of how memory is allocated on a backend. Required for Protected Mode in order to correctly allocate Protected Memory</p>
<dl class="section note"><dt>Note</dt><dd>Only supported for GpuAcc </dd></dl>
<dl class="section examples"><dt>Examples</dt><dd><a class="el" href="_custom_memory_allocator_sample_8cpp-example.html#a21">CustomMemoryAllocatorSample.cpp</a>.</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00115">115</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<a id="ae43cf4b5df0068ee6a9151c98947248b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae43cf4b5df0068ee6a9151c98947248b">&#9670;&nbsp;</a></span>m_DynamicBackendsPath</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string m_DynamicBackendsPath</td>
</tr>
</table>
</div><div class="memdoc">
<p>Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive Only a single path is allowed for the override It defines the path to search for any <a class="el" href="md_src_dynamic__r_e_a_d_m_e.html">dynamic backend libraries</a>. </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00099">99</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<a id="a2fe8c3eadf4f4f9c0c664a24a2a298f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fe8c3eadf4f4f9c0c664a24a2a298f9">&#9670;&nbsp;</a></span>m_EnableGpuProfiling</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool m_EnableGpuProfiling</td>
</tr>
</table>
</div><div class="memdoc">
<p>Setting this flag will allow the user to obtain GPU profiling information from the runtime. </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00094">94</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_armnn_device_8cpp_source.html#l00042">ArmnnDevice::ArmnnDevice()</a>, <a class="el" href="_cl_backend_context_8cpp_source.html#l00061">ClBackendContext::ClBackendContext()</a>, and <a class="el" href="_gpu_fsa_backend_context_8cpp_source.html#l00061">GpuFsaBackendContext::GpuFsaBackendContext()</a>.</p>
</div>
</div>
<a id="a515d755116f35e5b3ab30b7a78a712f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a515d755116f35e5b3ab30b7a78a712f1">&#9670;&nbsp;</a></span>m_GpuAccTunedParameters</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr&lt;<a class="el" href="classarmnn_1_1_i_gpu_acc_tuned_parameters.html">IGpuAccTunedParameters</a>&gt; m_GpuAccTunedParameters</td>
</tr>
</table>
</div><div class="memdoc">
<p>If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads. </p>
<p>It will also be updated with new tuned parameters if it is configured to do so. </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00091">91</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_armnn_device_8cpp_source.html#l00042">ArmnnDevice::ArmnnDevice()</a>, <a class="el" href="_cl_backend_context_8cpp_source.html#l00061">ClBackendContext::ClBackendContext()</a>, and <a class="el" href="_gpu_fsa_backend_context_8cpp_source.html#l00061">GpuFsaBackendContext::GpuFsaBackendContext()</a>.</p>
</div>
</div>
<a id="a6e8601cb2ffa03a83dbfae67b598ba4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e8601cb2ffa03a83dbfae67b598ba4e">&#9670;&nbsp;</a></span>m_MemoryOptimizerStrategyMap</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::map&lt;<a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, std::shared_ptr&lt;<a class="el" href="classarmnn_1_1_i_memory_optimizer_strategy.html">IMemoryOptimizerStrategy</a>&gt; &gt; m_MemoryOptimizerStrategyMap</td>
</tr>
</table>
</div><div class="memdoc">
<p>A map to define a custom memory optimizer strategy for specific backend Ids. </p>
<p>A Memory <a class="el" href="classarmnn_1_1_optimizer.html">Optimizer</a> Strategy provides a solution to an abstract representation of a network's memory requirements. This can also be used to return a pre-computed solution for a specific network. Set this if you want to implement a Custom Memory <a class="el" href="classarmnn_1_1_optimizer.html">Optimizer</a> Strategy for a given backend. </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00123">123</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<a id="a30412a91cadff138686eaeb12f5357cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30412a91cadff138686eaeb12f5357cc">&#9670;&nbsp;</a></span>m_ProfilingOptions</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options_1_1_external_profiling_options.html">ExternalProfilingOptions</a> m_ProfilingOptions</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00154">154</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<a id="ad89c99e4063390ba824022c60b885561"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad89c99e4063390ba824022c60b885561">&#9670;&nbsp;</a></span>m_ProtectedMode</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool m_ProtectedMode</td>
</tr>
</table>
</div><div class="memdoc">
<p>Setting this flag will allow the user to create the Runtime in protected mode. </p>
<p>It will run all the inferences on protected memory and will make sure that INetworkProperties::m_ImportEnabled set to true with <a class="el" href="namespacearmnn.html#a14fcd7f88d11cea0a018269dca5f9277a7f9067c59dd34aca0ad09a7f283ed1f8">MemorySource::DmaBufProtected</a> option This requires that the backend supports Protected Memory and has an allocator capable of allocating Protected Memory associated with it. </p>
<p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00106">106</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00323">RuntimeImpl::RuntimeImpl()</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/armnn/<a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_ae43cf4b5df0068ee6a9151c98947248b"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ae43cf4b5df0068ee6a9151c98947248b">armnn::IRuntime::CreationOptions::m_DynamicBackendsPath</a></div><div class="ttdeci">std::string m_DynamicBackendsPath</div><div class="ttdoc">Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive Only a...</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00099">IRuntime.hpp:99</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_ad89c99e4063390ba824022c60b885561"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#ad89c99e4063390ba824022c60b885561">armnn::IRuntime::CreationOptions::m_ProtectedMode</a></div><div class="ttdeci">bool m_ProtectedMode</div><div class="ttdoc">Setting this flag will allow the user to create the Runtime in protected mode.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00106">IRuntime.hpp:106</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a6e8601cb2ffa03a83dbfae67b598ba4e"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a6e8601cb2ffa03a83dbfae67b598ba4e">armnn::IRuntime::CreationOptions::m_MemoryOptimizerStrategyMap</a></div><div class="ttdeci">std::map&lt; BackendId, std::shared_ptr&lt; IMemoryOptimizerStrategy &gt; &gt; m_MemoryOptimizerStrategyMap</div><div class="ttdoc">A map to define a custom memory optimizer strategy for specific backend Ids.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00123">IRuntime.hpp:123</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a515d755116f35e5b3ab30b7a78a712f1"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a515d755116f35e5b3ab30b7a78a712f1">armnn::IRuntime::CreationOptions::m_GpuAccTunedParameters</a></div><div class="ttdeci">std::shared_ptr&lt; IGpuAccTunedParameters &gt; m_GpuAccTunedParameters</div><div class="ttdoc">If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00091">IRuntime.hpp:91</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a939528f239e70c85f833c87c5fe41d83"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a939528f239e70c85f833c87c5fe41d83">armnn::IRuntime::CreationOptions::m_CustomAllocatorMap</a></div><div class="ttdeci">std::map&lt; BackendId, std::shared_ptr&lt; ICustomAllocator &gt; &gt; m_CustomAllocatorMap</div><div class="ttdoc">A map to define a custom memory allocator for specific backend Ids.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00115">IRuntime.hpp:115</a></div></div>
<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_html_a2fe8c3eadf4f4f9c0c664a24a2a298f9"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.html#a2fe8c3eadf4f4f9c0c664a24a2a298f9">armnn::IRuntime::CreationOptions::m_EnableGpuProfiling</a></div><div class="ttdeci">bool m_EnableGpuProfiling</div><div class="ttdoc">Setting this flag will allow the user to obtain GPU profiling information from the runtime.</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00094">IRuntime.hpp:94</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a></li>
<li class="footer">Generated on Thu May 16 2024 09:31:56 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>