75cdb8e41499ca9fcd93aa81770be7d906f02187
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_c_l_distribution1_d.xhtml
1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>ARM Compute Library: CLDistribution1D Class Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18   $(document).ready(initResizable);
19   $(window).load(resizeHeight);
20 </script>
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25   $(document).ready(function() { init_search(); });
26 </script>
27 <script type="text/x-mathjax-config">
28   MathJax.Hub.Config({
29     extensions: ["tex2jax.js"],
30     jax: ["input/TeX","output/HTML-CSS"],
31 });
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
34 </head>
35 <body>
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37 <div id="titlearea">
38 <table cellspacing="0" cellpadding="0">
39  <tbody>
40  <tr style="height: 56px;">
41   <td style="padding-left: 0.5em;">
42    <div id="projectname">ARM Compute Library
43    &#160;<span id="projectnumber">17.03.1</span>
44    </div>
45   </td>
46  </tr>
47  </tbody>
48 </table>
49 </div>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
54 </script>
55   <div id="navrow1" class="tabs">
56     <ul class="tablist">
57       <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
58       <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
59       <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
60       <li><a href="files.xhtml"><span>Files</span></a></li>
61       <li>
62         <div id="MSearchBox" class="MSearchBoxInactive">
63         <span class="left">
64           <img id="MSearchSelect" src="search/mag_sel.png"
65                onmouseover="return searchBox.OnSearchSelectShow()"
66                onmouseout="return searchBox.OnSearchSelectHide()"
67                alt=""/>
68           <input type="text" id="MSearchField" value="Search" accesskey="S"
69                onfocus="searchBox.OnSearchFieldFocus(true)" 
70                onblur="searchBox.OnSearchFieldFocus(false)" 
71                onkeyup="searchBox.OnSearchFieldChange(event)"/>
72           </span><span class="right">
73             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
74           </span>
75         </div>
76       </li>
77     </ul>
78   </div>
79   <div id="navrow2" class="tabs2">
80     <ul class="tablist">
81       <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
82       <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
83       <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
84       <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
85     </ul>
86   </div>
87 </div><!-- top -->
88 <div id="side-nav" class="ui-resizable side-nav-resizable">
89   <div id="nav-tree">
90     <div id="nav-tree-contents">
91       <div id="nav-sync" class="sync"></div>
92     </div>
93   </div>
94   <div id="splitbar" style="-moz-user-select:none;" 
95        class="ui-resizable-handle">
96   </div>
97 </div>
98 <script type="text/javascript">
99 $(document).ready(function(){initNavTree('classarm__compute_1_1_c_l_distribution1_d.xhtml','');});
100 </script>
101 <div id="doc-content">
102 <!-- window showing the filter options -->
103 <div id="MSearchSelectWindow"
104      onmouseover="return searchBox.OnSearchSelectShow()"
105      onmouseout="return searchBox.OnSearchSelectHide()"
106      onkeydown="return searchBox.OnSearchSelectKey(event)">
107 </div>
108
109 <!-- iframe showing the search results (closed by default) -->
110 <div id="MSearchResultsWindow">
111 <iframe src="javascript:void(0)" frameborder="0" 
112         name="MSearchResults" id="MSearchResults">
113 </iframe>
114 </div>
115
116 <div class="header">
117   <div class="summary">
118 <a href="#pub-methods">Public Member Functions</a>  </div>
119   <div class="headertitle">
120 <div class="title">CLDistribution1D Class Reference</div>  </div>
121 </div><!--header-->
122 <div class="contents">
123
124 <p><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml" title="CLDistribution1D object class. ">CLDistribution1D</a> object class.  
125  <a href="classarm__compute_1_1_c_l_distribution1_d.xhtml#details">More...</a></p>
126
127 <p><code>#include &lt;<a class="el" href="_c_l_distribution1_d_8h_source.xhtml">CLDistribution1D.h</a>&gt;</code></p>
128 <div class="dynheader">
129 Collaboration diagram for CLDistribution1D:</div>
130 <div class="dyncontent">
131 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_c_l_distribution1_d__coll__graph.svg" width="138" height="262"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
132 </div>
133 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
134 <table class="memberdecls">
135 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
136 Public Member Functions</h2></td></tr>
137 <tr class="memitem:a1b056f14381ab6eda09ed227a3d9e9e5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a1b056f14381ab6eda09ed227a3d9e9e5">CLDistribution1D</a> (size_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ae3664b841732a09d7749953ca5b81373">num_bins</a>, int32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad952765741736e8e669876dd06636873">offset</a>, uint32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ac548d0ee88978d0ba481323aab25e46a">range</a>)</td></tr>
138 <tr class="memdesc:a1b056f14381ab6eda09ed227a3d9e9e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor: Creates a 1D CLDistribution of a consecutive interval [offset, offset + range - 1] defined by a start offset and valid range, divided equally into num_bins parts.  <a href="#a1b056f14381ab6eda09ed227a3d9e9e5">More...</a><br /></td></tr>
139 <tr class="separator:a1b056f14381ab6eda09ed227a3d9e9e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
140 <tr class="memitem:a9674808e8d2cc69872c97663ca4d6cab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a9674808e8d2cc69872c97663ca4d6cab">CLDistribution1D</a> (const <a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> &amp;)=delete</td></tr>
141 <tr class="memdesc:a9674808e8d2cc69872c97663ca4d6cab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers).  <a href="#a9674808e8d2cc69872c97663ca4d6cab">More...</a><br /></td></tr>
142 <tr class="separator:a9674808e8d2cc69872c97663ca4d6cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
143 <tr class="memitem:a5d11cfbbf69ebbd595d8aee3ecbafedb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a5d11cfbbf69ebbd595d8aee3ecbafedb">operator=</a> (const <a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> &amp;)=delete</td></tr>
144 <tr class="memdesc:a5d11cfbbf69ebbd595d8aee3ecbafedb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers).  <a href="#a5d11cfbbf69ebbd595d8aee3ecbafedb">More...</a><br /></td></tr>
145 <tr class="separator:a5d11cfbbf69ebbd595d8aee3ecbafedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
146 <tr class="memitem:a14c53d2d17be6fa8a2c9861527c7b002"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a14c53d2d17be6fa8a2c9861527c7b002">map</a> (bool blocking=true)</td></tr>
147 <tr class="memdesc:a14c53d2d17be6fa8a2c9861527c7b002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enqueue a map operation of the allocated buffer.  <a href="#a14c53d2d17be6fa8a2c9861527c7b002">More...</a><br /></td></tr>
148 <tr class="separator:a14c53d2d17be6fa8a2c9861527c7b002"><td class="memSeparator" colspan="2">&#160;</td></tr>
149 <tr class="memitem:a1ffeb3b5abb3d61f62b58a391816201c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a1ffeb3b5abb3d61f62b58a391816201c">unmap</a> ()</td></tr>
150 <tr class="memdesc:a1ffeb3b5abb3d61f62b58a391816201c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enqueue an unmap operation of the allocated and mapped buffer.  <a href="#a1ffeb3b5abb3d61f62b58a391816201c">More...</a><br /></td></tr>
151 <tr class="separator:a1ffeb3b5abb3d61f62b58a391816201c"><td class="memSeparator" colspan="2">&#160;</td></tr>
152 <tr class="memitem:a55dcc12377d15f244c59975f7cd1f623"><td class="memItemLeft" align="right" valign="top">cl::Buffer &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml#a55dcc12377d15f244c59975f7cd1f623">cl_buffer</a> () override</td></tr>
153 <tr class="memdesc:a55dcc12377d15f244c59975f7cd1f623"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interface to be implemented by the child class to return a reference to the OpenCL buffer containing the distribution's data.  <a href="#a55dcc12377d15f244c59975f7cd1f623">More...</a><br /></td></tr>
154 <tr class="separator:a55dcc12377d15f244c59975f7cd1f623"><td class="memSeparator" colspan="2">&#160;</td></tr>
155 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_c_l_distribution1_d')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml">ICLDistribution1D</a></td></tr>
156 <tr class="memitem:a0289f4eb4c6ca9ddcdc7d0926592a98f inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#a0289f4eb4c6ca9ddcdc7d0926592a98f">ICLDistribution1D</a> (size_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ae3664b841732a09d7749953ca5b81373">num_bins</a>, int32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad952765741736e8e669876dd06636873">offset</a>, uint32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ac548d0ee88978d0ba481323aab25e46a">range</a>)</td></tr>
157 <tr class="memdesc:a0289f4eb4c6ca9ddcdc7d0926592a98f inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor: Creates a 1D CLDistribution of a consecutive interval [offset, offset + range - 1] defined by a start offset and valid range, divided equally into num_bins parts.  <a href="#a0289f4eb4c6ca9ddcdc7d0926592a98f">More...</a><br /></td></tr>
158 <tr class="separator:a0289f4eb4c6ca9ddcdc7d0926592a98f inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
159 <tr class="memitem:a298d976d9b3cf2a86f114292c1a58839 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#a298d976d9b3cf2a86f114292c1a58839">ICLDistribution1D</a> (const <a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml">ICLDistribution1D</a> &amp;)=delete</td></tr>
160 <tr class="memdesc:a298d976d9b3cf2a86f114292c1a58839 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers).  <a href="#a298d976d9b3cf2a86f114292c1a58839">More...</a><br /></td></tr>
161 <tr class="separator:a298d976d9b3cf2a86f114292c1a58839 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
162 <tr class="memitem:a0182f7f14809fcf8e7d1b9c8afebeafd inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml">ICLDistribution1D</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#a0182f7f14809fcf8e7d1b9c8afebeafd">operator=</a> (const <a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml">ICLDistribution1D</a> &amp;)=delete</td></tr>
163 <tr class="memdesc:a0182f7f14809fcf8e7d1b9c8afebeafd inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers).  <a href="#a0182f7f14809fcf8e7d1b9c8afebeafd">More...</a><br /></td></tr>
164 <tr class="separator:a0182f7f14809fcf8e7d1b9c8afebeafd inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
165 <tr class="memitem:ac0abc7a5c0d172947f0e6a0c0dde3df0 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#ac0abc7a5c0d172947f0e6a0c0dde3df0">map</a> (cl::CommandQueue &amp;q, bool blocking=true)</td></tr>
166 <tr class="memdesc:ac0abc7a5c0d172947f0e6a0c0dde3df0 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enqueue a map operation of the allocated buffer on the given queue.  <a href="#ac0abc7a5c0d172947f0e6a0c0dde3df0">More...</a><br /></td></tr>
167 <tr class="separator:ac0abc7a5c0d172947f0e6a0c0dde3df0 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
168 <tr class="memitem:af974a2360069c2ef8df4496d00e4f6cc inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#af974a2360069c2ef8df4496d00e4f6cc">unmap</a> (cl::CommandQueue &amp;q)</td></tr>
169 <tr class="memdesc:af974a2360069c2ef8df4496d00e4f6cc inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enqueue an unmap operation of the allocated and mapped buffer on the given queue.  <a href="#af974a2360069c2ef8df4496d00e4f6cc">More...</a><br /></td></tr>
170 <tr class="separator:af974a2360069c2ef8df4496d00e4f6cc inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
171 <tr class="memitem:a0a383529771c579b362ede2307c6bab9 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memItemLeft" align="right" valign="top">uint32_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#a0a383529771c579b362ede2307c6bab9">buffer</a> () const override</td></tr>
172 <tr class="memdesc:a0a383529771c579b362ede2307c6bab9 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the start of the distribution.  <a href="#a0a383529771c579b362ede2307c6bab9">More...</a><br /></td></tr>
173 <tr class="separator:a0a383529771c579b362ede2307c6bab9 inherit pub_methods_classarm__compute_1_1_i_c_l_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
174 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_distribution1_d"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_distribution1_d')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml">IDistribution1D</a></td></tr>
175 <tr class="memitem:a9c3a40b0dbbd79ed909471d9e05283aa inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#a9c3a40b0dbbd79ed909471d9e05283aa">IDistribution1D</a> (size_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ae3664b841732a09d7749953ca5b81373">num_bins</a>, int32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad952765741736e8e669876dd06636873">offset</a>, uint32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ac548d0ee88978d0ba481323aab25e46a">range</a>)</td></tr>
176 <tr class="memdesc:a9c3a40b0dbbd79ed909471d9e05283aa inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor: Creates a 1D Distribution of a consecutive interval [offset, offset + range - 1] defined by a start offset and valid range, divided equally into num_bins parts.  <a href="#a9c3a40b0dbbd79ed909471d9e05283aa">More...</a><br /></td></tr>
177 <tr class="separator:a9c3a40b0dbbd79ed909471d9e05283aa inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
178 <tr class="memitem:ae3664b841732a09d7749953ca5b81373 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ae3664b841732a09d7749953ca5b81373">num_bins</a> () const </td></tr>
179 <tr class="memdesc:ae3664b841732a09d7749953ca5b81373 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of bins that the distribution has.  <a href="#ae3664b841732a09d7749953ca5b81373">More...</a><br /></td></tr>
180 <tr class="separator:ae3664b841732a09d7749953ca5b81373 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
181 <tr class="memitem:ad952765741736e8e669876dd06636873 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad952765741736e8e669876dd06636873">offset</a> () const </td></tr>
182 <tr class="memdesc:ad952765741736e8e669876dd06636873 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the offset of the distribution.  <a href="#ad952765741736e8e669876dd06636873">More...</a><br /></td></tr>
183 <tr class="separator:ad952765741736e8e669876dd06636873 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
184 <tr class="memitem:ac548d0ee88978d0ba481323aab25e46a inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ac548d0ee88978d0ba481323aab25e46a">range</a> () const </td></tr>
185 <tr class="memdesc:ac548d0ee88978d0ba481323aab25e46a inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range of the distribution.  <a href="#ac548d0ee88978d0ba481323aab25e46a">More...</a><br /></td></tr>
186 <tr class="separator:ac548d0ee88978d0ba481323aab25e46a inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
187 <tr class="memitem:a862904f65dffef9c8a72d3aeadc56be1 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#a862904f65dffef9c8a72d3aeadc56be1">window</a> () const </td></tr>
188 <tr class="memdesc:a862904f65dffef9c8a72d3aeadc56be1 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the window of the distribution, which is the range divided by the number of bins.  <a href="#a862904f65dffef9c8a72d3aeadc56be1">More...</a><br /></td></tr>
189 <tr class="separator:a862904f65dffef9c8a72d3aeadc56be1 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
190 <tr class="memitem:a9027aed7fdb902ebc243647c8c3fbea2 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#a9027aed7fdb902ebc243647c8c3fbea2">set_range</a> (uint32_t <a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ac548d0ee88978d0ba481323aab25e46a">range</a>)</td></tr>
191 <tr class="memdesc:a9027aed7fdb902ebc243647c8c3fbea2 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the range of the distribution.  <a href="#a9027aed7fdb902ebc243647c8c3fbea2">More...</a><br /></td></tr>
192 <tr class="separator:a9027aed7fdb902ebc243647c8c3fbea2 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
193 <tr class="memitem:ad7701a09a964eab360a8e51fa7ad2c16 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad7701a09a964eab360a8e51fa7ad2c16">size</a> () const override</td></tr>
194 <tr class="memdesc:ad7701a09a964eab360a8e51fa7ad2c16 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the total size in bytes of the distribution.  <a href="#ad7701a09a964eab360a8e51fa7ad2c16">More...</a><br /></td></tr>
195 <tr class="separator:ad7701a09a964eab360a8e51fa7ad2c16 inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
196 <tr class="memitem:ad251169c06da412071bdfb6e92444e6e inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution1_d.xhtml#ad251169c06da412071bdfb6e92444e6e">dimensions</a> () const override</td></tr>
197 <tr class="memdesc:ad251169c06da412071bdfb6e92444e6e inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the dimensions of the distribution.  <a href="#ad251169c06da412071bdfb6e92444e6e">More...</a><br /></td></tr>
198 <tr class="separator:ad251169c06da412071bdfb6e92444e6e inherit pub_methods_classarm__compute_1_1_i_distribution1_d"><td class="memSeparator" colspan="2">&#160;</td></tr>
199 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_distribution"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_distribution')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_distribution.xhtml">IDistribution</a></td></tr>
200 <tr class="memitem:a9ee18d758810dbcfb1c9717956f51c38 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution.xhtml#a9ee18d758810dbcfb1c9717956f51c38">~IDistribution</a> ()=default</td></tr>
201 <tr class="memdesc:a9ee18d758810dbcfb1c9717956f51c38 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default virtual destructor.  <a href="#a9ee18d758810dbcfb1c9717956f51c38">More...</a><br /></td></tr>
202 <tr class="separator:a9ee18d758810dbcfb1c9717956f51c38 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="memSeparator" colspan="2">&#160;</td></tr>
203 <tr class="memitem:a5b0c20bea8c40bf73b3160cb1e0da350 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_distribution.xhtml#a5b0c20bea8c40bf73b3160cb1e0da350">clear</a> () const </td></tr>
204 <tr class="memdesc:a5b0c20bea8c40bf73b3160cb1e0da350 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the distribution by setting every element to zero.  <a href="#a5b0c20bea8c40bf73b3160cb1e0da350">More...</a><br /></td></tr>
205 <tr class="separator:a5b0c20bea8c40bf73b3160cb1e0da350 inherit pub_methods_classarm__compute_1_1_i_distribution"><td class="memSeparator" colspan="2">&#160;</td></tr>
206 </table>
207 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
208 <div class="textblock"><p><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml" title="CLDistribution1D object class. ">CLDistribution1D</a> object class. </p>
209
210 <p>Definition at line <a class="el" href="_c_l_distribution1_d_8h_source.xhtml#l00036">36</a> of file <a class="el" href="_c_l_distribution1_d_8h_source.xhtml">CLDistribution1D.h</a>.</p>
211 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
212 <a class="anchor" id="a1b056f14381ab6eda09ed227a3d9e9e5"></a>
213 <div class="memitem">
214 <div class="memproto">
215       <table class="memname">
216         <tr>
217           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> </td>
218           <td>(</td>
219           <td class="paramtype">size_t&#160;</td>
220           <td class="paramname"><em>num_bins</em>, </td>
221         </tr>
222         <tr>
223           <td class="paramkey"></td>
224           <td></td>
225           <td class="paramtype">int32_t&#160;</td>
226           <td class="paramname"><em>offset</em>, </td>
227         </tr>
228         <tr>
229           <td class="paramkey"></td>
230           <td></td>
231           <td class="paramtype">uint32_t&#160;</td>
232           <td class="paramname"><em>range</em>&#160;</td>
233         </tr>
234         <tr>
235           <td></td>
236           <td>)</td>
237           <td></td><td></td>
238         </tr>
239       </table>
240 </div><div class="memdoc">
241
242 <p>Constructor: Creates a 1D CLDistribution of a consecutive interval [offset, offset + range - 1] defined by a start offset and valid range, divided equally into num_bins parts. </p>
243 <dl class="params"><dt>Parameters</dt><dd>
244   <table class="params">
245     <tr><td class="paramdir">[in]</td><td class="paramname">num_bins</td><td>The number of bins the distribution is divided in. </td></tr>
246     <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The start of the values to use. </td></tr>
247     <tr><td class="paramdir">[in]</td><td class="paramname">range</td><td>The total number of the consecutive values of the distribution interval. </td></tr>
248   </table>
249   </dd>
250 </dl>
251
252 </div>
253 </div>
254 <a class="anchor" id="a9674808e8d2cc69872c97663ca4d6cab"></a>
255 <div class="memitem">
256 <div class="memproto">
257 <table class="mlabels">
258   <tr>
259   <td class="mlabels-left">
260       <table class="memname">
261         <tr>
262           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> </td>
263           <td>(</td>
264           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> &amp;&#160;</td>
265           <td class="paramname"></td><td>)</td>
266           <td></td>
267         </tr>
268       </table>
269   </td>
270   <td class="mlabels-right">
271 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
272   </tr>
273 </table>
274 </div><div class="memdoc">
275
276 <p>Prevent instances of this class from being copied (As this class contains pointers). </p>
277
278 </div>
279 </div>
280 <h2 class="groupheader">Member Function Documentation</h2>
281 <a class="anchor" id="a55dcc12377d15f244c59975f7cd1f623"></a>
282 <div class="memitem">
283 <div class="memproto">
284 <table class="mlabels">
285   <tr>
286   <td class="mlabels-left">
287       <table class="memname">
288         <tr>
289           <td class="memname">cl::Buffer&amp; cl_buffer </td>
290           <td>(</td>
291           <td class="paramname"></td><td>)</td>
292           <td></td>
293         </tr>
294       </table>
295   </td>
296   <td class="mlabels-right">
297 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
298   </tr>
299 </table>
300 </div><div class="memdoc">
301
302 <p>Interface to be implemented by the child class to return a reference to the OpenCL buffer containing the distribution's data. </p>
303 <dl class="section return"><dt>Returns</dt><dd>A reference to an OpenCL buffer containing the distribution's data. </dd></dl>
304
305 <p>Implements <a class="el" href="classarm__compute_1_1_i_c_l_distribution1_d.xhtml#aea577b83a6734249a78ac036a23d5c6b">ICLDistribution1D</a>.</p>
306
307 </div>
308 </div>
309 <a class="anchor" id="a14c53d2d17be6fa8a2c9861527c7b002"></a>
310 <div class="memitem">
311 <div class="memproto">
312       <table class="memname">
313         <tr>
314           <td class="memname">void map </td>
315           <td>(</td>
316           <td class="paramtype">bool&#160;</td>
317           <td class="paramname"><em>blocking</em> = <code>true</code></td><td>)</td>
318           <td></td>
319         </tr>
320       </table>
321 </div><div class="memdoc">
322
323 <p>Enqueue a map operation of the allocated buffer. </p>
324 <dl class="params"><dt>Parameters</dt><dd>
325   <table class="params">
326     <tr><td class="paramdir">[in]</td><td class="paramname">blocking</td><td>If true, then the mapping will be ready to use by the time this method returns, else it is the caller's responsibility to flush the queue and wait for the mapping operation to have completed. </td></tr>
327   </table>
328   </dd>
329 </dl>
330
331 </div>
332 </div>
333 <a class="anchor" id="a5d11cfbbf69ebbd595d8aee3ecbafedb"></a>
334 <div class="memitem">
335 <div class="memproto">
336 <table class="mlabels">
337   <tr>
338   <td class="mlabels-left">
339       <table class="memname">
340         <tr>
341           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a>&amp; operator= </td>
342           <td>(</td>
343           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_distribution1_d.xhtml">CLDistribution1D</a> &amp;&#160;</td>
344           <td class="paramname"></td><td>)</td>
345           <td></td>
346         </tr>
347       </table>
348   </td>
349   <td class="mlabels-right">
350 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
351   </tr>
352 </table>
353 </div><div class="memdoc">
354
355 <p>Prevent instances of this class from being copied (As this class contains pointers). </p>
356
357 </div>
358 </div>
359 <a class="anchor" id="a1ffeb3b5abb3d61f62b58a391816201c"></a>
360 <div class="memitem">
361 <div class="memproto">
362       <table class="memname">
363         <tr>
364           <td class="memname">void unmap </td>
365           <td>(</td>
366           <td class="paramname"></td><td>)</td>
367           <td></td>
368         </tr>
369       </table>
370 </div><div class="memdoc">
371
372 <p>Enqueue an unmap operation of the allocated and mapped buffer. </p>
373 <dl class="section note"><dt>Note</dt><dd>This method simply enqueues the unmap operation, it is the caller's responsibility to flush the queue and make sure the unmap is finished before the memory is accessed by the device. </dd></dl>
374
375 </div>
376 </div>
377 <hr/>The documentation for this class was generated from the following file:<ul>
378 <li>arm_compute/runtime/CL/<a class="el" href="_c_l_distribution1_d_8h_source.xhtml">CLDistribution1D.h</a></li>
379 </ul>
380 </div><!-- contents -->
381 </div><!-- doc-content -->
382 <!-- start footer part -->
383 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
384   <ul>
385     <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_c_l_distribution1_d.xhtml">CLDistribution1D</a></li>
386     <li class="footer">Generated on Fri Mar 24 2017 17:23:50 for ARM Compute Library by
387     <a href="http://www.doxygen.org/index.html">
388     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
389   </ul>
390 </div>
391 </body>
392 </html>