Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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"/> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 7 | <meta name="generator" content="Doxygen 1.8.6"/> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 8 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 9 | <title>Compute Library: arm_compute/core/Error.h File Reference</title> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | $(window).load(resizeHeight); |
| 19 | </script> |
| 20 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <script type="text/javascript"> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 23 | $(document).ready(function() { searchBox.OnSelectItem(0); }); |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 24 | </script> |
| 25 | <script type="text/x-mathjax-config"> |
| 26 | MathJax.Hub.Config({ |
| 27 | extensions: ["tex2jax.js"], |
| 28 | jax: ["input/TeX","output/HTML-CSS"], |
| 29 | }); |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 30 | </script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 31 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 32 | </head> |
| 33 | <body> |
| 34 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 35 | <div id="titlearea"> |
| 36 | <table cellspacing="0" cellpadding="0"> |
| 37 | <tbody> |
| 38 | <tr style="height: 56px;"> |
| 39 | <td style="padding-left: 0.5em;"> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 40 | <div id="projectname">Compute Library |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 41 |  <span id="projectnumber">17.10</span> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 42 | </div> |
| 43 | </td> |
| 44 | </tr> |
| 45 | </tbody> |
| 46 | </table> |
| 47 | </div> |
| 48 | <!-- end header part --> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 49 | <!-- Generated by Doxygen 1.8.6 --> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 50 | <script type="text/javascript"> |
| 51 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 52 | </script> |
| 53 | <div id="navrow1" class="tabs"> |
| 54 | <ul class="tablist"> |
| 55 | <li><a href="index.xhtml"><span>Main Page</span></a></li> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 56 | <li><a href="pages.xhtml"><span>Related Pages</span></a></li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 57 | <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li> |
| 58 | <li><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| 59 | <li class="current"><a href="files.xhtml"><span>Files</span></a></li> |
| 60 | <li> |
| 61 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 62 | <span class="left"> |
| 63 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 64 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 65 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 66 | alt=""/> |
| 67 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 68 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 69 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 70 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 71 | </span><span class="right"> |
| 72 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 73 | </span> |
| 74 | </div> |
| 75 | </li> |
| 76 | </ul> |
| 77 | </div> |
| 78 | <div id="navrow2" class="tabs2"> |
| 79 | <ul class="tablist"> |
| 80 | <li><a href="files.xhtml"><span>File List</span></a></li> |
| 81 | <li><a href="globals.xhtml"><span>Globals</span></a></li> |
| 82 | </ul> |
| 83 | </div> |
| 84 | </div><!-- top --> |
| 85 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 86 | <div id="nav-tree"> |
| 87 | <div id="nav-tree-contents"> |
| 88 | <div id="nav-sync" class="sync"></div> |
| 89 | </div> |
| 90 | </div> |
| 91 | <div id="splitbar" style="-moz-user-select:none;" |
| 92 | class="ui-resizable-handle"> |
| 93 | </div> |
| 94 | </div> |
| 95 | <script type="text/javascript"> |
| 96 | $(document).ready(function(){initNavTree('_error_8h.xhtml','');}); |
| 97 | </script> |
| 98 | <div id="doc-content"> |
| 99 | <!-- window showing the filter options --> |
| 100 | <div id="MSearchSelectWindow" |
| 101 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 102 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 103 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 104 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 105 | |
| 106 | <!-- iframe showing the search results (closed by default) --> |
| 107 | <div id="MSearchResultsWindow"> |
| 108 | <iframe src="javascript:void(0)" frameborder="0" |
| 109 | name="MSearchResults" id="MSearchResults"> |
| 110 | </iframe> |
| 111 | </div> |
| 112 | |
| 113 | <div class="header"> |
| 114 | <div class="summary"> |
| 115 | <a href="#namespaces">Namespaces</a> | |
| 116 | <a href="#define-members">Macros</a> | |
| 117 | <a href="#func-members">Functions</a> </div> |
| 118 | <div class="headertitle"> |
| 119 | <div class="title">Error.h File Reference</div> </div> |
| 120 | </div><!--header--> |
| 121 | <div class="contents"> |
| 122 | |
| 123 | <p><a href="_error_8h_source.xhtml">Go to the source code of this file.</a></p> |
| 124 | <table class="memberdecls"> |
| 125 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 126 | Namespaces</h2></td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 127 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 128 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | </table><table class="memberdecls"> |
| 130 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 131 | Macros</h2></td></tr> |
| 132 | <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> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 133 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 134 | <tr class="separator:a05b19c75afe9c24200a62b9724734bbd"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 135 | <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> |
| 136 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 137 | <tr class="separator:af93757c5021d1802b094dfbead459391"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a4103adbb45806b2f2002d44b91d0d206"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a4103adbb45806b2f2002d44b91d0d206">ARM_COMPUTE_UNUSED</a>(var)   (void)(var)</td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 139 | <tr class="memdesc:a4103adbb45806b2f2002d44b91d0d206"><td class="mdescLeft"> </td><td class="mdescRight">To avoid unused variables warnings. <a href="#a4103adbb45806b2f2002d44b91d0d206">More...</a><br/></td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 140 | <tr class="separator:a4103adbb45806b2f2002d44b91d0d206"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 141 | <tr class="memitem:a8a89ba1af4a8a70df25753e354d41641"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#a8a89ba1af4a8a70df25753e354d41641">ARM_COMPUTE_INFO_ON_MSG</a>(cond,...)</td></tr> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 142 | <tr class="separator:a8a89ba1af4a8a70df25753e354d41641"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:ae0ebdb75cd00c490fadb20f25b67ec90"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_error_8h.xhtml#ae0ebdb75cd00c490fadb20f25b67ec90">ARM_COMPUTE_INFO</a>(...)</td></tr> |
| 144 | <tr class="separator:ae0ebdb75cd00c490fadb20f25b67ec90"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 145 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 146 | <tr class="separator:a5bbdcf574d3f5e412fa6a1117911e67b"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 147 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 148 | <tr class="separator:a1b62e396a1789909dadda61ea4cda96f"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 149 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 150 | <tr class="separator:a50048c593c53405cca5b0d69dfe25554"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <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> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 152 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 153 | <tr class="separator:a54a6080c9f4df1f908e57a9bbb46f5da"><td class="memSeparator" colspan="2"> </td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 154 | <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> |
| 155 | <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> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 156 | <tr class="separator:ac90c3bce005225cbaa4a43740917bb58"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | </table><table class="memberdecls"> |
| 158 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 159 | Functions</h2></td></tr> |
| 160 | <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> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 161 | <tr class="memdesc:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="mdescLeft"> </td><td class="mdescRight">Print an error message then throw an std::runtime_error. <a href="#a568b0fbfa3d903099d9c9f7b6acf188d">More...</a><br/></td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 162 | <tr class="separator:a568b0fbfa3d903099d9c9f7b6acf188d"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 163 | <tr class="memitem:a5930b66fce0674d707fbf4f2dfcacc8f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml#a5930b66fce0674d707fbf4f2dfcacc8f">debug</a> (const char *function, const char *file, const int line, const char *msg,...)</td></tr> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 164 | <tr class="memdesc:a5930b66fce0674d707fbf4f2dfcacc8f"><td class="mdescLeft"> </td><td class="mdescRight">Print a debug message. <a href="#a5930b66fce0674d707fbf4f2dfcacc8f">More...</a><br/></td></tr> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 165 | <tr class="separator:a5930b66fce0674d707fbf4f2dfcacc8f"><td class="memSeparator" colspan="2"> </td></tr> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 166 | </table> |
| 167 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 168 | <a class="anchor" id="a50048c593c53405cca5b0d69dfe25554"></a> |
| 169 | <div class="memitem"> |
| 170 | <div class="memproto"> |
| 171 | <table class="memname"> |
| 172 | <tr> |
| 173 | <td class="memname">#define ARM_COMPUTE_CONST_ON_ERROR</td> |
| 174 | <td>(</td> |
| 175 | <td class="paramtype"> </td> |
| 176 | <td class="paramname">cond, </td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td class="paramkey"></td> |
| 180 | <td></td> |
| 181 | <td class="paramtype"> </td> |
| 182 | <td class="paramname">val, </td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <td class="paramkey"></td> |
| 186 | <td></td> |
| 187 | <td class="paramtype"> </td> |
| 188 | <td class="paramname">msg </td> |
| 189 | </tr> |
| 190 | <tr> |
| 191 | <td></td> |
| 192 | <td>)</td> |
| 193 | <td></td><td>   val</td> |
| 194 | </tr> |
| 195 | </table> |
| 196 | </div><div class="memdoc"> |
| 197 | |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 198 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00117">117</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 199 | |
| 200 | </div> |
| 201 | </div> |
| 202 | <a class="anchor" id="a05b19c75afe9c24200a62b9724734bbd"></a> |
| 203 | <div class="memitem"> |
| 204 | <div class="memproto"> |
| 205 | <table class="memname"> |
| 206 | <tr> |
| 207 | <td class="memname">#define ARM_COMPUTE_ERROR</td> |
| 208 | <td>(</td> |
| 209 | <td class="paramtype"> </td> |
| 210 | <td class="paramname"><em>...</em></td><td>)</td> |
| 211 | <td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(__func__, __FILE__, __LINE__, __VA_ARGS__)</td> |
| 212 | </tr> |
| 213 | </table> |
| 214 | </div><div class="memdoc"> |
| 215 | |
| 216 | <p>Print the given message then throw an std::runtime_error. </p> |
| 217 | <dl class="params"><dt>Parameters</dt><dd> |
| 218 | <table class="params"> |
| 219 | <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr> |
| 220 | </table> |
| 221 | </dd> |
| 222 | </dl> |
| 223 | |
| 224 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00031">31</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
| 225 | |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 226 | <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00122">RandomAccessor::access_tensor()</a>, <a class="el" href="_graph_utils_8cpp_source.xhtml#l00205">NumPyBinLoader::access_tensor()</a>, <a class="el" href="validation_2_c_p_p_2_activation_layer_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::activation_layer()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00088">arm_compute::data_size_from_type()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00192">arm_compute::data_type_from_format()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00162">arm_compute::element_size_from_data_type()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00187">PPMLoader::fill_image()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00656">AssetsLibrary::fill_layer_data()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00474">AssetsLibrary::fill_tensor_uniform()</a>, <a class="el" href="_c_p_p_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="utils_2_utils_8h_source.xhtml#l00411">arm_compute::utils::get_typestring()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00445">arm_compute::test::get_typestring()</a>, <a class="el" href="_p_m_u_8h_source.xhtml#l00084">PMU::get_value()</a>, <a class="el" href="_c_p_p_2_l2_normalize_8cpp_source.xhtml#l00051">arm_compute::test::validation::reference::l2_normalize()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00357">arm_compute::utils::load_trained_data()</a>, <a class="el" href="_c_p_p_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="_simple_tensor_8h_source.xhtml#l00278">SimpleTensor< T >::num_channels()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00280">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#l00139">PPMLoader::open()</a>, <a class="el" href="_graph_type_printer_8h_source.xhtml#l00038">arm_compute::graph::operator<<()</a>, <a class="el" href="_type_printer_8h_source.xhtml#l00058">arm_compute::operator<<()</a>, <a class="el" href="_lut_accessor_8h_source.xhtml#l00057">LutAccessor< T >::operator[]()</a>, <a class="el" href="_c_l_lut_accessor_8h_source.xhtml#l00062">CLLutAccessor< T >::operator[]()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00124">arm_compute::pixel_size_from_format()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00233">arm_compute::plane_idx_from_channel()</a>, <a class="el" href="_c_p_p_2_reduction_operation_8cpp_source.xhtml#l00064">arm_compute::test::validation::reference::reduction_operation()</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#l00281">arm_compute::utils::save_to_ppm()</a>, <a class="el" href="_c_p_p_2_scale_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00224">arm_compute::test::store_value_with_data_type()</a>, <a class="el" href="_c_p_p_2_threshold_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::threshold()</a>, <a class="el" href="_c_p_p_2_warp_affine_8cpp_source.xhtml#l00050">arm_compute::test::validation::reference::warp_affine()</a>, and <a class="el" href="_c_p_p_2_warp_perspective_8cpp_source.xhtml#l00038">arm_compute::test::validation::reference::warp_perspective()</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 227 | |
| 228 | </div> |
| 229 | </div> |
| 230 | <a class="anchor" id="af93757c5021d1802b094dfbead459391"></a> |
| 231 | <div class="memitem"> |
| 232 | <div class="memproto"> |
| 233 | <table class="memname"> |
| 234 | <tr> |
| 235 | <td class="memname">#define ARM_COMPUTE_ERROR_LOC</td> |
| 236 | <td>(</td> |
| 237 | <td class="paramtype"> </td> |
| 238 | <td class="paramname">func, </td> |
| 239 | </tr> |
| 240 | <tr> |
| 241 | <td class="paramkey"></td> |
| 242 | <td></td> |
| 243 | <td class="paramtype"> </td> |
| 244 | <td class="paramname">file, </td> |
| 245 | </tr> |
| 246 | <tr> |
| 247 | <td class="paramkey"></td> |
| 248 | <td></td> |
| 249 | <td class="paramtype"> </td> |
| 250 | <td class="paramname">line, </td> |
| 251 | </tr> |
| 252 | <tr> |
| 253 | <td class="paramkey"></td> |
| 254 | <td></td> |
| 255 | <td class="paramtype"> </td> |
| 256 | <td class="paramname"><em>...</em> </td> |
| 257 | </tr> |
| 258 | <tr> |
| 259 | <td></td> |
| 260 | <td>)</td> |
| 261 | <td></td><td>   ::<a class="el" href="namespacearm__compute.xhtml#a568b0fbfa3d903099d9c9f7b6acf188d">arm_compute::error</a>(func, file, line, __VA_ARGS__)</td> |
| 262 | </tr> |
| 263 | </table> |
| 264 | </div><div class="memdoc"> |
| 265 | |
| 266 | <p>Print the given message then throw an std::runtime_error. </p> |
| 267 | <dl class="params"><dt>Parameters</dt><dd> |
| 268 | <table class="params"> |
| 269 | <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr> |
| 270 | <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr> |
| 271 | <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr> |
| 272 | <tr><td class="paramdir">[in]</td><td class="paramname">...</td><td>Message to display before aborting. </td></tr> |
| 273 | </table> |
| 274 | </dd> |
| 275 | </dl> |
| 276 | |
| 277 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00040">40</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
| 278 | |
| 279 | </div> |
| 280 | </div> |
| 281 | <a class="anchor" id="a54a6080c9f4df1f908e57a9bbb46f5da"></a> |
| 282 | <div class="memitem"> |
| 283 | <div class="memproto"> |
| 284 | <table class="memname"> |
| 285 | <tr> |
| 286 | <td class="memname">#define ARM_COMPUTE_ERROR_ON</td> |
| 287 | <td>(</td> |
| 288 | <td class="paramtype"> </td> |
| 289 | <td class="paramname">cond</td><td>)</td> |
| 290 | <td>   <a class="el" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(cond, #cond)</td> |
| 291 | </tr> |
| 292 | </table> |
| 293 | </div><div class="memdoc"> |
| 294 | |
| 295 | <p>If the condition is true then an error message is printed and an exception thrown. </p> |
| 296 | <dl class="params"><dt>Parameters</dt><dd> |
| 297 | <table class="params"> |
| 298 | <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate </td></tr> |
| 299 | </table> |
| 300 | </dd> |
| 301 | </dl> |
| 302 | |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 303 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00124">124</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 304 | |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 305 | <p>Referenced by <a class="el" href="_i_access_window_8h_source.xhtml#l00217">AccessWindowHorizontal::AccessWindowHorizontal()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00132">AccessWindowRectangle::AccessWindowRectangle()</a>, <a class="el" href="_i_access_window_8h_source.xhtml#l00196">AccessWindowVertical::AccessWindowVertical()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00124">MemoryGroupBase< typename >::acquire()</a>, <a class="el" href="_window_8inl_source.xhtml#l00082">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="_array_accessor_8h_source.xhtml#l00068">ArrayAccessor< T >::at()</a>, <a class="el" href="_c_l_array_accessor_8h_source.xhtml#l00078">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#l00087">SubTensorInfo::auto_padding()</a>, <a class="el" href="_helpers_8cpp_source.xhtml#l00074">arm_compute::test::validation::calculate_depth_concatenate_shape()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00430">arm_compute::calculate_depth_concatenate_shape()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00044">arm_compute::ceil_to_multiple()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00125">Dimensions< size_t >::collapse()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00550">arm_compute::colorconvert_iyuv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00445">arm_compute::colorconvert_iyuv_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00737">arm_compute::colorconvert_iyuv_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00591">arm_compute::colorconvert_nv12_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00389">arm_compute::colorconvert_nv12_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00686">arm_compute::colorconvert_nv12_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00825">arm_compute::colorconvert_rgb_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00789">arm_compute::colorconvert_rgb_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00303">arm_compute::colorconvert_rgb_to_rgbx()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00862">arm_compute::colorconvert_rgb_to_yuv4()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00327">arm_compute::colorconvert_rgbx_to_rgb()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00633">arm_compute::colorconvert_yuyv_to_iyuv()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00502">arm_compute::colorconvert_yuyv_to_nv12()</a>, <a class="el" href="_n_e_color_convert_helper_8inl_source.xhtml#l00351">arm_compute::colorconvert_yuyv_to_rgb()</a>, <a class="el" href="_c_p_p_2_min_max_location_8cpp_source.xhtml#l00035">arm_compute::test::validation::reference::compute_min_max()</a>, <a class="el" href="_c_l_scheduler_8h_source.xhtml#l00121">CLScheduler::context()</a>, <a class="el" href="_c_l_2_harris_corners_8cpp_source.xhtml#l00057">arm_compute::test::validation::DATA_TEST_CASE()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00132">SubTensorInfo::data_type()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00099">arm_compute::delta_bilinear_c1()</a>, <a class="el" href="_c_p_p_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#l00113">SubTensorInfo::element_size()</a>, <a class="el" href="_le_net5_network_8h_source.xhtml#l00136">LeNet5Network< TensorType, arm_compute::test::Accessor, ActivationLayerFunction, ConvolutionLayerFunction, FullyConnectedLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill()</a>, <a class="el" href="_alex_net_network_8h_source.xhtml#l00396">AlexNetNetwork< ITensorType, TensorType, SubTensorType, arm_compute::test::Accessor, ActivationLayerFunction, ConvolutionLayerFunction, DirectConvolutionLayerFunction, FullyConnectedLayerFunction, NormalizationLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00187">PPMLoader::fill_image()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00561">AssetsLibrary::fill_tensor_uniform()</a>, <a class="el" href="_helper_8h_source.xhtml#l00039">arm_compute::test::fill_tensors()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00114">MemoryGroupBase< typename >::finalize_memory()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00108">SubTensorInfo::fixed_point_position()</a>, <a class="el" href="arm__compute_2core_2_utils_8h_source.xhtml#l00052">arm_compute::floor_to_multiple()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00137">SubTensorInfo::format()</a>, <a class="el" href="validation_2_c_p_p_2_fully_connected_layer_8cpp_source.xhtml#l00089">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00395">arm_compute::test::generate_random_rois()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00152">SubTensorInfo::has_padding()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00166">Iterator::increment()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00170">PPMLoader::init_image()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00157">SubTensorInfo::is_resizable()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00140">Iterator::Iterator()</a>, <a class="el" href="_framework_8cpp_source.xhtml#l00166">Framework::log_failed_expectation()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00096">MemoryGroupBase< typename >::manage()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00086">MemoryGroupBase< typename >::MemoryGroupBase()</a>, <a class="el" href="_c_p_p_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#l00122">SubTensorInfo::num_channels()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00102">SubTensorInfo::offset_first_element_in_bytes()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00139">PPMLoader::open()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00103">Dimensions< size_t >::operator[]()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00147">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#l00131">arm_compute::pixel_bilinear_c1()</a>, <a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml#l00158">arm_compute::pixel_bilinear_c1_clamp()</a>, <a class="el" href="_i_array_8h_source.xhtml#l00079">IArray< NELKInternalKeypoint >::push_back()</a>, <a class="el" href="_c_l_scheduler_8h_source.xhtml#l00140">CLScheduler::queue()</a>, <a class="el" href="_memory_group_base_8h_source.xhtml#l00135">MemoryGroupBase< typename >::release()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00101">TensorShape::remove_dimension()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00188">Iterator::reset()</a>, <a class="el" href="_c_p_p_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="utils_2_utils_8h_source.xhtml#l00281">arm_compute::utils::save_to_ppm()</a>, <a class="el" href="_c_p_p_2_scale_8cpp_source.xhtml#l00039">arm_compute::test::validation::reference::scale()</a>, <a class="el" href="_window_8inl_source.xhtml#l00097">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#l00040">Window::set()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00066">SubTensorInfo::set_data_type()</a>, <a class="el" href="_window_8inl_source.xhtml#l00106">Window::set_dimension_step()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00081">SubTensorInfo::set_fixed_point_position()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00076">SubTensorInfo::set_format()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00162">SubTensorInfo::set_is_resizable()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00071">SubTensorInfo::set_num_channels()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00171">SubTensorInfo::set_valid_region()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00193">arm_compute::test::shape_to_valid_region()</a>, <a class="el" href="_window_8inl_source.xhtml#l00075">Window::shift()</a>, <a class="el" href="_window_8inl_source.xhtml#l00129">Window::split_window()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00097">SubTensorInfo::strides_in_bytes()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00127">SubTensorInfo::tensor_shape()</a>, <a class="el" href="_sub_tensor_info_8h_source.xhtml#l00142">SubTensorInfo::total_size()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00157">TensorShape::total_size_lower()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00145">TensorShape::total_size_upper()</a>, and <a class="el" href="_window_8inl_source.xhtml#l00112">Window::validate()</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 306 | |
| 307 | </div> |
| 308 | </div> |
| 309 | <a class="anchor" id="ac90c3bce005225cbaa4a43740917bb58"></a> |
| 310 | <div class="memitem"> |
| 311 | <div class="memproto"> |
| 312 | <table class="memname"> |
| 313 | <tr> |
| 314 | <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC</td> |
| 315 | <td>(</td> |
| 316 | <td class="paramtype"> </td> |
| 317 | <td class="paramname">cond, </td> |
| 318 | </tr> |
| 319 | <tr> |
| 320 | <td class="paramkey"></td> |
| 321 | <td></td> |
| 322 | <td class="paramtype"> </td> |
| 323 | <td class="paramname">func, </td> |
| 324 | </tr> |
| 325 | <tr> |
| 326 | <td class="paramkey"></td> |
| 327 | <td></td> |
| 328 | <td class="paramtype"> </td> |
| 329 | <td class="paramname">file, </td> |
| 330 | </tr> |
| 331 | <tr> |
| 332 | <td class="paramkey"></td> |
| 333 | <td></td> |
| 334 | <td class="paramtype"> </td> |
| 335 | <td class="paramname">line </td> |
| 336 | </tr> |
| 337 | <tr> |
| 338 | <td></td> |
| 339 | <td>)</td> |
| 340 | <td></td><td>   <a class="el" href="_error_8h.xhtml#a1b62e396a1789909dadda61ea4cda96f">ARM_COMPUTE_ERROR_ON_LOC_MSG</a>(cond, func, file, line, #cond)</td> |
| 341 | </tr> |
| 342 | </table> |
| 343 | </div><div class="memdoc"> |
| 344 | |
| 345 | <p>If the condition is true then an error message is printed and an exception thrown. </p> |
| 346 | <dl class="params"><dt>Parameters</dt><dd> |
| 347 | <table class="params"> |
| 348 | <tr><td class="paramdir">[in]</td><td class="paramname">cond</td><td>Condition to evaluate </td></tr> |
| 349 | <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Function in which the error occurred. </td></tr> |
| 350 | <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File in which the error occurred. </td></tr> |
| 351 | <tr><td class="paramdir">[in]</td><td class="paramname">line</td><td>Line in which the error occurred. </td></tr> |
| 352 | </table> |
| 353 | </dd> |
| 354 | </dl> |
| 355 | |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 356 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00134">134</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 357 | |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 358 | <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00452">arm_compute::error_on_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00387">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00356">arm_compute::error_on_format_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00271">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00241">arm_compute::error_on_mismatching_shapes()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00105">arm_compute::error_on_nullptr()</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 359 | |
| 360 | </div> |
| 361 | </div> |
| 362 | <a class="anchor" id="a1b62e396a1789909dadda61ea4cda96f"></a> |
| 363 | <div class="memitem"> |
| 364 | <div class="memproto"> |
| 365 | <table class="memname"> |
| 366 | <tr> |
| 367 | <td class="memname">#define ARM_COMPUTE_ERROR_ON_LOC_MSG</td> |
| 368 | <td>(</td> |
| 369 | <td class="paramtype"> </td> |
| 370 | <td class="paramname">cond, </td> |
| 371 | </tr> |
| 372 | <tr> |
| 373 | <td class="paramkey"></td> |
| 374 | <td></td> |
| 375 | <td class="paramtype"> </td> |
| 376 | <td class="paramname">func, </td> |
| 377 | </tr> |
| 378 | <tr> |
| 379 | <td class="paramkey"></td> |
| 380 | <td></td> |
| 381 | <td class="paramtype"> </td> |
| 382 | <td class="paramname">file, </td> |
| 383 | </tr> |
| 384 | <tr> |
| 385 | <td class="paramkey"></td> |
| 386 | <td></td> |
| 387 | <td class="paramtype"> </td> |
| 388 | <td class="paramname">line, </td> |
| 389 | </tr> |
| 390 | <tr> |
| 391 | <td class="paramkey"></td> |
| 392 | <td></td> |
| 393 | <td class="paramtype"> </td> |
| 394 | <td class="paramname"><em>...</em> </td> |
| 395 | </tr> |
| 396 | <tr> |
| 397 | <td></td> |
| 398 | <td>)</td> |
| 399 | <td></td><td></td> |
| 400 | </tr> |
| 401 | </table> |
| 402 | </div><div class="memdoc"> |
| 403 | |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 404 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00116">116</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 405 | |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 406 | <p>Referenced by <a class="el" href="_validate_8h_source.xhtml#l00419">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00387">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00356">arm_compute::error_on_format_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00271">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00309">arm_compute::error_on_mismatching_fixed_point()</a>, <a class="el" href="_validate_8h_source.xhtml#l00542">arm_compute::error_on_mismatching_fixed_point_position()</a>, <a class="el" href="_validate_8h_source.xhtml#l00241">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="_validate_8h_source.xhtml#l00565">arm_compute::error_on_value_not_representable_in_fixed_point()</a>, and <a class="el" href="_validate_8h_source.xhtml#l00084">compare_dimension< T >::operator()()</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 407 | |
| 408 | </div> |
| 409 | </div> |
| 410 | <a class="anchor" id="a5bbdcf574d3f5e412fa6a1117911e67b"></a> |
| 411 | <div class="memitem"> |
| 412 | <div class="memproto"> |
| 413 | <table class="memname"> |
| 414 | <tr> |
| 415 | <td class="memname">#define ARM_COMPUTE_ERROR_ON_MSG</td> |
| 416 | <td>(</td> |
| 417 | <td class="paramtype"> </td> |
| 418 | <td class="paramname">cond, </td> |
| 419 | </tr> |
| 420 | <tr> |
| 421 | <td class="paramkey"></td> |
| 422 | <td></td> |
| 423 | <td class="paramtype"> </td> |
| 424 | <td class="paramname"><em>...</em> </td> |
| 425 | </tr> |
| 426 | <tr> |
| 427 | <td></td> |
| 428 | <td>)</td> |
| 429 | <td></td><td></td> |
| 430 | </tr> |
| 431 | </table> |
| 432 | </div><div class="memdoc"> |
| 433 | |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 434 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00115">115</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 435 | |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 436 | <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00205">NumPyBinLoader::access_tensor()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00240">ICLKernel::add_array_argument()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00337">arm_compute::test::coord2index()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00307">arm_compute::coords2index()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00187">PPMLoader::fill_image()</a>, <a class="el" href="_assets_library_8h_source.xhtml#l00656">AssetsLibrary::fill_layer_data()</a>, <a class="el" href="tests_2_utils_8h_source.xhtml#l00308">arm_compute::test::index2coord()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00288">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#l00139">PPMLoader::open()</a>, <a class="el" href="utils_2_utils_8cpp_source.xhtml#l00140">arm_compute::utils::parse_ppm_header()</a>, <a class="el" href="_fixed_point_8inl_source.xhtml#l00071">arm_compute::sshr_qs16()</a>, and <a class="el" href="_fixed_point_8inl_source.xhtml#l00064">arm_compute::sshr_qs8()</a>.</p> |
Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame] | 437 | |
| 438 | </div> |
| 439 | </div> |
| 440 | <a class="anchor" id="ae0ebdb75cd00c490fadb20f25b67ec90"></a> |
| 441 | <div class="memitem"> |
| 442 | <div class="memproto"> |
| 443 | <table class="memname"> |
| 444 | <tr> |
| 445 | <td class="memname">#define ARM_COMPUTE_INFO</td> |
| 446 | <td>(</td> |
| 447 | <td class="paramtype"> </td> |
| 448 | <td class="paramname"><em>...</em></td><td>)</td> |
| 449 | <td></td> |
| 450 | </tr> |
| 451 | </table> |
| 452 | </div><div class="memdoc"> |
| 453 | |
| 454 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00072">72</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
| 455 | |
| 456 | </div> |
| 457 | </div> |
| 458 | <a class="anchor" id="a8a89ba1af4a8a70df25753e354d41641"></a> |
| 459 | <div class="memitem"> |
| 460 | <div class="memproto"> |
| 461 | <table class="memname"> |
| 462 | <tr> |
| 463 | <td class="memname">#define ARM_COMPUTE_INFO_ON_MSG</td> |
| 464 | <td>(</td> |
| 465 | <td class="paramtype"> </td> |
| 466 | <td class="paramname">cond, </td> |
| 467 | </tr> |
| 468 | <tr> |
| 469 | <td class="paramkey"></td> |
| 470 | <td></td> |
| 471 | <td class="paramtype"> </td> |
| 472 | <td class="paramname"><em>...</em> </td> |
| 473 | </tr> |
| 474 | <tr> |
| 475 | <td></td> |
| 476 | <td>)</td> |
| 477 | <td></td><td></td> |
| 478 | </tr> |
| 479 | </table> |
| 480 | </div><div class="memdoc"> |
| 481 | |
| 482 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00071">71</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 483 | |
| 484 | </div> |
| 485 | </div> |
| 486 | <a class="anchor" id="a4103adbb45806b2f2002d44b91d0d206"></a> |
| 487 | <div class="memitem"> |
| 488 | <div class="memproto"> |
| 489 | <table class="memname"> |
| 490 | <tr> |
| 491 | <td class="memname">#define ARM_COMPUTE_UNUSED</td> |
| 492 | <td>(</td> |
| 493 | <td class="paramtype"> </td> |
| 494 | <td class="paramname">var</td><td>)</td> |
| 495 | <td>   (void)(var)</td> |
| 496 | </tr> |
| 497 | </table> |
| 498 | </div><div class="memdoc"> |
| 499 | |
| 500 | <p>To avoid unused variables warnings. </p> |
| 501 | <p>This is useful if for example a variable is only used in debug builds and generates a warning in release builds.</p> |
| 502 | <dl class="params"><dt>Parameters</dt><dd> |
| 503 | <table class="params"> |
| 504 | <tr><td class="paramdir">[in]</td><td class="paramname">var</td><td>Variable which is unused </td></tr> |
| 505 | </table> |
| 506 | </dd> |
| 507 | </dl> |
| 508 | |
| 509 | <p>Definition at line <a class="el" href="_error_8h_source.xhtml#l00049">49</a> of file <a class="el" href="_error_8h_source.xhtml">Error.h</a>.</p> |
| 510 | |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 511 | <p>Referenced by <a class="el" href="_graph_utils_8cpp_source.xhtml#l00075">DummyAccessor::access_tensor()</a>, <a class="el" href="_i_c_l_kernel_8h_source.xhtml#l00240">ICLKernel::add_array_argument()</a>, <a class="el" href="_helpers_8inl_source.xhtml#l00307">arm_compute::coords2index()</a>, <a class="el" href="_c_l_2_harris_corners_8cpp_source.xhtml#l00057">arm_compute::test::validation::DATA_TEST_CASE()</a>, <a class="el" href="_c_p_p_2_depth_convert_8cpp_source.xhtml#l00040">arm_compute::test::validation::reference::depth_convert()</a>, <a class="el" href="_validate_8h_source.xhtml#l00452">arm_compute::error_on_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00419">arm_compute::error_on_data_type_channel_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00387">arm_compute::error_on_data_type_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00356">arm_compute::error_on_format_not_in()</a>, <a class="el" href="_validate_8h_source.xhtml#l00271">arm_compute::error_on_mismatching_data_types()</a>, <a class="el" href="_validate_8h_source.xhtml#l00203">arm_compute::error_on_mismatching_dimensions()</a>, <a class="el" href="_validate_8h_source.xhtml#l00309">arm_compute::error_on_mismatching_fixed_point()</a>, <a class="el" href="_validate_8h_source.xhtml#l00542">arm_compute::error_on_mismatching_fixed_point_position()</a>, <a class="el" href="_validate_8h_source.xhtml#l00241">arm_compute::error_on_mismatching_shapes()</a>, <a class="el" href="_validate_8h_source.xhtml#l00565">arm_compute::error_on_value_not_representable_in_fixed_point()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00187">PPMLoader::fill_image()</a>, <a class="el" href="validation_2_c_p_p_2_fully_connected_layer_8cpp_source.xhtml#l00089">arm_compute::test::validation::reference::fully_connected_layer()</a>, <a class="el" href="neon__cnn_8cpp_source.xhtml#l00036">main_cnn()</a>, <a class="el" href="neon__copy__objects_8cpp_source.xhtml#l00035">main_neon_copy_objects()</a>, <a class="el" href="utils_2_utils_8h_source.xhtml#l00089">arm_compute::utils::map()</a>, <a class="el" href="_c_p_p_2_non_linear_filter_8cpp_source.xhtml#l00036">arm_compute::test::validation::reference::non_linear_filter()</a>, <a class="el" href="utils_2_utils_8cpp_source.xhtml#l00140">arm_compute::utils::parse_ppm_header()</a>, <a class="el" href="validation_2fixtures_2_fully_connected_layer_fixture_8h_source.xhtml#l00053">FullyConnectedLayerValidationFixedPointFixture< TensorType, AccessorType, FunctionType, T, run_interleave >::setup()</a>, and <a class="el" href="utils_2_utils_8h_source.xhtml#l00100">arm_compute::utils::unmap()</a>.</p> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 512 | |
| 513 | </div> |
| 514 | </div> |
| 515 | </div><!-- contents --> |
| 516 | </div><!-- doc-content --> |
| 517 | <!-- start footer part --> |
| 518 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 519 | <ul> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 520 | <li class="navelem"><a class="el" href="dir_d4d363c0979c7ffda4833df3f93b5668.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="dir_62e76289bb143101bef0ade0babfd908.xhtml">core</a></li><li class="navelem"><a class="el" href="_error_8h.xhtml">Error.h</a></li> |
Kaizen | bf8b01d | 2017-10-12 14:26:51 +0100 | [diff] [blame] | 521 | <li class="footer">Generated on Thu Oct 12 2017 14:26:34 for Compute Library by |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 522 | <a href="http://www.doxygen.org/index.html"> |
Kaizen | 8938bd3 | 2017-09-28 14:38:23 +0100 | [diff] [blame] | 523 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li> |
Anthony Barbier | 871448e | 2017-03-24 14:54:29 +0000 | [diff] [blame] | 524 | </ul> |
| 525 | </div> |
| 526 | </body> |
| 527 | </html> |