cutlass/docs/classcutlass_1_1cuda__excep...

257 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::cuda_exception Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">CUTLASS
</div>
<div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="classcutlass_1_1cuda__exception.html">cuda_exception</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classcutlass_1_1cuda__exception-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::cuda_exception Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>C++ exception wrapper for CUDA <code>cudaError_t</code>.
</p>
<p><code>#include &lt;<a class="el" href="exceptions_8h_source.html">exceptions.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cutlass::cuda_exception:</div>
<div class="dyncontent">
<div class="center"><img src="classcutlass_1_1cuda__exception__inherit__graph.png" border="0" usemap="#cutlass_1_1cuda__exception_inherit__map" alt="Inheritance graph"/></div>
<map name="cutlass_1_1cuda__exception_inherit__map" id="cutlass_1_1cuda__exception_inherit__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for cutlass::cuda_exception:</div>
<div class="dyncontent">
<div class="center"><img src="classcutlass_1_1cuda__exception__coll__graph.png" border="0" usemap="#cutlass_1_1cuda__exception_coll__map" alt="Collaboration graph"/></div>
<map name="cutlass_1_1cuda__exception_coll__map" id="cutlass_1_1cuda__exception_coll__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acbfb99c9979ce7d24fe774459c66cfa5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1cuda__exception.html#acbfb99c9979ce7d24fe774459c66cfa5">cuda_exception</a> (const char *<a class="el" href="classcutlass_1_1cuda__exception.html#af748a69a87ad9863985f6a77260ba77a">msg</a>=&quot;&quot;, cudaError_t <a class="el" href="classcutlass_1_1cuda__exception.html#a1166c2a5331dbf394abd5309b4d1377a">err</a>=cudaErrorUnknown)</td></tr>
<tr class="memdesc:acbfb99c9979ce7d24fe774459c66cfa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#acbfb99c9979ce7d24fe774459c66cfa5">More...</a><br /></td></tr>
<tr class="separator:acbfb99c9979ce7d24fe774459c66cfa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e2363c04ed0a43e244b274cb21aebf1"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1cuda__exception.html#a5e2363c04ed0a43e244b274cb21aebf1">cudaError</a> () const </td></tr>
<tr class="memdesc:a5e2363c04ed0a43e244b274cb21aebf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the underlying CUDA <code>cudaError_t</code>. <a href="#a5e2363c04ed0a43e244b274cb21aebf1">More...</a><br /></td></tr>
<tr class="separator:a5e2363c04ed0a43e244b274cb21aebf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af748a69a87ad9863985f6a77260ba77a"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1cuda__exception.html#af748a69a87ad9863985f6a77260ba77a">msg</a></td></tr>
<tr class="memdesc:af748a69a87ad9863985f6a77260ba77a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explanatory string. <a href="#af748a69a87ad9863985f6a77260ba77a">More...</a><br /></td></tr>
<tr class="separator:af748a69a87ad9863985f6a77260ba77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1166c2a5331dbf394abd5309b4d1377a"><td class="memItemLeft" align="right" valign="top">cudaError_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1cuda__exception.html#a1166c2a5331dbf394abd5309b4d1377a">err</a></td></tr>
<tr class="memdesc:a1166c2a5331dbf394abd5309b4d1377a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Underlying CUDA <code>cudaError_t</code>. <a href="#a1166c2a5331dbf394abd5309b4d1377a">More...</a><br /></td></tr>
<tr class="separator:a1166c2a5331dbf394abd5309b4d1377a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acbfb99c9979ce7d24fe774459c66cfa5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cutlass::cuda_exception::cuda_exception </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>msg</em> = <code>&quot;&quot;</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">cudaError_t&#160;</td>
<td class="paramname"><em>err</em> = <code>cudaErrorUnknown</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5e2363c04ed0a43e244b274cb21aebf1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cudaError_t cutlass::cuda_exception::cudaError </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1166c2a5331dbf394abd5309b4d1377a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cudaError_t cutlass::cuda_exception::err</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af748a69a87ad9863985f6a77260ba77a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const char* cutlass::cuda_exception::msg</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="exceptions_8h_source.html">exceptions.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>