cutlass/docs/structcutlass_1_1integer__s...

583 lines
32 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::integer_subbyte&lt; Bits, Signed &gt; Struct Template 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="structcutlass_1_1integer__subbyte.html">integer_subbyte</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="structcutlass_1_1integer__subbyte-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::integer_subbyte&lt; Bits, Signed &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>4-bit signed integer type
</p>
<p><code>#include &lt;<a class="el" href="integer__subbyte_8h_source.html">integer_subbyte.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7a22007178d111cb4d400e3cda12448b"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a7a22007178d111cb4d400e3cda12448b">T</a> = typename std::conditional&lt; <a class="el" href="structcutlass_1_1integer__subbyte.html#ad38de198bfeed16a06a524cb299f38b5">kSigned</a>, int, unsigned &gt;::type</td></tr>
<tr class="memdesc:a7a22007178d111cb4d400e3cda12448b"><td class="mdescLeft">&#160;</td><td class="mdescRight">External type. <a href="#a7a22007178d111cb4d400e3cda12448b">More...</a><br /></td></tr>
<tr class="separator:a7a22007178d111cb4d400e3cda12448b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ebca5cccb6c23b8e5bb012527337b1f"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a> = uint8_t</td></tr>
<tr class="memdesc:a9ebca5cccb6c23b8e5bb012527337b1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage type. <a href="#a9ebca5cccb6c23b8e5bb012527337b1f">More...</a><br /></td></tr>
<tr class="separator:a9ebca5cccb6c23b8e5bb012527337b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:ab893ce5c4d31dd0485fb327dbcdd4d4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#ab893ce5c4d31dd0485fb327dbcdd4d4c">integer_subbyte</a> ()</td></tr>
<tr class="memdesc:ab893ce5c4d31dd0485fb327dbcdd4d4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">No operation. <a href="#ab893ce5c4d31dd0485fb327dbcdd4d4c">More...</a><br /></td></tr>
<tr class="separator:ab893ce5c4d31dd0485fb327dbcdd4d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83fbb796074a21304ca685ac3fb2d02b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a83fbb796074a21304ca685ac3fb2d02b">integer_subbyte</a> (int value)</td></tr>
<tr class="memdesc:a83fbb796074a21304ca685ac3fb2d02b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion from integer type. <a href="#a83fbb796074a21304ca685ac3fb2d02b">More...</a><br /></td></tr>
<tr class="separator:a83fbb796074a21304ca685ac3fb2d02b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dc57e35f301230993775b3c598b7b7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a2dc57e35f301230993775b3c598b7b7d">integer_subbyte</a> (unsigned value)</td></tr>
<tr class="separator:a2dc57e35f301230993775b3c598b7b7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9629253e86d8434f43c8ff1a9ea1d4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#ae9629253e86d8434f43c8ff1a9ea1d4e">integer_subbyte</a> (double value)</td></tr>
<tr class="memdesc:ae9629253e86d8434f43c8ff1a9ea1d4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Conversion from double. <a href="#ae9629253e86d8434f43c8ff1a9ea1d4e">More...</a><br /></td></tr>
<tr class="separator:ae9629253e86d8434f43c8ff1a9ea1d4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69962ee56f9192d2dd7d30c34efebb01"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a69962ee56f9192d2dd7d30c34efebb01">operator T</a> () const </td></tr>
<tr class="separator:a69962ee56f9192d2dd7d30c34efebb01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1097f17193b9d3ab0a6d7e96a1148142"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a1097f17193b9d3ab0a6d7e96a1148142">operator==</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:a1097f17193b9d3ab0a6d7e96a1148142"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality. <a href="#a1097f17193b9d3ab0a6d7e96a1148142">More...</a><br /></td></tr>
<tr class="separator:a1097f17193b9d3ab0a6d7e96a1148142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47732b2b9eee34b308e41c6298058917"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a47732b2b9eee34b308e41c6298058917">operator!=</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:a47732b2b9eee34b308e41c6298058917"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inequality. <a href="#a47732b2b9eee34b308e41c6298058917">More...</a><br /></td></tr>
<tr class="separator:a47732b2b9eee34b308e41c6298058917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7d9011bc706eeccf5d81b7308c93992"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#ab7d9011bc706eeccf5d81b7308c93992">operator&lt;=</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:ab7d9011bc706eeccf5d81b7308c93992"><td class="mdescLeft">&#160;</td><td class="mdescRight">Less than or equal. <a href="#ab7d9011bc706eeccf5d81b7308c93992">More...</a><br /></td></tr>
<tr class="separator:ab7d9011bc706eeccf5d81b7308c93992"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3579d7cc4925f055e0b4069cec222bbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a3579d7cc4925f055e0b4069cec222bbe">operator&lt;</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:a3579d7cc4925f055e0b4069cec222bbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Less than. <a href="#a3579d7cc4925f055e0b4069cec222bbe">More...</a><br /></td></tr>
<tr class="separator:a3579d7cc4925f055e0b4069cec222bbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf206db2da7612ce1708e8869570a59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a7cf206db2da7612ce1708e8869570a59">operator&gt;=</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:a7cf206db2da7612ce1708e8869570a59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Greater than or equal. <a href="#a7cf206db2da7612ce1708e8869570a59">More...</a><br /></td></tr>
<tr class="separator:a7cf206db2da7612ce1708e8869570a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc7863a44172ac29a43447c23e28767"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#aabc7863a44172ac29a43447c23e28767">operator&gt;</a> (<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> const &amp;rhs) const </td></tr>
<tr class="memdesc:aabc7863a44172ac29a43447c23e28767"><td class="mdescLeft">&#160;</td><td class="mdescRight">Greater than. <a href="#aabc7863a44172ac29a43447c23e28767">More...</a><br /></td></tr>
<tr class="separator:aabc7863a44172ac29a43447c23e28767"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a169090a8aa5c3af2a13a5851da506e96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a169090a8aa5c3af2a13a5851da506e96">storage</a></td></tr>
<tr class="separator:a169090a8aa5c3af2a13a5851da506e96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:aa5eecb9043e2e2183f88ccf0ddbb04ea"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#aa5eecb9043e2e2183f88ccf0ddbb04ea">kBits</a> = Bits</td></tr>
<tr class="memdesc:aa5eecb9043e2e2183f88ccf0ddbb04ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bits. <a href="#aa5eecb9043e2e2183f88ccf0ddbb04ea">More...</a><br /></td></tr>
<tr class="separator:aa5eecb9043e2e2183f88ccf0ddbb04ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38de198bfeed16a06a524cb299f38b5"><td class="memItemLeft" align="right" valign="top">static bool const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#ad38de198bfeed16a06a524cb299f38b5">kSigned</a> = Signed</td></tr>
<tr class="memdesc:ad38de198bfeed16a06a524cb299f38b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether type is signed. <a href="#ad38de198bfeed16a06a524cb299f38b5">More...</a><br /></td></tr>
<tr class="separator:ad38de198bfeed16a06a524cb299f38b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17652e0d2e6e9397c7adf2eb7dbe1203"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1integer__subbyte.html#a17652e0d2e6e9397c7adf2eb7dbe1203">kMask</a> = <a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a>((1 &lt;&lt; <a class="el" href="structcutlass_1_1integer__subbyte.html#aa5eecb9043e2e2183f88ccf0ddbb04ea">kBits</a>) - 1)</td></tr>
<tr class="memdesc:a17652e0d2e6e9397c7adf2eb7dbe1203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bitmask used to truncate from larger integers. <a href="#a17652e0d2e6e9397c7adf2eb7dbe1203">More...</a><br /></td></tr>
<tr class="separator:a17652e0d2e6e9397c7adf2eb7dbe1203"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a9ebca5cccb6c23b8e5bb012527337b1f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a> = uint8_t</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7a22007178d111cb4d400e3cda12448b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html#a7a22007178d111cb4d400e3cda12448b">T</a> = typename std::conditional&lt;<a class="el" href="structcutlass_1_1integer__subbyte.html#ad38de198bfeed16a06a524cb299f38b5">kSigned</a>, int, unsigned&gt;::type</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab893ce5c4d31dd0485fb327dbcdd4d4c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> </td>
<td>(</td>
<td class="paramname"></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>
<a class="anchor" id="a83fbb796074a21304ca685ac3fb2d02b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>value</em></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>
<a class="anchor" id="a2dc57e35f301230993775b3c598b7b7d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> </td>
<td>(</td>
<td class="paramtype">unsigned&#160;</td>
<td class="paramname"><em>value</em></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>
<a class="anchor" id="ae9629253e86d8434f43c8ff1a9ea1d4e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::<a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a> </td>
<td>(</td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>value</em></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="a69962ee56f9192d2dd7d30c34efebb01"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator <a class="el" href="structcutlass_1_1integer__subbyte.html#a7a22007178d111cb4d400e3cda12448b">T</a> </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>
<a class="anchor" id="a47732b2b9eee34b308e41c6298058917"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator!= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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>
<a class="anchor" id="a3579d7cc4925f055e0b4069cec222bbe"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator&lt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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>
<a class="anchor" id="ab7d9011bc706eeccf5d81b7308c93992"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator&lt;= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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>
<a class="anchor" id="a1097f17193b9d3ab0a6d7e96a1148142"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator== </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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>
<a class="anchor" id="aabc7863a44172ac29a43447c23e28767"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator&gt; </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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>
<a class="anchor" id="a7cf206db2da7612ce1708e8869570a59"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::operator&gt;= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1integer__subbyte.html">integer_subbyte</a>&lt; Bits, Signed &gt; const &amp;&#160;</td>
<td class="paramname"><em>rhs</em></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="aa5eecb9043e2e2183f88ccf0ddbb04ea"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::kBits = Bits</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a17652e0d2e6e9397c7adf2eb7dbe1203"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a> const <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::kMask = <a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a>((1 &lt;&lt; <a class="el" href="structcutlass_1_1integer__subbyte.html#aa5eecb9043e2e2183f88ccf0ddbb04ea">kBits</a>) - 1)</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad38de198bfeed16a06a524cb299f38b5"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool const <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::kSigned = Signed</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a169090a8aa5c3af2a13a5851da506e96"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Bits, bool Signed = true&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcutlass_1_1integer__subbyte.html#a9ebca5cccb6c23b8e5bb012527337b1f">Storage</a> <a class="el" href="structcutlass_1_1integer__subbyte.html">cutlass::integer_subbyte</a>&lt; Bits, Signed &gt;::storage</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="integer__subbyte_8h_source.html">integer_subbyte.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>