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">
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>Compute Library: arm_compute/core/Error.h File 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);
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(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
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" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.05</span>
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');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related Pages</span></a></li>
59 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
61 <li class="current"><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
69 <input type="text" id="MSearchField" value="Search" accesskey="S"
70 onfocus="searchBox.OnSearchFieldFocus(true)"
71 onblur="searchBox.OnSearchFieldFocus(false)"
72 onkeyup="searchBox.OnSearchFieldChange(event)"/>
73 </span><span class="right">
74 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
80 <div id="navrow2" class="tabs2">
82 <li><a href="files.xhtml"><span>File List</span></a></li>
83 <li><a href="globals.xhtml"><span>Globals</span></a></li>
87 <div id="side-nav" class="ui-resizable side-nav-resizable">
89 <div id="nav-tree-contents">
90 <div id="nav-sync" class="sync"></div>
93 <div id="splitbar" style="-moz-user-select:none;"
94 class="ui-resizable-handle">
97 <script type="text/javascript">
98 $(document).ready(function(){initNavTree('_error_8h.xhtml','');});
100 <div id="doc-content">
101 <!-- window showing the filter options -->
102 <div id="MSearchSelectWindow"
103 onmouseover="return searchBox.OnSearchSelectShow()"
104 onmouseout="return searchBox.OnSearchSelectHide()"
105 onkeydown="return searchBox.OnSearchSelectKey(event)">
108 <!-- iframe showing the search results (closed by default) -->
109 <div id="MSearchResultsWindow">
110 <iframe src="javascript:void(0)" frameborder="0"
111 name="MSearchResults" id="MSearchResults">
116 <div class="summary">
117 <a href="#nested-classes">Data Structures</a> |
118 <a href="#namespaces">Namespaces</a> |
119 <a href="#define-members">Macros</a> |
120 <a href="#enum-members">Enumerations</a> |
121 <a href="#func-members">Functions</a> </div>
122 <div class="headertitle">
123 <div class="title">Error.h File Reference</div> </div>
125 <div class="contents">
126 <div class="textblock"><code>#include <stdarg.h></code><br />
127 <code>#include <string></code><br />
129 <p><a href="_error_8h_source.xhtml">Go to the source code of this file.</a></p>
130 <table class="memberdecls">
131 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
132 Data Structures</h2></td></tr>
133 <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_status.xhtml">Status</a></td></tr>
134 <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classarm__compute_1_1_status.xhtml" title="Status class. ">Status</a> class. <a href="classarm__compute_1_1_status.xhtml#details">More...</a><br /></td></tr>
135 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
136 </table><table class="memberdecls">
137 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
138 Namespaces</h2></td></tr>
139 <tr class="memitem:namespacearm__compute"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></td></tr>
140 <tr class="memdesc:namespacearm__compute"><td class="mdescLeft"> </td><td class="mdescRight">This file contains all available output stages for GEMMLowp on OpenCL. <br /></td></tr>
141 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
142 </table><table class="memberdecls">
143 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
144 Macros</h2></td></tr>
145 <tr class="memitem:a6dc630a6ae9cc063b3924bcea8dee9d6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a6dc630a6ae9cc063b3924bcea8dee9d6">ARM_COMPUTE_UNUSED</a>(...)   <a class="el" href="namespacearm__compute.xhtml#a053a24bb37402fa4b4d8d5963976ba17">arm_compute::ignore_unused</a>(__VA_ARGS__)</td></tr>
146 <tr class="memdesc:a6dc630a6ae9cc063b3924bcea8dee9d6"><td class="mdescLeft"> </td><td class="mdescRight">To avoid unused variables warnings. <a href="#a6dc630a6ae9cc063b3924bcea8dee9d6">More...</a><br /></td></tr>
147 <tr class="separator:a6dc630a6ae9cc063b3924bcea8dee9d6"><td class="memSeparator" colspan="2"> </td></tr>
148 <tr class="memitem:a046fbca6a9505ce038bc02830c739fed"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a046fbca6a9505ce038bc02830c739fed">ARM_COMPUTE_CREATE_ERROR</a>(error_code, ...)   ::<a class="el" href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">arm_compute::create_error</a>(error_code, __func__, __FILE__, __LINE__, __VA_ARGS__)</td></tr>
149 <tr class="memdesc:a046fbca6a9505ce038bc02830c739fed"><td class="mdescLeft"> </td><td class="mdescRight">Creates an error with a given message. <a href="#a046fbca6a9505ce038bc02830c739fed">More...</a><br /></td></tr>
150 <tr class="separator:a046fbca6a9505ce038bc02830c739fed"><td class="memSeparator" colspan="2"> </td></tr>
151 <tr class="memitem:ac00c754f27b1201dd72c74b73239ff47"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#ac00c754f27b1201dd72c74b73239ff47">ARM_COMPUTE_CREATE_ERROR_LOC</a>(error_code, func, file, line, ...)   ::<a class="el" href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">arm_compute::create_error</a>(error_code, func, file, line, __VA_ARGS__)</td></tr>
152 <tr class="memdesc:ac00c754f27b1201dd72c74b73239ff47"><td class="mdescLeft"> </td><td class="mdescRight">Creates an error on location with a given message. <a href="#ac00c754f27b1201dd72c74b73239ff47">More...</a><br /></td></tr>
153 <tr class="separator:ac00c754f27b1201dd72c74b73239ff47"><td class="memSeparator" colspan="2"> </td></tr>
154 <tr class="memitem:a9561091f3566e78ad3aa39259bc4126a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a9561091f3566e78ad3aa39259bc4126a">ARM_COMPUTE_RETURN_ERROR_MSG</a>(...)</td></tr>
155 <tr class="memdesc:a9561091f3566e78ad3aa39259bc4126a"><td class="mdescLeft"> </td><td class="mdescRight">An error is returned with the given description. <a href="#a9561091f3566e78ad3aa39259bc4126a">More...</a><br /></td></tr>
156 <tr class="separator:a9561091f3566e78ad3aa39259bc4126a"><td class="memSeparator" colspan="2"> </td></tr>
157 <tr class="memitem:a8a1e1c105f0bdaf37db408c7cfcb77a4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a8a1e1c105f0bdaf37db408c7cfcb77a4">ARM_COMPUTE_RETURN_ON_ERROR</a>(status)</td></tr>
158 <tr class="memdesc:a8a1e1c105f0bdaf37db408c7cfcb77a4"><td class="mdescLeft"> </td><td class="mdescRight">Checks if a status contains an error and returns it. <a href="#a8a1e1c105f0bdaf37db408c7cfcb77a4">More...</a><br /></td></tr>
159 <tr class="separator:a8a1e1c105f0bdaf37db408c7cfcb77a4"><td class="memSeparator" colspan="2"> </td></tr>
160 <tr class="memitem:a51e206ee52bcfb358919ee478d9fdc47"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a51e206ee52bcfb358919ee478d9fdc47">ARM_COMPUTE_THROW_ON_ERROR</a>(error)   error.throw_if_error();</td></tr>
161 <tr class="memdesc:a51e206ee52bcfb358919ee478d9fdc47"><td class="mdescLeft"> </td><td class="mdescRight">Checks if an error value is valid if not throws an exception with the error. <a href="#a51e206ee52bcfb358919ee478d9fdc47">More...</a><br /></td></tr>
162 <tr class="separator:a51e206ee52bcfb358919ee478d9fdc47"><td class="memSeparator" colspan="2"> </td></tr>
163 <tr class="memitem:a86084036bd3851575ef871ad5bf079a7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a86084036bd3851575ef871ad5bf079a7">ARM_COMPUTE_RETURN_ERROR_ON_MSG</a>(cond, ...)</td></tr>
164 <tr class="memdesc:a86084036bd3851575ef871ad5bf079a7"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true, an error is returned. <a href="#a86084036bd3851575ef871ad5bf079a7">More...</a><br /></td></tr>
165 <tr class="separator:a86084036bd3851575ef871ad5bf079a7"><td class="memSeparator" colspan="2"> </td></tr>
166 <tr class="memitem:ab4ebbfbeedd9d66614ddbfdb14199cbf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#ab4ebbfbeedd9d66614ddbfdb14199cbf">ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG</a>(cond, func, file, line, ...)</td></tr>
167 <tr class="memdesc:ab4ebbfbeedd9d66614ddbfdb14199cbf"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true, an error is thrown. <a href="#ab4ebbfbeedd9d66614ddbfdb14199cbf">More...</a><br /></td></tr>
168 <tr class="separator:ab4ebbfbeedd9d66614ddbfdb14199cbf"><td class="memSeparator" colspan="2"> </td></tr>
169 <tr class="memitem:a206d6e247e0957ac3dee45d27756fc25"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a206d6e247e0957ac3dee45d27756fc25">ARM_COMPUTE_RETURN_ERROR_ON</a>(cond)   <a class="el" href="_error_8h.xhtml#a86084036bd3851575ef871ad5bf079a7">ARM_COMPUTE_RETURN_ERROR_ON_MSG</a>(cond, #cond)</td></tr>
170 <tr class="memdesc:a206d6e247e0957ac3dee45d27756fc25"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true, an error is returned. <a href="#a206d6e247e0957ac3dee45d27756fc25">More...</a><br /></td></tr>
171 <tr class="separator:a206d6e247e0957ac3dee45d27756fc25"><td class="memSeparator" colspan="2"> </td></tr>
172 <tr class="memitem:aab9171b209dda7cc9bb560486674c9f6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#aab9171b209dda7cc9bb560486674c9f6">ARM_COMPUTE_RETURN_ERROR_ON_LOC</a>(cond, func, file, line)   <a class="el" href="_error_8h.xhtml#ab4ebbfbeedd9d66614ddbfdb14199cbf">ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td></tr>
173 <tr class="memdesc:aab9171b209dda7cc9bb560486674c9f6"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true, an error is returned. <a href="#aab9171b209dda7cc9bb560486674c9f6">More...</a><br /></td></tr>
174 <tr class="separator:aab9171b209dda7cc9bb560486674c9f6"><td class="memSeparator" colspan="2"> </td></tr>
175 <tr class="memitem:a05b19c75afe9c24200a62b9724734bbd"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a>(...)   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(__func__, __FILE__, __LINE__, __VA_ARGS__)</td></tr>
176 <tr class="memdesc:a05b19c75afe9c24200a62b9724734bbd"><td class="mdescLeft"> </td><td class="mdescRight">Print the given message then throw an std::runtime_error. <a href="#a05b19c75afe9c24200a62b9724734bbd">More...</a><br /></td></tr>
177 <tr class="separator:a05b19c75afe9c24200a62b9724734bbd"><td class="memSeparator" colspan="2"> </td></tr>
178 <tr class="memitem:af93757c5021d1802b094dfbead459391"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#af93757c5021d1802b094dfbead459391">ARM_COMPUTE_ERROR_LOC</a>(func, file, line, ...)   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(func, file, line, __VA_ARGS__)</td></tr>
179 <tr class="memdesc:af93757c5021d1802b094dfbead459391"><td class="mdescLeft"> </td><td class="mdescRight">Print the given message then throw an std::runtime_error. <a href="#af93757c5021d1802b094dfbead459391">More...</a><br /></td></tr>
180 <tr class="separator:af93757c5021d1802b094dfbead459391"><td class="memSeparator" colspan="2"> </td></tr>
181 <tr class="memitem:a938dcd406ce611ef5345ad2531cdb948"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a938dcd406ce611ef5345ad2531cdb948">ARM_COMPUTE_ERROR_THROW_ON</a>(status)</td></tr>
182 <tr class="separator:a938dcd406ce611ef5345ad2531cdb948"><td class="memSeparator" colspan="2"> </td></tr>
183 <tr class="memitem:a5bbdcf574d3f5e412fa6a1117911e67b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, ...)</td></tr>
184 <tr class="separator:a5bbdcf574d3f5e412fa6a1117911e67b"><td class="memSeparator" colspan="2"> </td></tr>
185 <tr class="memitem:a1b62e396a1789909dadda61ea4cda96f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, ...)</td></tr>
186 <tr class="separator:a1b62e396a1789909dadda61ea4cda96f"><td class="memSeparator" colspan="2"> </td></tr>
187 <tr class="memitem:a50048c593c53405cca5b0d69dfe25554"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a50048c593c53405cca5b0d69dfe25554">ARM_COMPUTE_CONST_ON_ERROR</a>(cond, val, msg)   val</td></tr>
188 <tr class="separator:a50048c593c53405cca5b0d69dfe25554"><td class="memSeparator" colspan="2"> </td></tr>
189 <tr class="memitem:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(cond)   <a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, #cond)</td></tr>
190 <tr class="memdesc:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true then an error message is printed and an exception thrown. <a href="#a54a6080c9f4df1f908e57a9bbb46f5da">More...</a><br /></td></tr>
191 <tr class="separator:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="memSeparator" colspan="2"> </td></tr>
192 <tr class="memitem:ac90c3bce005225cbaa4a43740917bb58"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#ac90c3bce005225cbaa4a43740917bb58">ARM_COMPUTE_ERROR_ON_LOC</a>(cond, func, file, line)   <a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td></tr>
193 <tr class="memdesc:ac90c3bce005225cbaa4a43740917bb58"><td class="mdescLeft"> </td><td class="mdescRight">If the condition is true then an error message is printed and an exception thrown. <a href="#ac90c3bce005225cbaa4a43740917bb58">More...</a><br /></td></tr>
194 <tr class="separator:ac90c3bce005225cbaa4a43740917bb58"><td class="memSeparator" colspan="2"> </td></tr>
195 </table><table class="memberdecls">
196 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
197 Enumerations</h2></td></tr>
198 <tr class="memitem:a59e56af19e754a6aa26a612ebf91d05f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05f">ErrorCode</a> { <a class="el" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fae0aa021e21dddbd6d8cecec71e9cf564">OK</a>,
199 <a class="el" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">RUNTIME_ERROR</a>
200 }<tr class="memdesc:a59e56af19e754a6aa26a612ebf91d05f"><td class="mdescLeft"> </td><td class="mdescRight">Available error codes. <a href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05f">More...</a><br /></td></tr>
202 <tr class="separator:a59e56af19e754a6aa26a612ebf91d05f"><td class="memSeparator" colspan="2"> </td></tr>
203 </table><table class="memberdecls">
204 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
205 Functions</h2></td></tr>
206 <tr class="memitem:a053a24bb37402fa4b4d8d5963976ba17"><td class="memTemplParams" colspan="2">template<typename... T> </td></tr>
207 <tr class="memitem:a053a24bb37402fa4b4d8d5963976ba17"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a053a24bb37402fa4b4d8d5963976ba17">ignore_unused</a> (T &&...)</td></tr>
208 <tr class="memdesc:a053a24bb37402fa4b4d8d5963976ba17"><td class="mdescLeft"> </td><td class="mdescRight">Ignores unused arguments. <a href="namespacearm__compute.xhtml#a053a24bb37402fa4b4d8d5963976ba17">More...</a><br /></td></tr>
209 <tr class="separator:a053a24bb37402fa4b4d8d5963976ba17"><td class="memSeparator" colspan="2"> </td></tr>
210 <tr class="memitem:a2edb6ec8bea5c26d7d802d21caf64d02"><td class="memItemLeft" align="right" valign="top">Status </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a2edb6ec8bea5c26d7d802d21caf64d02">create_error_va_list</a> (ErrorCode error_code, const char *function, const char *file, const int line, const char *msg, va_list args)</td></tr>
211 <tr class="memdesc:a2edb6ec8bea5c26d7d802d21caf64d02"><td class="mdescLeft"> </td><td class="mdescRight">Creates an error containing the error message from variable argument list. <a href="namespacearm__compute.xhtml#a2edb6ec8bea5c26d7d802d21caf64d02">More...</a><br /></td></tr>
212 <tr class="separator:a2edb6ec8bea5c26d7d802d21caf64d02"><td class="memSeparator" colspan="2"> </td></tr>
213 <tr class="memitem:a3eee3c80d78ee4574a5eed0af5af919d"><td class="memItemLeft" align="right" valign="top">Status </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">create_error</a> (ErrorCode error_code, const char *function, const char *file, const int line, const char *msg,...)</td></tr>
214 <tr class="memdesc:a3eee3c80d78ee4574a5eed0af5af919d"><td class="mdescLeft"> </td><td class="mdescRight">Creates an error containing the error message. <a href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">More...</a><br /></td></tr>
215 <tr class="separator:a3eee3c80d78ee4574a5eed0af5af919d"><td class="memSeparator" colspan="2"> </td></tr>
216 <tr class="memitem:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">error</a> (const char *function, const char *file, const int line, const char *msg,...)</td></tr>
217 <tr class="memdesc:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="mdescLeft"> </td><td class="mdescRight">Print an error message then throw an std::runtime_error. <a href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">More...</a><br /></td></tr>
218 <tr class="separator:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="memSeparator" colspan="2"> </td></tr>
220 <h2 class="groupheader">Macro Definition Documentation</h2>
221 <a class="anchor" id="a50048c593c53405cca5b0d69dfe25554"></a>
222 <div class="memitem">
223 <div class="memproto">
224 <table class="memname">
226 <td class="memname">#define ARM_COMPUTE_CONST_ON_ERROR</td>
228 <td class="paramtype"> </td>
229 <td class="paramname">cond, </td>
232 <td class="paramkey"></td>
234 <td class="paramtype"> </td>
235 <td class="paramname">val, </td>
238 <td class="paramkey"></td>
240 <td class="paramtype"> </td>
241 <td class="paramname">msg </td>
246 <td></td><td>   val</td>
249 </div><div class="memdoc">
251 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00321">321</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
255 <a class="anchor" id="a046fbca6a9505ce038bc02830c739fed"></a>
256 <div class="memitem">
257 <div class="memproto">
258 <table class="memname">
260 <td class="memname">#define ARM_COMPUTE_CREATE_ERROR</td>
262 <td class="paramtype"> </td>
263 <td class="paramname">error_code, </td>
266 <td class="paramkey"></td>
268 <td class="paramtype"> </td>
269 <td class="paramname"><em>...</em> </td>
274 <td></td><td>   ::<a class="el" href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">arm_compute::create_error</a>(error_code, __func__, __FILE__, __LINE__, __VA_ARGS__)</td>
277 </div><div class="memdoc">
279 <p>Creates an error with a given message. </p>
280 <dl class="params"><dt>Parameters</dt><dd>
281 <table class="params">
282 <tr><td class="paramdir">[in]</td><td class="paramname">error_code</td><td>Error code. </td></tr>
283 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to encapsulate. </td></tr>
288 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00166">166</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
292 <a class="anchor" id="ac00c754f27b1201dd72c74b73239ff47"></a>
293 <div class="memitem">
294 <div class="memproto">
295 <table class="memname">
297 <td class="memname">#define ARM_COMPUTE_CREATE_ERROR_LOC</td>
299 <td class="paramtype"> </td>
300 <td class="paramname">error_code, </td>
303 <td class="paramkey"></td>
305 <td class="paramtype"> </td>
306 <td class="paramname">func, </td>
309 <td class="paramkey"></td>
311 <td class="paramtype"> </td>
312 <td class="paramname">file, </td>
315 <td class="paramkey"></td>
317 <td class="paramtype"> </td>
318 <td class="paramname">line, </td>
321 <td class="paramkey"></td>
323 <td class="paramtype"> </td>
324 <td class="paramname"><em>...</em> </td>
329 <td></td><td>   ::<a class="el" href="namespacearm__compute.xhtml#a3eee3c80d78ee4574a5eed0af5af919d">arm_compute::create_error</a>(error_code, func, file, line, __VA_ARGS__)</td>
332 </div><div class="memdoc">
334 <p>Creates an error on location with a given message. </p>
335 <dl class="params"><dt>Parameters</dt><dd>
336 <table class="params">
337 <tr><td class="paramdir">[in]</td><td class="paramname">error_code</td><td>Error code. </td></tr>
338 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
339 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
340 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
341 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr>
346 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00176">176</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
350 <a class="anchor" id="a05b19c75afe9c24200a62b9724734bbd"></a>
351 <div class="memitem">
352 <div class="memproto">
353 <table class="memname">
355 <td class="memname">#define ARM_COMPUTE_ERROR</td>
357 <td class="paramtype"> </td>
358 <td class="paramname"><em>...</em></td><td>)</td>
359 <td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(__func__, __FILE__, __LINE__, __VA_ARGS__)</td>
362 </div><div class="memdoc">
364 <p>Print the given message then throw an std::runtime_error. </p>
365 <dl class="params"><dt>Parameters</dt><dd>
366 <table class="params">
367 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr>
372 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00260">260</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
374 <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00154">NumPyAccessor::access_tensor()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00262">TopNPredictionsAccessor::access_tensor()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00314">RandomAccessor::access_tensor()</a>, <a class="el" href="validation_2reference_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="reference_2_channel_combine_8cpp_source.xhtml#l00092">arm_compute::test::validation::reference::channel_combine()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00318">arm_compute::channel_idx_from_format()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00107">arm_compute::data_size_from_type()</a>, <a class="el" href="_c_l_2_table_lookup_8cpp_source.xhtml#l00054">arm_compute::test::validation::DATA_TEST_CASE()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00213">arm_compute::data_type_from_format()</a>, <a class="el" href="reference_2_derivative_8cpp_source.xhtml#l00055">arm_compute::test::validation::reference::derivative()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00182">arm_compute::element_size_from_data_type()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00318">PPMLoader::fill_image()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00405">PPMLoader::fill_planar_tensor()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00882">arm_compute::utils::fill_random_tensor()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00588">NPYLoader::fill_tensor()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00555">AssetsLibrary::fill_tensor_uniform()</a>, <a class="el" href="reference_2_fixed_point_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::fixed_point_operation()</a>, <a class="el" href="tests_2validation_2_helpers_8h_source.xhtml#l00062">arm_compute::test::validation::get_activation_layer_test_bounds()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00340">arm_compute::get_data_layout_dimension_index()</a>, <a class="el" href="_n_e_direct_convolution_detail_8h_source.xhtml#l00704">arm_compute::detail::get_input_num_elems_processed()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00517">arm_compute::get_promoted_data_type()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00200">arm_compute::test::validation::get_tile()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00128">arm_compute::utils::get_typestring()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00688">arm_compute::test::get_typestring()</a>, <a class="el" href="_p_m_u_8h_source.xhtml#l00091">PMU::get_value()</a>, <a class="el" href="reference_2_im2_col_8cpp_source.xhtml#l00127">arm_compute::test::validation::reference::im2col()</a>, <a class="el" href="validation_2reference_2_l2_normalize_layer_8cpp_source.xhtml#l00051">arm_compute::test::validation::reference::l2_normalize()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00835">arm_compute::utils::load_trained_data()</a>, <a class="el" href="_mali_counter_8cpp_source.xhtml#l00110">MaliCounter::MaliCounter()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00152">MemoryGroupBase< TensorType >::mappings()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00442">arm_compute::num_planes_from_format()</a>, <a class="el" href="_p_m_u_8cpp_source.xhtml#l00069">PMU::open()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00270">PPMLoader::open()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00531">NPYLoader::open()</a>, <a class="el" href="_open_c_l_memory_usage_8cpp_source.xhtml#l00046">OpenCLMemoryUsage::OpenCLMemoryUsage()</a>, <a class="el" href="_open_c_l_timer_8cpp_source.xhtml#l00047">OpenCLTimer::OpenCLTimer()</a>, <a class="el" href="arm__compute_2graph_2_type_printer_8h_source.xhtml#l00061">arm_compute::graph::operator<<()</a>, <a class="el" href="utils_2_type_printer_8h_source.xhtml#l00075">arm_compute::operator<<()</a>, <a class="el" href="_lut_accessor_8h_source.xhtml#l00061">LutAccessor< T >::operator[]()</a>, <a class="el" href="_c_l_lut_accessor_8h_source.xhtml#l00067">CLLutAccessor< T >::operator[]()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00144">arm_compute::pixel_size_from_format()</a>, <a class="el" href="reference_2_pixel_wise_multiplication_8cpp_source.xhtml#l00131">arm_compute::test::validation::reference::pixel_wise_multiplication()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00254">arm_compute::plane_idx_from_channel()</a>, <a class="el" href="_p_m_u_counter_8h_source.xhtml#l00044">PMUCounter::PMUCounter()</a>, <a class="el" href="reference_2_reduction_operation_8cpp_source.xhtml#l00064">arm_compute::test::validation::reference::reduction_operation()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="_p_m_u_8cpp_source.xhtml#l00092">PMU::reset()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00763">arm_compute::utils::save_to_npy()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00682">arm_compute::utils::save_to_ppm()</a>, <a class="el" href="validation_2reference_2_scale_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="reference_2_scharr_8cpp_source.xhtml#l00062">arm_compute::test::validation::reference::scharr()</a>, <a class="el" href="reference_2_sobel_8cpp_source.xhtml#l00106">arm_compute::test::validation::reference::sobel()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00318">arm_compute::test::store_value_with_data_type()</a>, <a class="el" href="reference_2_threshold_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::threshold()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00205">TopNPredictionsAccessor::TopNPredictionsAccessor()</a>, <a class="el" href="_wall_clock_timer_8h_source.xhtml#l00045">WallClockTimer::WallClockTimer()</a>, <a class="el" href="reference_2_warp_affine_8cpp_source.xhtml#l00050">arm_compute::test::validation::reference::warp_affine()</a>, <a class="el" href="reference_2_warp_perspective_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::warp_perspective()</a>, and <a class="el" href="_mali_counter_8cpp_source.xhtml#l00147">MaliCounter::~MaliCounter()</a>.</p>
378 <a class="anchor" id="af93757c5021d1802b094dfbead459391"></a>
379 <div class="memitem">
380 <div class="memproto">
381 <table class="memname">
383 <td class="memname">#define ARM_COMPUTE_ERROR_LOC</td>
385 <td class="paramtype"> </td>
386 <td class="paramname">func, </td>
389 <td class="paramkey"></td>
391 <td class="paramtype"> </td>
392 <td class="paramname">file, </td>
395 <td class="paramkey"></td>
397 <td class="paramtype"> </td>
398 <td class="paramname">line, </td>
401 <td class="paramkey"></td>
403 <td class="paramtype"> </td>
404 <td class="paramname"><em>...</em> </td>
409 <td></td><td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(func, file, line, __VA_ARGS__)</td>
412 </div><div class="memdoc">
414 <p>Print the given message then throw an std::runtime_error. </p>
415 <dl class="params"><dt>Parameters</dt><dd>
416 <table class="params">
417 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
418 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
419 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
420 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr>
425 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00269">269</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
429 <a class="anchor" id="a54a6080c9f4df1f908e57a9bbb46f5da"></a>
430 <div class="memitem">
431 <div class="memproto">
432 <table class="memname">
434 <td class="memname">#define ARM_COMPUTE_ERROR_ON</td>
436 <td class="paramtype"> </td>
437 <td class="paramname">cond</td><td>)</td>
438 <td>   <a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, #cond)</td>
441 </div><div class="memdoc">
443 <p>If the condition is true then an error message is printed and an exception thrown. </p>
444 <dl class="params"><dt>Parameters</dt><dd>
445 <table class="params">
446 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate. </td></tr>
451 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00328">328</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
453 <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00154">NumPyAccessor::access_tensor()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00262">TopNPredictionsAccessor::access_tensor()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00241">AccessWindowHorizontal::AccessWindowHorizontal()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00137">AccessWindowRectangle::AccessWindowRectangle()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00220">AccessWindowVertical::AccessWindowVertical()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00128">MemoryGroupBase< TensorType >::acquire()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00315">ICLKernel::add_array_argument()</a>, <a class="el" href="_window_8inl_source.xhtml#l00119">Window::adjust()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00047">arm_compute::adjust_down()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00063">arm_compute::adjust_up()</a>, <a class="el" href="_b_f_s_8h_source.xhtml#l00045">arm_compute::graph::detail::all_inputs_are_visited()</a>, <a class="el" href="_mobile_net_v1_network_8h_source.xhtml#l00126">MobileNetV1Network< TensorType, Accessor, ActivationLayerFunction, BatchNormalizationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, DepthwiseConvolutionFunction, ReshapeFunction, PoolingLayerFunction, SoftmaxLayerFunction >::allocate()</a>, <a class="el" href="_array_accessor_8h_source.xhtml#l00072">ArrayAccessor< T >::at()</a>, <a class="el" href="_c_l_array_accessor_8h_source.xhtml#l00082">CLArrayAccessor< T >::at()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00118">IArray< NELKInternalKeypoint >::at()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00120">SubTensorInfo::auto_padding()</a>, <a class="el" href="_b_f_s_8h_source.xhtml#l00077">arm_compute::graph::bfs()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00077">arm_compute::test::validation::calculate_depth_concatenate_shape()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00651">arm_compute::calculate_depth_concatenate_shape()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00101">arm_compute::test::validation::calculate_width_concatenate_shape()</a>, <a class="el" href="_shape_calculator_8h_source.xhtml#l00382">arm_compute::misc::shape_calculator::calculate_width_concatenate_shape()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00064">arm_compute::ceil_to_multiple()</a>, <a class="el" href="_c_l_array_8h_source.xhtml#l00084">CLArray< T >::cl_buffer()</a>, <a class="el" href="_mobile_net_v1_network_8h_source.xhtml#l00243">MobileNetV1Network< TensorType, Accessor, ActivationLayerFunction, BatchNormalizationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, DepthwiseConvolutionFunction, ReshapeFunction, PoolingLayerFunction, SoftmaxLayerFunction >::clear()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00138">Dimensions< size_t >::collapse()</a>, <a class="el" href="_window_8inl_source.xhtml#l00090">Window::collapse()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00162">Dimensions< size_t >::collapse_from()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00601">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00482">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00816">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00649">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00419">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00758">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00918">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00875">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00312">arm_compute::colorconvert_rgb_to_rgbx()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00962">arm_compute::colorconvert_rgb_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00343">arm_compute::colorconvert_rgbx_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00698">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00546">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00374">arm_compute::colorconvert_yuyv_to_rgb()</a>, <a class="el" href="_validation_8h_source.xhtml#l00140">arm_compute::test::validation::compare_dimensions()</a>, <a class="el" href="_shape_calculator_8h_source.xhtml#l00187">arm_compute::misc::shape_calculator::compute_im2col_flatten_shape()</a>, <a class="el" href="_shape_calculator_8h_source.xhtml#l00056">arm_compute::misc::shape_calculator::compute_interleaved_shape()</a>, <a class="el" href="validation_2reference_2_min_max_location_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::compute_min_max()</a>, <a class="el" href="_shape_calculator_8h_source.xhtml#l00076">arm_compute::misc::shape_calculator::compute_transpose1xW_with_element_size_shape()</a>, <a class="el" href="_c_l_scheduler_8h_source.xhtml#l00137">CLScheduler::context()</a>, <a class="el" href="reference_2_convolution_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::convolution()</a>, <a class="el" href="_layers_8h_source.xhtml#l00138">BatchNormalizationLayer::create_layer()</a>, <a class="el" href="_layers_8h_source.xhtml#l00468">BranchLayer::create_layer()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00225">SubTensorInfo::data_layout()</a>, <a class="el" href="validation_2_c_l_2_harris_corners_8cpp_source.xhtml#l00058">arm_compute::test::validation::DATA_TEST_CASE()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00170">SubTensorInfo::data_type()</a>, <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00127">arm_compute::delta_bilinear_c1()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00184">arm_compute::delta_linear_c1_x()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00159">arm_compute::delta_linear_c1_y()</a>, <a class="el" href="validation_2reference_2_depth_concatenate_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::depthconcatenate_layer()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00130">SubTensorInfo::dimension()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00151">SubTensorInfo::element_size()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00122">arm_compute::execute_window_loop()</a>, <a class="el" href="_le_net5_network_8h_source.xhtml#l00141">LeNet5Network< TensorType, Accessor, ActivationLayerFunction, ConvolutionLayerFunction, FullyConnectedLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill()</a>, <a class="el" href="_alex_net_network_8h_source.xhtml#l00405">AlexNetNetwork< ITensorType, TensorType, SubTensorType, Accessor, ActivationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, FullyConnectedLayerFunction, NormalizationLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00318">PPMLoader::fill_image()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00405">PPMLoader::fill_planar_tensor()</a>, <a class="el" href="_mobile_net_v1_network_8h_source.xhtml#l00168">MobileNetV1Network< TensorType, Accessor, ActivationLayerFunction, BatchNormalizationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, DepthwiseConvolutionFunction, ReshapeFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill_random()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00588">NPYLoader::fill_tensor()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00643">AssetsLibrary::fill_tensor_uniform()</a>, <a class="el" href="_n_e_o_n_2_helper_8h_source.xhtml#l00041">arm_compute::test::fill_tensors()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00115">MemoryGroupBase< TensorType >::finalize_memory()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00146">SubTensorInfo::fixed_point_position()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00078">arm_compute::floor_to_multiple()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00175">SubTensorInfo::format()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00646">arm_compute::test::generate_random_keypoints()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00576">arm_compute::test::generate_random_rois()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00200">arm_compute::test::validation::get_tile()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00190">SubTensorInfo::has_padding()</a>, <a class="el" href="reference_2_h_o_g_detector_8cpp_source.xhtml#l00048">arm_compute::test::validation::reference::hog_detector()</a>, <a class="el" href="reference_2_h_o_g_multi_detection_8cpp_source.xhtml#l00138">arm_compute::test::validation::reference::hog_multi_detection()</a>, <a class="el" href="reference_2_im2_col_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::im2col_nchw()</a>, <a class="el" href="reference_2_im2_col_8cpp_source.xhtml#l00085">arm_compute::test::validation::reference::im2col_nhwc()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00167">Iterator::increment()</a>, <a class="el" href="_mobile_net_v1_network_8h_source.xhtml#l00063">MobileNetV1Network< TensorType, Accessor, ActivationLayerFunction, BatchNormalizationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, DepthwiseConvolutionFunction, ReshapeFunction, PoolingLayerFunction, SoftmaxLayerFunction >::init()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00301">PPMLoader::init_image()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00564">NPYLoader::init_tensor()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00195">SubTensorInfo::is_resizable()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00140">Iterator::Iterator()</a>, <a class="el" href="_framework_8cpp_source.xhtml#l00197">Framework::log_failed_expectation()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00097">MemoryGroupBase< TensorType >::manage()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00156">arm_compute::test::validation::matrix_multiply()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00087">MemoryGroupBase< TensorType >::MemoryGroupBase()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00160">SubTensorInfo::num_channels()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00140">SubTensorInfo::offset_first_element_in_bytes()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00270">PPMLoader::open()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00531">NPYLoader::open()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00103">Dimensions< size_t >::operator[]()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00637">PadStrideInfo::pad()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00185">SubTensorInfo::padding()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00032">arm_compute::pixel_area_c1u8_clamp()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00210">arm_compute::pixel_bilinear_c1()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00237">arm_compute::pixel_bilinear_c1_clamp()</a>, <a class="el" href="_cast_8h_source.xhtml#l00068">arm_compute::utils::cast::polymorphic_downcast()</a>, <a class="el" href="validation_2reference_2_pooling_layer_8cpp_source.xhtml#l00042">arm_compute::test::validation::reference::pooling_layer()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00079">IArray< NELKInternalKeypoint >::push_back()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00220">SubTensorInfo::quantization_info()</a>, <a class="el" href="_c_l_scheduler_8h_source.xhtml#l00156">CLScheduler::queue()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00139">MemoryGroupBase< TensorType >::release()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00110">TensorShape::remove_dimension()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00189">Iterator::reset()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00114">SubTensorInfo::reset_padding()</a>, <a class="el" href="validation_2reference_2_reshape_layer_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::reshape_layer()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00129">IArray< NELKInternalKeypoint >::resize()</a>, <a class="el" href="_assembly_helper_8h_source.xhtml#l00081">AssemblyKernelGlue< int8_t, int32_t >::run()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00763">arm_compute::utils::save_to_npy()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00682">arm_compute::utils::save_to_ppm()</a>, <a class="el" href="validation_2reference_2_scale_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="_window_8inl_source.xhtml#l00134">Window::scale()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00074">Dimensions< size_t >::set()</a>, <a class="el" href="_window_8inl_source.xhtml#l00041">Window::set()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00083">SubTensorInfo::set_data_layout()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00077">SubTensorInfo::set_data_type()</a>, <a class="el" href="_window_8inl_source.xhtml#l00143">Window::set_dimension_step()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00101">SubTensorInfo::set_fixed_point_position()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00095">SubTensorInfo::set_format()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00200">SubTensorInfo::set_is_resizable()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00089">SubTensorInfo::set_num_channels()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00108">SubTensorInfo::set_quantization_info()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00210">SubTensorInfo::set_valid_region()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00222">arm_compute::test::shape_to_valid_region()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00256">arm_compute::test::shape_to_valid_region_gaussian_pyramid_half()</a>, <a class="el" href="_window_8inl_source.xhtml#l00112">Window::shift()</a>, <a class="el" href="_window_8inl_source.xhtml#l00165">Window::split_window()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00135">SubTensorInfo::strides_in_bytes()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00165">SubTensorInfo::tensor_shape()</a>, <a class="el" href="_open_c_l_memory_usage_8cpp_source.xhtml#l00069">OpenCLMemoryUsage::test_start()</a>, <a class="el" href="_open_c_l_timer_8cpp_source.xhtml#l00080">OpenCLTimer::test_start()</a>, <a class="el" href="_scheduler_timer_8cpp_source.xhtml#l00091">SchedulerTimer::test_start()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00180">SubTensorInfo::total_size()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00179">TensorShape::total_size_lower()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00167">TensorShape::total_size_upper()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00181">arm_compute::test::validation::transpose_matrix()</a>, <a class="el" href="_window_8inl_source.xhtml#l00149">Window::validate()</a>, <a class="el" href="_validate_helpers_8h_source.xhtml#l00132">arm_compute::graph::backends::detail::validate_depthwise_convolution_layer()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00244">ValidRegion::ValidRegion()</a>, <a class="el" href="reference_2_width_concatenate_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::widthconcatenate_layer()</a>, <a class="el" href="reference_2_winograd_8cpp_source.xhtml#l00178">arm_compute::test::validation::reference::winograd_input_transform()</a>, and <a class="el" href="reference_2_winograd_8cpp_source.xhtml#l00334">arm_compute::test::validation::reference::winograd_output_transform()</a>.</p>
457 <a class="anchor" id="ac90c3bce005225cbaa4a43740917bb58"></a>
458 <div class="memitem">
459 <div class="memproto">
460 <table class="memname">
462 <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC</td>
464 <td class="paramtype"> </td>
465 <td class="paramname">cond, </td>
468 <td class="paramkey"></td>
470 <td class="paramtype"> </td>
471 <td class="paramname">func, </td>
474 <td class="paramkey"></td>
476 <td class="paramtype"> </td>
477 <td class="paramname">file, </td>
480 <td class="paramkey"></td>
482 <td class="paramtype"> </td>
483 <td class="paramname">line </td>
488 <td></td><td>   <a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td>
491 </div><div class="memdoc">
493 <p>If the condition is true then an error message is printed and an exception thrown. </p>
494 <dl class="params"><dt>Parameters</dt><dd>
495 <table class="params">
496 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate. </td></tr>
497 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
498 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
499 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
504 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00338">338</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
506 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00688">arm_compute::error_on_format_not_in()</a>.</p>
510 <a class="anchor" id="a1b62e396a1789909dadda61ea4cda96f"></a>
511 <div class="memitem">
512 <div class="memproto">
513 <table class="memname">
515 <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC_MSG</td>
517 <td class="paramtype"> </td>
518 <td class="paramname">cond, </td>
521 <td class="paramkey"></td>
523 <td class="paramtype"> </td>
524 <td class="paramname">func, </td>
527 <td class="paramkey"></td>
529 <td class="paramtype"> </td>
530 <td class="paramname">file, </td>
533 <td class="paramkey"></td>
535 <td class="paramtype"> </td>
536 <td class="paramname">line, </td>
539 <td class="paramkey"></td>
541 <td class="paramtype"> </td>
542 <td class="paramname"><em>...</em> </td>
550 </div><div class="memdoc">
552 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00320">320</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
554 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00688">arm_compute::error_on_format_not_in()</a>.</p>
558 <a class="anchor" id="a5bbdcf574d3f5e412fa6a1117911e67b"></a>
559 <div class="memitem">
560 <div class="memproto">
561 <table class="memname">
563 <td class="memname">#define ARM_COMPUTE_ERROR_ON_MSG</td>
565 <td class="paramtype"> </td>
566 <td class="paramname">cond, </td>
569 <td class="paramkey"></td>
571 <td class="paramtype"> </td>
572 <td class="paramname"><em>...</em> </td>
580 </div><div class="memdoc">
582 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00319">319</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
584 <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00176">PPMAccessor::access_tensor()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00397">NumPyBinLoader::access_tensor()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00077">arm_compute::test::validation::reference::accumulate_squared()</a>, <a class="el" href="reference_2_accumulate_8cpp_source.xhtml#l00057">arm_compute::test::validation::reference::accumulate_weighted()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00315">ICLKernel::add_array_argument()</a>, <a class="el" href="_assembly_helper_8h_source.xhtml#l00135">arm_compute::allocate_workspace()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00448">arm_compute::test::coord2index()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00322">arm_compute::coords2index()</a>, <a class="el" href="reference_2_deconvolution_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::deconvolution_layer()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00189">QuantizationInfo::dequantize()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00318">PPMLoader::fill_image()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00739">AssetsLibrary::fill_layer_data()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00405">PPMLoader::fill_planar_tensor()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00588">NPYLoader::fill_tensor()</a>, <a class="el" href="reference_2_fixed_point_pixel_wise_multiplication_8cpp_source.xhtml#l00037">arm_compute::test::validation::reference::fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00340">arm_compute::get_data_layout_dimension_index()</a>, <a class="el" href="reference_2_h_o_g_detector_8cpp_source.xhtml#l00048">arm_compute::test::validation::reference::hog_detector()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00419">arm_compute::test::index2coord()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00303">arm_compute::index2coords()</a>, <a class="el" href="_p_m_u_8cpp_source.xhtml#l00069">PMU::open()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00270">PPMLoader::open()</a>, <a class="el" href="utils_2_utils_8cpp_source.xhtml#l00144">arm_compute::utils::parse_ppm_header()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00177">QuantizationInfo::quantize()</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="_graph_utils_8h_source.xhtml#l00370">arm_compute::graph_utils::set_target_hint()</a>, <a class="el" href="_fixed_point_8inl_source.xhtml#l00055">arm_compute::sshr_qs16()</a>, <a class="el" href="_fixed_point_8inl_source.xhtml#l00048">arm_compute::sshr_qs8()</a>, <a class="el" href="_open_c_l_timer_8cpp_source.xhtml#l00080">OpenCLTimer::test_start()</a>, <a class="el" href="reference_2_winograd_8cpp_source.xhtml#l00261">arm_compute::test::validation::reference::winograd_filter_transform()</a>, and <a class="el" href="reference_2_winograd_8cpp_source.xhtml#l00334">arm_compute::test::validation::reference::winograd_output_transform()</a>.</p>
588 <a class="anchor" id="a938dcd406ce611ef5345ad2531cdb948"></a>
589 <div class="memitem">
590 <div class="memproto">
591 <table class="memname">
593 <td class="memname">#define ARM_COMPUTE_ERROR_THROW_ON</td>
595 <td class="paramtype"> </td>
596 <td class="paramname">status</td><td>)</td>
600 </div><div class="memdoc">
602 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00318">318</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
606 <a class="anchor" id="a9561091f3566e78ad3aa39259bc4126a"></a>
607 <div class="memitem">
608 <div class="memproto">
609 <table class="memname">
611 <td class="memname">#define ARM_COMPUTE_RETURN_ERROR_MSG</td>
613 <td class="paramtype"> </td>
614 <td class="paramname"><em>...</em></td><td>)</td>
618 </div><div class="memdoc">
619 <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div><div class="line"> { \</div><div class="line"> return <a class="code" href="_error_8h.xhtml#a046fbca6a9505ce038bc02830c739fed">ARM_COMPUTE_CREATE_ERROR</a>(<a class="code" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a>, __VA_ARGS__); \</div><div class="line"> } <span class="keywordflow">while</span>(<span class="keyword">false</span>)</div><div class="ttc" id="_error_8h_xhtml_a046fbca6a9505ce038bc02830c739fed"><div class="ttname"><a href="_error_8h.xhtml#a046fbca6a9505ce038bc02830c739fed">ARM_COMPUTE_CREATE_ERROR</a></div><div class="ttdeci">#define ARM_COMPUTE_CREATE_ERROR(error_code,...)</div><div class="ttdoc">Creates an error with a given message. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00166">Error.h:166</a></div></div>
620 <div class="ttc" id="namespacearm__compute_xhtml_a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579"><div class="ttname"><a href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a></div><div class="ttdoc">Generic runtime error. </div></div>
621 </div><!-- fragment -->
622 <p>An error is returned with the given description. </p>
623 <dl class="params"><dt>Parameters</dt><dd>
624 <table class="params">
625 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Error description message. </td></tr>
630 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00182">182</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
634 <a class="anchor" id="a206d6e247e0957ac3dee45d27756fc25"></a>
635 <div class="memitem">
636 <div class="memproto">
637 <table class="memname">
639 <td class="memname">#define ARM_COMPUTE_RETURN_ERROR_ON</td>
641 <td class="paramtype"> </td>
642 <td class="paramname">cond</td><td>)</td>
643 <td>   <a class="el" href="_error_8h.xhtml#a86084036bd3851575ef871ad5bf079a7">ARM_COMPUTE_RETURN_ERROR_ON_MSG</a>(cond, #cond)</td>
646 </div><div class="memdoc">
648 <p>If the condition is true, an error is returned. </p>
649 <dl class="params"><dt>Parameters</dt><dd>
650 <table class="params">
651 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate </td></tr>
656 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00243">243</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
658 <p>Referenced by <a class="el" href="arm__compute_2graph_2_utils_8h_source.xhtml#l00056">arm_compute::graph::set_tensor_accessor()</a>, <a class="el" href="_validate_helpers_8h_source.xhtml#l00067">arm_compute::graph::backends::detail::validate_convolution_layer()</a>, and <a class="el" href="_validate_helpers_8h_source.xhtml#l00132">arm_compute::graph::backends::detail::validate_depthwise_convolution_layer()</a>.</p>
662 <a class="anchor" id="aab9171b209dda7cc9bb560486674c9f6"></a>
663 <div class="memitem">
664 <div class="memproto">
665 <table class="memname">
667 <td class="memname">#define ARM_COMPUTE_RETURN_ERROR_ON_LOC</td>
669 <td class="paramtype"> </td>
670 <td class="paramname">cond, </td>
673 <td class="paramkey"></td>
675 <td class="paramtype"> </td>
676 <td class="paramname">func, </td>
679 <td class="paramkey"></td>
681 <td class="paramtype"> </td>
682 <td class="paramname">file, </td>
685 <td class="paramkey"></td>
687 <td class="paramtype"> </td>
688 <td class="paramname">line </td>
693 <td></td><td>   <a class="el" href="_error_8h.xhtml#ab4ebbfbeedd9d66614ddbfdb14199cbf">ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td>
696 </div><div class="memdoc">
698 <p>If the condition is true, an error is returned. </p>
699 <dl class="params"><dt>Parameters</dt><dd>
700 <table class="params">
701 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate. </td></tr>
702 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
703 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
704 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
709 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00253">253</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
711 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00835">arm_compute::error_on_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00795">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00721">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00457">arm_compute::error_on_mismatching_data_layouts()</a>, <a class="el" href="_validate_8h_source.xhtml#l00508">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00403">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="_validate_8h_source.xhtml#l00303">arm_compute::error_on_tensors_not_even()</a>, <a class="el" href="_validate_8h_source.xhtml#l00336">arm_compute::error_on_tensors_not_subsampled()</a>, and <a class="el" href="_validate_8h_source.xhtml#l01022">arm_compute::error_on_value_not_representable_in_fixed_point()</a>.</p>
715 <a class="anchor" id="ab4ebbfbeedd9d66614ddbfdb14199cbf"></a>
716 <div class="memitem">
717 <div class="memproto">
718 <table class="memname">
720 <td class="memname">#define ARM_COMPUTE_RETURN_ERROR_ON_LOC_MSG</td>
722 <td class="paramtype"> </td>
723 <td class="paramname">cond, </td>
726 <td class="paramkey"></td>
728 <td class="paramtype"> </td>
729 <td class="paramname">func, </td>
732 <td class="paramkey"></td>
734 <td class="paramtype"> </td>
735 <td class="paramname">file, </td>
738 <td class="paramkey"></td>
740 <td class="paramtype"> </td>
741 <td class="paramname">line, </td>
744 <td class="paramkey"></td>
746 <td class="paramtype"> </td>
747 <td class="paramname"><em>...</em> </td>
755 </div><div class="memdoc">
756 <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div><div class="line"> { \</div><div class="line"> if(cond) \</div><div class="line"> { \</div><div class="line"> return <a class="code" href="_error_8h.xhtml#ac00c754f27b1201dd72c74b73239ff47">ARM_COMPUTE_CREATE_ERROR_LOC</a>(<a class="code" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a>, func, file, line, __VA_ARGS__); \</div><div class="line"> } \</div><div class="line"> } <span class="keywordflow">while</span>(<span class="keyword">false</span>)</div><div class="ttc" id="_error_8h_xhtml_ac00c754f27b1201dd72c74b73239ff47"><div class="ttname"><a href="_error_8h.xhtml#ac00c754f27b1201dd72c74b73239ff47">ARM_COMPUTE_CREATE_ERROR_LOC</a></div><div class="ttdeci">#define ARM_COMPUTE_CREATE_ERROR_LOC(error_code, func, file, line,...)</div><div class="ttdoc">Creates an error on location with a given message. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00176">Error.h:176</a></div></div>
757 <div class="ttc" id="namespacearm__compute_xhtml_a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579"><div class="ttname"><a href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a></div><div class="ttdoc">Generic runtime error. </div></div>
758 </div><!-- fragment -->
759 <p>If the condition is true, an error is thrown. </p>
760 <dl class="params"><dt>Parameters</dt><dd>
761 <table class="params">
762 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate. </td></tr>
763 <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr>
764 <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr>
765 <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr>
766 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Error description message. </td></tr>
771 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00230">230</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
773 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00774">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00721">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00457">arm_compute::error_on_mismatching_data_layouts()</a>, <a class="el" href="_validate_8h_source.xhtml#l00508">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00562">arm_compute::error_on_mismatching_fixed_point()</a>, <a class="el" href="_validate_8h_source.xhtml#l00955">arm_compute::error_on_mismatching_fixed_point_position()</a>, <a class="el" href="_validate_8h_source.xhtml#l00627">arm_compute::error_on_mismatching_quantization_info()</a>, <a class="el" href="_validate_8h_source.xhtml#l00403">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="_validate_8h_source.xhtml#l00151">arm_compute::error_on_nullptr()</a>, <a class="el" href="_validate_8h_source.xhtml#l00303">arm_compute::error_on_tensors_not_even()</a>, <a class="el" href="_validate_8h_source.xhtml#l00336">arm_compute::error_on_tensors_not_subsampled()</a>, <a class="el" href="_validate_8h_source.xhtml#l01000">arm_compute::error_on_value_not_representable_in_fixed_point()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00093">compare_dimension< T >::operator()()</a>.</p>
777 <a class="anchor" id="a86084036bd3851575ef871ad5bf079a7"></a>
778 <div class="memitem">
779 <div class="memproto">
780 <table class="memname">
782 <td class="memname">#define ARM_COMPUTE_RETURN_ERROR_ON_MSG</td>
784 <td class="paramtype"> </td>
785 <td class="paramname">cond, </td>
788 <td class="paramkey"></td>
790 <td class="paramtype"> </td>
791 <td class="paramname"><em>...</em> </td>
799 </div><div class="memdoc">
800 <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div><div class="line"> { \</div><div class="line"> if(cond) \</div><div class="line"> { \</div><div class="line"> return <a class="code" href="_error_8h.xhtml#a046fbca6a9505ce038bc02830c739fed">ARM_COMPUTE_CREATE_ERROR</a>(<a class="code" href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a>, __VA_ARGS__); \</div><div class="line"> } \</div><div class="line"> } <span class="keywordflow">while</span>(<span class="keyword">false</span>)</div><div class="ttc" id="_error_8h_xhtml_a046fbca6a9505ce038bc02830c739fed"><div class="ttname"><a href="_error_8h.xhtml#a046fbca6a9505ce038bc02830c739fed">ARM_COMPUTE_CREATE_ERROR</a></div><div class="ttdeci">#define ARM_COMPUTE_CREATE_ERROR(error_code,...)</div><div class="ttdoc">Creates an error with a given message. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00166">Error.h:166</a></div></div>
801 <div class="ttc" id="namespacearm__compute_xhtml_a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579"><div class="ttname"><a href="namespacearm__compute.xhtml#a59e56af19e754a6aa26a612ebf91d05fa62be47fdd89da032cf78dfce82239579">arm_compute::ErrorCode::RUNTIME_ERROR</a></div><div class="ttdoc">Generic runtime error. </div></div>
802 </div><!-- fragment -->
803 <p>If the condition is true, an error is returned. </p>
804 <dl class="params"><dt>Parameters</dt><dd>
805 <table class="params">
806 <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate. </td></tr>
807 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Error description message </td></tr>
812 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00213">213</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
816 <a class="anchor" id="a8a1e1c105f0bdaf37db408c7cfcb77a4"></a>
817 <div class="memitem">
818 <div class="memproto">
819 <table class="memname">
821 <td class="memname">#define ARM_COMPUTE_RETURN_ON_ERROR</td>
823 <td class="paramtype"> </td>
824 <td class="paramname">status</td><td>)</td>
828 </div><div class="memdoc">
829 <b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> \</div><div class="line"> { \</div><div class="line"> if(!<span class="keywordtype">bool</span>(status)) \</div><div class="line"> { \</div><div class="line"> return status; \</div><div class="line"> } \</div><div class="line"> } <span class="keywordflow">while</span>(<span class="keyword">false</span>)</div></div><!-- fragment -->
830 <p>Checks if a status contains an error and returns it. </p>
831 <dl class="params"><dt>Parameters</dt><dd>
832 <table class="params">
833 <tr><td class="paramdir">[in]</td><td class="paramname">status</td><td>Status value to check </td></tr>
838 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00192">192</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
840 <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00774">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00749">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00457">arm_compute::error_on_mismatching_data_layouts()</a>, <a class="el" href="_validate_8h_source.xhtml#l00508">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00280">arm_compute::error_on_mismatching_dimensions()</a>, <a class="el" href="_validate_8h_source.xhtml#l00601">arm_compute::error_on_mismatching_fixed_point()</a>, <a class="el" href="_validate_8h_source.xhtml#l00978">arm_compute::error_on_mismatching_fixed_point_position()</a>, <a class="el" href="_validate_8h_source.xhtml#l00666">arm_compute::error_on_mismatching_quantization_info()</a>, <a class="el" href="_validate_8h_source.xhtml#l00403">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="_validate_8h_source.xhtml#l00303">arm_compute::error_on_tensors_not_even()</a>, <a class="el" href="_validate_8h_source.xhtml#l00336">arm_compute::error_on_tensors_not_subsampled()</a>, <a class="el" href="_validate_8h_source.xhtml#l01022">arm_compute::error_on_value_not_representable_in_fixed_point()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00114">arm_compute::detail::for_each_error()</a>.</p>
844 <a class="anchor" id="a51e206ee52bcfb358919ee478d9fdc47"></a>
845 <div class="memitem">
846 <div class="memproto">
847 <table class="memname">
849 <td class="memname">#define ARM_COMPUTE_THROW_ON_ERROR</td>
851 <td class="paramtype"> </td>
852 <td class="paramname">error</td><td>)</td>
853 <td>   error.throw_if_error();</td>
856 </div><div class="memdoc">
858 <p>Checks if an error value is valid if not throws an exception with the error. </p>
859 <dl class="params"><dt>Parameters</dt><dd>
860 <table class="params">
861 <tr><td class="paramdir">[in]</td><td class="paramname">error</td><td>Error value to check. </td></tr>
866 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00205">205</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
870 <a class="anchor" id="a6dc630a6ae9cc063b3924bcea8dee9d6"></a>
871 <div class="memitem">
872 <div class="memproto">
873 <table class="memname">
875 <td class="memname">#define ARM_COMPUTE_UNUSED</td>
877 <td class="paramtype"> </td>
878 <td class="paramname"><em>...</em></td><td>)</td>
879 <td>   <a class="el" href="namespacearm__compute.xhtml#a053a24bb37402fa4b4d8d5963976ba17">arm_compute::ignore_unused</a>(__VA_ARGS__)</td>
882 </div><div class="memdoc">
884 <p>To avoid unused variables warnings. </p>
885 <p>This is useful if for example a variable is only used in debug builds and generates a warning in release builds.</p>
886 <dl class="params"><dt>Parameters</dt><dd>
887 <table class="params">
888 <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Variables which are unused. </td></tr>
893 <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00159">159</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p>
895 <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00117">DummyAccessor::access_tensor()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00315">ICLKernel::add_array_argument()</a>, <a class="el" href="_assembly_helper_8h_source.xhtml#l00135">arm_compute::allocate_workspace()</a>, <a class="el" href="validation_2reference_2_batch_normalization_layer_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::batch_normalization_layer()</a>, <a class="el" href="_n_e_direct_convolution3x3_8h_source.xhtml#l00051">arm_compute::detail::convolve_3x3< 1 >()</a>, <a class="el" href="_n_e_direct_convolution_detail_8h_source.xhtml#l00186">arm_compute::detail::convolve_3x3< 2 >()</a>, <a class="el" href="_n_e_direct_convolution_detail_8h_source.xhtml#l00200">arm_compute::detail::convolve_3x3< 3 >()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00322">arm_compute::coords2index()</a>, <a class="el" href="validation_2_c_l_2_harris_corners_8cpp_source.xhtml#l00058">arm_compute::test::validation::DATA_TEST_CASE()</a>, <a class="el" href="reference_2_depth_convert_layer_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="_n_e_activation_function_detail_8h_source.xhtml#l00044">dummy< T, S >::dummy()</a>, <a class="el" href="_validate_8h_source.xhtml#l00688">arm_compute::error_on_format_not_in()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00318">PPMLoader::fill_image()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00405">PPMLoader::fill_planar_tensor()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00588">NPYLoader::fill_tensor()</a>, <a class="el" href="validation_2reference_2_fully_connected_layer_8cpp_source.xhtml#l00152">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="_n_e_direct_convolution_detail_8h_source.xhtml#l00044">arm_compute::detail::load_matrix_row()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00180">arm_compute::utils::map()</a>, <a class="el" href="reference_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_n_e_activation_function_detail_8h_source.xhtml#l00052">dummy< T, S >::operator()()</a>, <a class="el" href="utils_2_utils_8cpp_source.xhtml#l00144">arm_compute::utils::parse_ppm_header()</a>, <a class="el" href="_n_e_activation_function_detail_8h_source.xhtml#l00070">relu< T, S >::relu()</a>, <a class="el" href="validation_2reference_2_softmax_layer_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::softmax_layer()</a>, <a class="el" href="_n_e_direct_convolution_detail_8h_source.xhtml#l00531">arm_compute::detail::store_results< 3 >()</a>, <a class="el" href="_open_c_l_timer_8cpp_source.xhtml#l00080">OpenCLTimer::test_start()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00191">arm_compute::utils::unmap()</a>, and <a class="el" href="reference_2_winograd_8cpp_source.xhtml#l00334">arm_compute::test::validation::reference::winograd_output_transform()</a>.</p>
899 </div><!-- contents -->
900 </div><!-- doc-content -->
901 <!-- start footer part -->
902 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
904 <li class="navelem"><a class="el" href="dir_214608ef36d61442cb2b0c1c4e9a7def.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="dir_1fb090f0c6070330bfaccc4236d3ca0d.xhtml">core</a></li><li class="navelem"><a class="el" href="_error_8h.xhtml">Error.h</a></li>
905 <li class="footer">Generated on Wed May 23 2018 11:36:38 for Compute Library by
906 <a href="http://www.doxygen.org/index.html">
907 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>