blob: a72c2fcd54177000a916367913f3396efe03a0ee [file] [log] [blame]
<!-- HTML header for doxygen 1.8.15-->
<!-- Remember to use version doxygen 1.8.15 +-->
<!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.15"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
<title>Compute Library: GCMemory 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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="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="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">20.02.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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('classarm__compute_1_1_g_c_memory.xhtml','');});
/* @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="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">GCMemory Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>GLES implementation of memory object.
<a href="classarm__compute_1_1_g_c_memory.xhtml#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_g_c_memory_8h_source.xhtml">GCMemory.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for GCMemory:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_g_c_memory__coll__graph.svg" width="104" height="112"><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.xhtml">legend</a>]</span></center></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:a06e98bcb4408fe2f57a6828ad00d0313"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a06e98bcb4408fe2f57a6828ad00d0313">GCMemory</a> ()</td></tr>
<tr class="memdesc:a06e98bcb4408fe2f57a6828ad00d0313"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. <a href="#a06e98bcb4408fe2f57a6828ad00d0313">More...</a><br /></td></tr>
<tr class="separator:a06e98bcb4408fe2f57a6828ad00d0313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bcbc16c9072f45ba678cbae0922cc47"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a1bcbc16c9072f45ba678cbae0922cc47">GCMemory</a> (const std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> &gt; &amp;memory)</td></tr>
<tr class="memdesc:a1bcbc16c9072f45ba678cbae0922cc47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. <a href="#a1bcbc16c9072f45ba678cbae0922cc47">More...</a><br /></td></tr>
<tr class="separator:a1bcbc16c9072f45ba678cbae0922cc47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a746daa24b29bf3703b49440f60631c57"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a746daa24b29bf3703b49440f60631c57">GCMemory</a> (<a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> *memory)</td></tr>
<tr class="memdesc:a746daa24b29bf3703b49440f60631c57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default Constructor. <a href="#a746daa24b29bf3703b49440f60631c57">More...</a><br /></td></tr>
<tr class="separator:a746daa24b29bf3703b49440f60631c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dddf84189e20357c04216feda4d1bf9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a5dddf84189e20357c04216feda4d1bf9">GCMemory</a> (const <a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;)=default</td></tr>
<tr class="memdesc:a5dddf84189e20357c04216feda4d1bf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be copied. <a href="#a5dddf84189e20357c04216feda4d1bf9">More...</a><br /></td></tr>
<tr class="separator:a5dddf84189e20357c04216feda4d1bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a8c0ce9078d258d67a4cc1a8be581b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a9a8c0ce9078d258d67a4cc1a8be581b0">operator=</a> (const <a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;)=default</td></tr>
<tr class="memdesc:a9a8c0ce9078d258d67a4cc1a8be581b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be copy assigned. <a href="#a9a8c0ce9078d258d67a4cc1a8be581b0">More...</a><br /></td></tr>
<tr class="separator:a9a8c0ce9078d258d67a4cc1a8be581b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa87fed8ae634667cdbcb5d7a81e7ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#aeaa87fed8ae634667cdbcb5d7a81e7ba">GCMemory</a> (<a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="memdesc:aeaa87fed8ae634667cdbcb5d7a81e7ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved. <a href="#aeaa87fed8ae634667cdbcb5d7a81e7ba">More...</a><br /></td></tr>
<tr class="separator:aeaa87fed8ae634667cdbcb5d7a81e7ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124afb1dbc1e3edb86f8ff7422551181"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a124afb1dbc1e3edb86f8ff7422551181">operator=</a> (<a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&amp;) noexcept=default</td></tr>
<tr class="memdesc:a124afb1dbc1e3edb86f8ff7422551181"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be move assigned. <a href="#a124afb1dbc1e3edb86f8ff7422551181">More...</a><br /></td></tr>
<tr class="separator:a124afb1dbc1e3edb86f8ff7422551181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8882f7e7c3cc7cd87799928ad2abb9b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a8882f7e7c3cc7cd87799928ad2abb9b1">gc_region</a> ()</td></tr>
<tr class="memdesc:a8882f7e7c3cc7cd87799928ad2abb9b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">GLES Region accessor. <a href="#a8882f7e7c3cc7cd87799928ad2abb9b1">More...</a><br /></td></tr>
<tr class="separator:a8882f7e7c3cc7cd87799928ad2abb9b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f32148224e90ea3bcbedfcb97a7472"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a14f32148224e90ea3bcbedfcb97a7472">gc_region</a> () const</td></tr>
<tr class="memdesc:a14f32148224e90ea3bcbedfcb97a7472"><td class="mdescLeft">&#160;</td><td class="mdescRight">GLES Region accessor. <a href="#a14f32148224e90ea3bcbedfcb97a7472">More...</a><br /></td></tr>
<tr class="separator:a14f32148224e90ea3bcbedfcb97a7472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a146cb960b44f4b1fb11ef4420382021a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">region</a> () final</td></tr>
<tr class="memdesc:a146cb960b44f4b1fb11ef4420382021a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Region accessor. <a href="#a146cb960b44f4b1fb11ef4420382021a">More...</a><br /></td></tr>
<tr class="separator:a146cb960b44f4b1fb11ef4420382021a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71ae8f88077f2d892643da1d89c48ac4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a71ae8f88077f2d892643da1d89c48ac4">region</a> () const final</td></tr>
<tr class="memdesc:a71ae8f88077f2d892643da1d89c48ac4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Region accessor. <a href="#a71ae8f88077f2d892643da1d89c48ac4">More...</a><br /></td></tr>
<tr class="separator:a71ae8f88077f2d892643da1d89c48ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e343ebd0fb1c7816e7abfee53d2578b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a5e343ebd0fb1c7816e7abfee53d2578b">set_region</a> (<a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> *<a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">region</a>) final</td></tr>
<tr class="memdesc:a5e343ebd0fb1c7816e7abfee53d2578b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a memory region. <a href="#a5e343ebd0fb1c7816e7abfee53d2578b">More...</a><br /></td></tr>
<tr class="separator:a5e343ebd0fb1c7816e7abfee53d2578b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d30bc4b38a0f4703ff154a39f1b422"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#af2d30bc4b38a0f4703ff154a39f1b422">set_owned_region</a> (std::unique_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> &gt; <a class="el" href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">region</a>) final</td></tr>
<tr class="memdesc:af2d30bc4b38a0f4703ff154a39f1b422"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a memory region. <a href="#af2d30bc4b38a0f4703ff154a39f1b422">More...</a><br /></td></tr>
<tr class="separator:af2d30bc4b38a0f4703ff154a39f1b422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classarm__compute_1_1_i_memory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_memory')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_memory.xhtml">IMemory</a></td></tr>
<tr class="memitem:a2e5f508e93ea2a8b1040e9382604909c inherit pub_methods_classarm__compute_1_1_i_memory"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_memory.xhtml#a2e5f508e93ea2a8b1040e9382604909c">~IMemory</a> ()=default</td></tr>
<tr class="memdesc:a2e5f508e93ea2a8b1040e9382604909c inherit pub_methods_classarm__compute_1_1_i_memory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual default destructor. <a href="classarm__compute_1_1_i_memory.xhtml#a2e5f508e93ea2a8b1040e9382604909c">More...</a><br /></td></tr>
<tr class="separator:a2e5f508e93ea2a8b1040e9382604909c inherit pub_methods_classarm__compute_1_1_i_memory"><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>GLES implementation of memory object. </p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8h_source.xhtml#l00037">37</a> of file <a class="el" href="_g_c_memory_8h_source.xhtml">GCMemory.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a06e98bcb4408fe2f57a6828ad00d0313"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06e98bcb4408fe2f57a6828ad00d0313">&#9670;&nbsp;</a></span>GCMemory() <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default Constructor. </p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00031">31</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; : _region(<span class="keyword">nullptr</span>), _region_owned(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a1bcbc16c9072f45ba678cbae0922cc47"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bcbc16c9072f45ba678cbae0922cc47">&#9670;&nbsp;</a></span>GCMemory() <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> </td>
<td>(</td>
<td class="paramtype">const std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>memory</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">memory</td><td><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> to be imported </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00036">36</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; : _region(<span class="keyword">nullptr</span>), _region_owned(memory)</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;{</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; _region_owned = memory;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; _region = _region_owned.get();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a746daa24b29bf3703b49440f60631c57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a746daa24b29bf3703b49440f60631c57">&#9670;&nbsp;</a></span>GCMemory() <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> *&#160;</td>
<td class="paramname"><em>memory</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default Constructor. </p>
<dl class="section note"><dt>Note</dt><dd>Ownership of the memory is not transferred to this object. Thus management (allocate/free) should be done by the client.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">memory</td><td><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> to be imported </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00043">43</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; : _region(memory), _region_owned(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;{</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; _region = memory;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a5dddf84189e20357c04216feda4d1bf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5dddf84189e20357c04216feda4d1bf9">&#9670;&nbsp;</a></span>GCMemory() <span class="overload">[4/5]</span></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="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allow instances of this class to be copied. </p>
</div>
</div>
<a id="aeaa87fed8ae634667cdbcb5d7a81e7ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeaa87fed8ae634667cdbcb5d7a81e7ba">&#9670;&nbsp;</a></span>GCMemory() <span class="overload">[5/5]</span></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="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allow instances of this class to be moved. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8882f7e7c3cc7cd87799928ad2abb9b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8882f7e7c3cc7cd87799928ad2abb9b1">&#9670;&nbsp;</a></span>gc_region() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> * gc_region </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>GLES Region accessor. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </dd></dl>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00049">49</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keywordflow">return</span> _region;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00084">GCTensorAllocator::get_gl_ssbo_name()</a>, <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00089">GCTensorAllocator::map()</a>, <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00065">GCTensorAllocator::set_associated_memory_group()</a>, <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00069">GCMemory::set_region()</a>, and <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00098">GCTensorAllocator::unmap()</a>.</p>
</div>
</div>
<a id="a14f32148224e90ea3bcbedfcb97a7472"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14f32148224e90ea3bcbedfcb97a7472">&#9670;&nbsp;</a></span>gc_region() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classarm__compute_1_1_i_g_c_memory_region.xhtml">IGCMemoryRegion</a> * gc_region </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>GLES Region accessor. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </dd></dl>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00054">54</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordflow">return</span> _region;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="a9a8c0ce9078d258d67a4cc1a8be581b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a8c0ce9078d258d67a4cc1a8be581b0">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></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="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a>&amp; operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allow instances of this class to be copy assigned. </p>
</div>
</div>
<a id="a124afb1dbc1e3edb86f8ff7422551181"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a124afb1dbc1e3edb86f8ff7422551181">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></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="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a>&amp; operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a> &amp;&amp;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allow instances of this class to be move assigned. </p>
</div>
</div>
<a id="a146cb960b44f4b1fb11ef4420382021a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a146cb960b44f4b1fb11ef4420382021a">&#9670;&nbsp;</a></span>region() <span class="overload">[1/2]</span></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="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> * region </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Region accessor. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </dd></dl>
<p>Implements <a class="el" href="classarm__compute_1_1_i_memory.xhtml#ab2258b6ffc84dbbb1894448c4c4ff30c">IMemory</a>.</p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00059">59</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;{</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">return</span> _region;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;}</div></div><!-- fragment -->
<p class="reference">Referenced by <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00084">GCTensorAllocator::get_gl_ssbo_name()</a>, <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00089">GCTensorAllocator::map()</a>, <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00065">GCTensorAllocator::set_associated_memory_group()</a>, <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00076">GCMemory::set_owned_region()</a>, <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00069">GCMemory::set_region()</a>, and <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00098">GCTensorAllocator::unmap()</a>.</p>
</div>
</div>
<a id="a71ae8f88077f2d892643da1d89c48ac4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71ae8f88077f2d892643da1d89c48ac4">&#9670;&nbsp;</a></span>region() <span class="overload">[2/2]</span></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="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> * region </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Region accessor. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </dd></dl>
<p>Implements <a class="el" href="classarm__compute_1_1_i_memory.xhtml#a27dab25f7225ed143200b499a0ce27e8">IMemory</a>.</p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00064">64</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;{</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">return</span> _region;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;}</div></div><!-- fragment -->
</div>
</div>
<a id="af2d30bc4b38a0f4703ff154a39f1b422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2d30bc4b38a0f4703ff154a39f1b422">&#9670;&nbsp;</a></span>set_owned_region()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void set_owned_region </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> &gt;&#160;</td>
<td class="paramname"><em>region</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a memory region. </p>
<dl class="section warning"><dt>Warning</dt><dd>Ownership of the memory region is transfered along</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">region</td><td><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classarm__compute_1_1_i_memory.xhtml#aa00bd341767c1945c2f16d8056143f2c">IMemory</a>.</p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00076">76</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;{</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; _region_owned = utils::cast::polymorphic_downcast_unique_ptr&lt;IGCMemoryRegion&gt;(std::move(<a class="code" href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">region</a>));</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; _region = _region_owned.get();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;}</div><div class="ttc" id="classarm__compute_1_1_g_c_memory_xhtml_a146cb960b44f4b1fb11ef4420382021a"><div class="ttname"><a href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">arm_compute::GCMemory::region</a></div><div class="ttdeci">IMemoryRegion * region() final</div><div class="ttdoc">Region accessor.</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_memory_8cpp_source.xhtml#l00059">GCMemory.cpp:59</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00059">GCMemory::region()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00045">GCTensorAllocator::allocate()</a>.</p>
</div>
</div>
<a id="a5e343ebd0fb1c7816e7abfee53d2578b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e343ebd0fb1c7816e7abfee53d2578b">&#9670;&nbsp;</a></span>set_region()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void set_region </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classarm__compute_1_1_i_memory_region.xhtml">IMemoryRegion</a> *&#160;</td>
<td class="paramname"><em>region</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">final</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets a memory region. </p>
<dl class="section warning"><dt>Warning</dt><dd>Ownership of the memory region remains to the caller</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">region</td><td><a class="el" href="classarm__compute_1_1_memory.xhtml" title="CPU implementation of memory object.">Memory</a> region </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classarm__compute_1_1_i_memory.xhtml#a5f1239a904c50f8013ba163960605bce">IMemory</a>.</p>
<p class="definition">Definition at line <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00069">69</a> of file <a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;{</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">auto</span> <a class="code" href="classarm__compute_1_1_g_c_memory.xhtml#a8882f7e7c3cc7cd87799928ad2abb9b1">gc_region</a> = utils::cast::polymorphic_downcast&lt;IGCMemoryRegion *&gt;(<a class="code" href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">region</a>);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; _region_owned = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; _region = <a class="code" href="classarm__compute_1_1_g_c_memory.xhtml#a8882f7e7c3cc7cd87799928ad2abb9b1">gc_region</a>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;}</div><div class="ttc" id="classarm__compute_1_1_g_c_memory_xhtml_a146cb960b44f4b1fb11ef4420382021a"><div class="ttname"><a href="classarm__compute_1_1_g_c_memory.xhtml#a146cb960b44f4b1fb11ef4420382021a">arm_compute::GCMemory::region</a></div><div class="ttdeci">IMemoryRegion * region() final</div><div class="ttdoc">Region accessor.</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_memory_8cpp_source.xhtml#l00059">GCMemory.cpp:59</a></div></div>
<div class="ttc" id="classarm__compute_1_1_g_c_memory_xhtml_a8882f7e7c3cc7cd87799928ad2abb9b1"><div class="ttname"><a href="classarm__compute_1_1_g_c_memory.xhtml#a8882f7e7c3cc7cd87799928ad2abb9b1">arm_compute::GCMemory::gc_region</a></div><div class="ttdeci">IGCMemoryRegion * gc_region()</div><div class="ttdoc">GLES Region accessor.</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_memory_8cpp_source.xhtml#l00049">GCMemory.cpp:49</a></div></div>
</div><!-- fragment -->
<p class="reference">References <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00049">GCMemory::gc_region()</a>, and <a class="el" href="_g_c_memory_8cpp_source.xhtml#l00059">GCMemory::region()</a>.</p>
<p class="reference">Referenced by <a class="el" href="_g_c_tensor_allocator_8cpp_source.xhtml#l00058">GCTensorAllocator::free()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>arm_compute/runtime/GLES_COMPUTE/<a class="el" href="_g_c_memory_8h_source.xhtml">GCMemory.h</a></li>
<li>src/runtime/GLES_COMPUTE/<a class="el" href="_g_c_memory_8cpp_source.xhtml">GCMemory.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="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_g_c_memory.xhtml">GCMemory</a></li>
<li class="footer">Generated on Thu Mar 5 2020 16:07:13 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>