cutlass/docs/predicate__vector_8h_source...

175 lines
104 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: predicate_vector.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6baf2bb612a2f0daa69af3101ede80a1.html">cutlass</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">predicate_vector.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="predicate__vector_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/***************************************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * provided that the following conditions are met:</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * * Redistributions of source code must retain the above copyright notice, this list of</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * conditions and the following disclaimer.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> * * Redistributions in binary form must reproduce the above copyright notice, this list of</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * conditions and the following disclaimer in the documentation and/or other materials</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> * provided with the distribution.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * * Neither the name of the NVIDIA CORPORATION nor the names of its contributors may be used</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * to endorse or promote products derived from this software without specific prior written</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * permission.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND ANY EXPRESS OR</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> * STRICT LIABILITY, OR TOR (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment"> **************************************************************************************************/</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#if !defined(__CUDACC_RTC__)</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;assert.h&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cutlass_8h.html">cutlass/cutlass.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="platform_8h.html">cutlass/platform/platform.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecutlass.html">cutlass</a> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="keyword">template</span> &lt;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="keywordtype">int</span> kPredicates_,</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordtype">int</span> kPredicatesPerByte_ = 4,</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="keywordtype">int</span> kPredicateStart_ = 0&gt;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html"> 106</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> {</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#afff3a2142d9853606d6ad7c3a459f492"> 108</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="structcutlass_1_1PredicateVector.html#afff3a2142d9853606d6ad7c3a459f492">kPredicates</a> = kPredicates_;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5"> 111</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5">kPredicatesPerByte</a> = kPredicatesPerByte_;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#acf848dce84c01453ab8a2d00c8d4f86e"> 114</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="structcutlass_1_1PredicateVector.html#acf848dce84c01453ab8a2d00c8d4f86e">kPredicateStart</a> = kPredicateStart_;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="comment">// Make sure no one tries to put more than 8 bits in a byte :)</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a"> 117</a></span>&#160; <a class="code" href="platform_8h.html#adde4c9ea91b753491851361a4198c009">static_assert</a>(kPredicatesPerByte &lt;= 8, <span class="stringliteral">&quot;kPredicatesPerByte must fit within an actual byte&quot;</span>);</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="comment">// Make sure the &quot;offsetted&quot; bits fit in one byte.</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="platform_8h.html#adde4c9ea91b753491851361a4198c009">static_assert</a>(kPredicateStart + kPredicatesPerByte &lt;= 8,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="stringliteral">&quot;The offsetted predicates must fit within an actual byte.&quot;</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="keyword">typedef</span> uint32_t <a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#ab870e074b33c598f69fe11e104615c5a"> 126</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="structcutlass_1_1PredicateVector.html#ab870e074b33c598f69fe11e104615c5a">kBytes</a> = (kPredicates + kPredicatesPerByte - 1) / kPredicatesPerByte;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42"> 129</a></span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a> = (kBytes + <span class="keyword">sizeof</span>(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>) - 1) / <span class="keyword">sizeof</span>(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="comment">// Data members</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; Storage storageData[<a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>];</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="comment">// Methods</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">void</span> computeStorageOffset(<span class="keywordtype">int</span> &amp;word, <span class="keywordtype">int</span> &amp;bit, <span class="keywordtype">int</span> idx)<span class="keyword"> const </span>{</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="cutlass_8h.html#a0159b8e4cd578881a1ccfd0921516af7">CUTLASS_ASSERT</a>(idx &lt; kPredicates);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">int</span> byte = (idx / <a class="code" href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5">kPredicatesPerByte</a>);</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordtype">int</span> bit_offset = (idx % <a class="code" href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5">kPredicatesPerByte</a>);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; word = byte / <span class="keyword">sizeof</span>(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <span class="keywordtype">int</span> byte_offset = (byte % <span class="keyword">sizeof</span>(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>));</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; bit = byte_offset * 8 + bit_offset + <a class="code" href="structcutlass_1_1PredicateVector.html#acf848dce84c01453ab8a2d00c8d4f86e">kPredicateStart</a>;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> Storage &amp;storage(<span class="keywordtype">int</span> word) {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="cutlass_8h.html#a0159b8e4cd578881a1ccfd0921516af7">CUTLASS_ASSERT</a>(word &lt; kWordCount);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordflow">return</span> storageData[word];</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; }</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> Storage <span class="keyword">const</span> &amp;storage(<span class="keywordtype">int</span> word)<span class="keyword"> const </span>{</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="cutlass_8h.html#a0159b8e4cd578881a1ccfd0921516af7">CUTLASS_ASSERT</a>(word &lt; kWordCount);</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keywordflow">return</span> storageData[word];</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <span class="comment">// Iterator</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html"> 178</a></span>&#160; <span class="keyword">class </span><a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> {</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> &amp;vec_;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">int</span> bit_;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a91b7d25cbd64e696ef23c87671f0b077"> 188</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a91b7d25cbd64e696ef23c87671f0b077">Iterator</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <span class="keyword">const</span> &amp;it) : vec_(it.vec_), bit_(it.bit_) {}</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a08a7c4bd292f3dde6fdb7b8ae3eac4eb"> 192</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a08a7c4bd292f3dde6fdb7b8ae3eac4eb">Iterator</a>(<a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> &amp;vec, <span class="keywordtype">int</span> _start = 0) : vec_(vec), bit_(_start) {}</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a7dddc0a6b5c958156beef29bedfd1bd3"> 196</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a7dddc0a6b5c958156beef29bedfd1bd3">operator++</a>() {</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; ++bit_;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; }</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a5dcf36597690ce9ad7ef95d82b50654e"> 203</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a5dcf36597690ce9ad7ef95d82b50654e">operator+=</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; bit_ += offset;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; }</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a69fb5b24eeb43331b7401768e8584e61"> 210</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a69fb5b24eeb43331b7401768e8584e61">operator--</a>() {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; --bit_;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; }</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a13a19c8d85bf415fe5f4c17fce9cf6ca"> 217</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a13a19c8d85bf415fe5f4c17fce9cf6ca">operator-=</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; bit_ -= offset;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; }</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a6c7333ad14d545cafc707e78752bf1e3"> 224</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a6c7333ad14d545cafc707e78752bf1e3">operator++</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; ret.bit_++;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; }</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#aad709a11f43b84c88e3ce3a0394f8e8a"> 232</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#aad709a11f43b84c88e3ce3a0394f8e8a">operator--</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; ret.bit_--;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; }</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a831f15d9f01c7896dab70b94dfad660f"> 240</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a831f15d9f01c7896dab70b94dfad660f">operator+</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; ret.bit_ += offset;</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; }</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#aca8c844b4e4444fa6dc9779761356a75"> 248</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#aca8c844b4e4444fa6dc9779761356a75">operator-</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; ret.bit_ -= offset;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a349edcbf86ca0a6827462a07e8754320"> 256</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a349edcbf86ca0a6827462a07e8754320">operator==</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <span class="keyword">const</span> &amp;it)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bit_ == it.bit_; }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a95d40d20eb0749e2916d03088d49f680"> 260</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a95d40d20eb0749e2916d03088d49f680">operator!=</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <span class="keyword">const</span> &amp;it)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bit_ != it.bit_; }</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#af035589126434bd2dbef4000cd864b8b"> 264</a></span>&#160; <span class="keywordtype">bool</span> <span class="keyword">get</span>() { <span class="keywordflow">return</span> vec_.<a class="code" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">at</a>(bit_); }</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de"> 268</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de">at</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> vec_.<a class="code" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">at</a>(bit_); }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a57dd1dfd84701160273fff79789f1137"> 272</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a57dd1dfd84701160273fff79789f1137">operator*</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de">at</a>(); }</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1Iterator.html#aadfd039b5622098c9e46706a27122575"> 276</a></span>&#160; <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keywordtype">bool</span> value = <span class="keyword">true</span>) { vec_.<a class="code" href="structcutlass_1_1PredicateVector.html#a062fa8a8df725ef08ced2ffcca8336af">set</a>(bit_, value); }</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160; };</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html"> 284</a></span>&#160; <span class="keyword">class </span><a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> {</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> <span class="keyword">const</span> &amp;vec_;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; <span class="keywordtype">int</span> bit_;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1216aab9c567ec0d4232019008ef3ea7"> 294</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1216aab9c567ec0d4232019008ef3ea7">ConstIterator</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <span class="keyword">const</span> &amp;it) : vec_(it.vec_), bit_(it.bit_) {}</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#abb6749fd0f66f9442fa18fabbb3588e4"> 298</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#abb6749fd0f66f9442fa18fabbb3588e4">ConstIterator</a>(<a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> <span class="keyword">const</span> &amp;vec, <span class="keywordtype">int</span> _start = 0) : vec_(vec), bit_(_start) {}</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a10ee4bb2f206432aa5ee1a83cb046b70"> 302</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a10ee4bb2f206432aa5ee1a83cb046b70">operator++</a>() {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160; ++bit_;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; }</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1ab6e127b815ec870abf80ecfa94963c"> 309</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1ab6e127b815ec870abf80ecfa94963c">operator+=</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; bit_ += offset;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; }</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00316"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2763012a9284e97650b14e20c5668286"> 316</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2763012a9284e97650b14e20c5668286">operator--</a>() {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; --bit_;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160; }</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a6c178f795233f0212e89f5b522097d7b"> 323</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> &amp;<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a6c178f795233f0212e89f5b522097d7b">operator-=</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; bit_ -= offset;</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a977a99af3166a58d5bc5a613a1abe7d5"> 330</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a977a99af3166a58d5bc5a613a1abe7d5">operator++</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160; ret.bit_++;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160; }</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2910a714d34a688b8ea560ea2933436b"> 338</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2910a714d34a688b8ea560ea2933436b">operator--</a>(<span class="keywordtype">int</span>) {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; ret.bit_--;</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160; }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a8c7811b73f6e0d80fca977b412d466c8"> 346</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a8c7811b73f6e0d80fca977b412d466c8">operator+</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160; ret.bit_ += offset;</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160; }</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00354"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a4d9ebd49895cd9d218118edfdc3350d7"> 354</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a4d9ebd49895cd9d218118edfdc3350d7">operator-</a>(<span class="keywordtype">int</span> offset) {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> ret(*<span class="keyword">this</span>);</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; ret.bit_ -= offset;</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; }</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00362"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#acce1de47d03b30131d36ca02327b77f6"> 362</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#acce1de47d03b30131d36ca02327b77f6">operator==</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <span class="keyword">const</span> &amp;it)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bit_ == it.bit_; }</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a0ed3c88f8229d50b812f3cf151778ad9"> 366</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a0ed3c88f8229d50b812f3cf151778ad9">operator!=</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <span class="keyword">const</span> &amp;it)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> bit_ != it.bit_; }</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a5b9b8f338a12fb3954ded0e5927c5318"> 370</a></span>&#160; <span class="keywordtype">bool</span> <span class="keyword">get</span>() { <span class="keywordflow">return</span> vec_.<a class="code" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">at</a>(bit_); }</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a691a6b129b56af221741b3825d58d2ac"> 374</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a691a6b129b56af221741b3825d58d2ac">at</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> vec_.<a class="code" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">at</a>(bit_); }</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00378"></a><span class="lineno"><a class="line" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a31fad0a6c23f15b0e7add2e130f5fa0b"> 378</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a31fad0a6c23f15b0e7add2e130f5fa0b">operator*</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de">at</a>(); }</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>&#160; };</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>&#160;</div><div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html"> 382</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html">TrivialIterator</a> {</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a6cb3664b5cba4280b7055a65ddad7850"> 385</a></span>&#160; <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a6cb3664b5cba4280b7055a65ddad7850">TrivialIterator</a>() {}</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ada8cd3ac6db568bb9bf268ba2c3a3e14"> 389</a></span>&#160; <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ada8cd3ac6db568bb9bf268ba2c3a3e14">TrivialIterator</a>(<a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <span class="keyword">const</span> &amp;it) {}</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a3adf0440f9a0143a61b43d39c3f03721"> 393</a></span>&#160; <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a3adf0440f9a0143a61b43d39c3f03721">TrivialIterator</a>(<a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> <span class="keyword">const</span> &amp;_vec) {}</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ad24e9b451064e99fb19955f772c30e6a"> 397</a></span>&#160; <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html">TrivialIterator</a> &amp;<a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ad24e9b451064e99fb19955f772c30e6a">operator++</a>() { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa35b9165920b83b9a5a888df83925051"> 401</a></span>&#160; <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html">TrivialIterator</a> <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa35b9165920b83b9a5a888df83925051">operator++</a>(<span class="keywordtype">int</span>) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00405"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa6774c80e75fdd469bf1e42d98f8959a"> 405</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa6774c80e75fdd469bf1e42d98f8959a">operator*</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160; };</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>&#160; <span class="comment">// Methods</span></div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>&#160; <span class="comment">//</span></div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#aec1201df19c0ed0516810a3f19353c21"> 414</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="code" href="structcutlass_1_1PredicateVector.html#aec1201df19c0ed0516810a3f19353c21">PredicateVector</a>(<span class="keywordtype">bool</span> value = <span class="keyword">true</span>) { <a class="code" href="structcutlass_1_1PredicateVector.html#a236bd1a822479750a809452fd58dd917">fill</a>(value); }</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>&#160;</div><div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a236bd1a822479750a809452fd58dd917"> 417</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">void</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a236bd1a822479750a809452fd58dd917">fill</a>(<span class="keywordtype">bool</span> value = <span class="keyword">true</span>) {</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>&#160; Storage item = (value ? ~Storage(0) : <a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>(0));</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>&#160;</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++i) {</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>&#160; storage(i) = item;</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160; }</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; }</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160;</div><div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a51d9239e76ec040819333022fcecdb55"> 427</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">void</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a51d9239e76ec040819333022fcecdb55">clear</a>() {</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160; <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++i) {</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160; storage(i) = 0;</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160; }</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160; }</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;</div><div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#adfabd17462a21adf71e37b2dacd1f45f"> 435</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">void</span> <a class="code" href="structcutlass_1_1PredicateVector.html#adfabd17462a21adf71e37b2dacd1f45f">enable</a>() {</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160; <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++i) {</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160; storage(i) = ~Storage(0);</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160; }</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160; }</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a5a759fda07cb29bfa9041f45e1725a07"> 443</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">bool</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a5a759fda07cb29bfa9041f45e1725a07">operator[]</a>(<span class="keywordtype">int</span> idx)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de">at</a>(idx); }</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;</div><div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031"> 446</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">bool</span> <a class="code" href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">at</a>(<span class="keywordtype">int</span> idx)<span class="keyword"> const </span>{</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keywordtype">int</span> bit, word;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; computeStorageOffset(word, bit, idx);</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; <span class="keywordflow">return</span> ((storage(word) &gt;&gt; bit) &amp; 1);</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160; }</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;</div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a062fa8a8df725ef08ced2ffcca8336af"> 454</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">void</span> <span class="keyword">set</span>(<span class="keywordtype">int</span> idx, <span class="keywordtype">bool</span> value = <span class="keyword">true</span>) {</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160; <span class="keywordtype">int</span> bit, word;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160; computeStorageOffset(word, bit, idx);</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160; Storage disable_mask = (~(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>(1) &lt;&lt; bit));</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160; Storage enable_mask = (<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>(value) &lt;&lt; bit);</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160; storage(word) = ((storage(word) &amp; disable_mask) | enable_mask);</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160; }</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;</div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#afe47d16e877fc7e02f2a693b5bd4b6d0"> 465</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> &amp;<a class="code" href="structcutlass_1_1PredicateVector.html#afe47d16e877fc7e02f2a693b5bd4b6d0">operator&amp;=</a>(<a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> <span class="keyword">const</span> &amp;predicates) {</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++i) {</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; storage(i) = (storage(i) &amp; predicates.storage(i));</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160; }</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; }</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160;</div><div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#aab9de134132c62de1c062ca57582cdbc"> 474</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> &amp;<a class="code" href="structcutlass_1_1PredicateVector.html#aab9de134132c62de1c062ca57582cdbc">operator|=</a>(<a class="code" href="structcutlass_1_1PredicateVector.html">PredicateVector</a> <span class="keyword">const</span> &amp;predicates) {</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++i) {</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; storage(i) = (storage(i) | predicates.storage(i));</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160; }</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160; }</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160;</div><div class="line"><a name="l00483"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a29b6a3044b89d0b3ff98fd571e12cdd8"> 483</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <span class="keywordtype">bool</span> <a class="code" href="structcutlass_1_1PredicateVector.html#a29b6a3044b89d0b3ff98fd571e12cdd8">is_zero</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160; Storage mask(0);</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> byte = 0; byte &lt; <span class="keyword">sizeof</span>(<a class="code" href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">Storage</a>); ++byte) {</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>&#160; Storage byte_mask = (((1 &lt;&lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5">kPredicatesPerByte</a>) - 1) &lt;&lt; <a class="code" href="structcutlass_1_1PredicateVector.html#acf848dce84c01453ab8a2d00c8d4f86e">kPredicateStart</a>);</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span>&#160; mask |= (byte_mask &lt;&lt; (byte * 8));</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>&#160; }</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160; uint32_t result = 0;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> word = 0; word &lt; <a class="code" href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">kWordCount</a>; ++word) {</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>&#160; result |= storage(word);</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; }</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>&#160; <span class="keywordflow">return</span> result == 0;</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; }</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160;</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; CUTLASS_DEVICE</div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a649045d8224514a4c28bcaf4b247b4a5"> 498</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="structcutlass_1_1PredicateVector.html#a649045d8224514a4c28bcaf4b247b4a5">begin</a>() { <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a91b7d25cbd64e696ef23c87671f0b077">Iterator</a>(*<span class="keyword">this</span>); }</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160; CUTLASS_DEVICE</div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#ad9493fc80fdc33330cc15641779cc275"> 502</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html">Iterator</a> <a class="code" href="structcutlass_1_1PredicateVector.html#ad9493fc80fdc33330cc15641779cc275">end</a>() { <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1Iterator.html#a91b7d25cbd64e696ef23c87671f0b077">Iterator</a>(*<span class="keyword">this</span>, kPredicates); }</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160;</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160; CUTLASS_DEVICE</div><div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a505db4b5fba1671ee8362c18e2ccce1b"> 506</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="structcutlass_1_1PredicateVector.html#a505db4b5fba1671ee8362c18e2ccce1b">const_begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a>(*<span class="keyword">this</span>); }</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; CUTLASS_DEVICE</div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="structcutlass_1_1PredicateVector.html#a8017a90ffe8a8039fff56b6956739045"> 510</a></span>&#160; <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a> <a class="code" href="structcutlass_1_1PredicateVector.html#a8017a90ffe8a8039fff56b6956739045">const_end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">ConstIterator</a>(*<span class="keyword">this</span>, kPredicates); }</div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;};</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160;</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160;} <span class="comment">// namespace cutlass</span></div><div class="ttc" id="structcutlass_1_1PredicateVector_html_aab9de134132c62de1c062ca57582cdbc"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#aab9de134132c62de1c062ca57582cdbc">cutlass::PredicateVector::operator|=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE PredicateVector &amp; operator|=(PredicateVector const &amp;predicates)</div><div class="ttdoc">Computes the union of two identical predicate vectors. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:474</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_ad24e9b451064e99fb19955f772c30e6a"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ad24e9b451064e99fb19955f772c30e6a">cutlass::PredicateVector::TrivialIterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE TrivialIterator &amp; operator++()</div><div class="ttdoc">Pre-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:397</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_abb6749fd0f66f9442fa18fabbb3588e4"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#abb6749fd0f66f9442fa18fabbb3588e4">cutlass::PredicateVector::ConstIterator::ConstIterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator(PredicateVector const &amp;vec, int _start=0)</div><div class="ttdoc">Constructs an iterator from a PredicateVector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:298</div></div>
<div class="ttc" id="namespacecutlass_html"><div class="ttname"><a href="namespacecutlass.html">cutlass</a></div><div class="ttdef"><b>Definition:</b> aligned_buffer.h:35</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_afe85a07b9f311327c6bf04e3a5f94e5a"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#afe85a07b9f311327c6bf04e3a5f94e5a">cutlass::PredicateVector::Storage</a></div><div class="ttdeci">uint32_t Storage</div><div class="ttdoc">Storage type of individual elements. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:117</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_a3adf0440f9a0143a61b43d39c3f03721"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a3adf0440f9a0143a61b43d39c3f03721">cutlass::PredicateVector::TrivialIterator::TrivialIterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE TrivialIterator(PredicateVector const &amp;_vec)</div><div class="ttdoc">Constructs an iterator from a PredicateVector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:393</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a29b6a3044b89d0b3ff98fd571e12cdd8"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a29b6a3044b89d0b3ff98fd571e12cdd8">cutlass::PredicateVector::is_zero</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool is_zero() const </div><div class="ttdoc">Returns true if entire predicate array is zero. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:483</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a2763012a9284e97650b14e20c5668286"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2763012a9284e97650b14e20c5668286">cutlass::PredicateVector::ConstIterator::operator--</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator &amp; operator--()</div><div class="ttdoc">Pre-decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:316</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_ab870e074b33c598f69fe11e104615c5a"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#ab870e074b33c598f69fe11e104615c5a">cutlass::PredicateVector::kBytes</a></div><div class="ttdeci">static int const kBytes</div><div class="ttdoc">Number of bytes needed. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:126</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a8017a90ffe8a8039fff56b6956739045"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a8017a90ffe8a8039fff56b6956739045">cutlass::PredicateVector::const_end</a></div><div class="ttdeci">CUTLASS_DEVICE ConstIterator const_end() const </div><div class="ttdoc">Returns a ConstIterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:510</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a691a6b129b56af221741b3825d58d2ac"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a691a6b129b56af221741b3825d58d2ac">cutlass::PredicateVector::ConstIterator::at</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool at() const </div><div class="ttdoc">Gets the bit at the pointed to location. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:374</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a10ee4bb2f206432aa5ee1a83cb046b70"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a10ee4bb2f206432aa5ee1a83cb046b70">cutlass::PredicateVector::ConstIterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator &amp; operator++()</div><div class="ttdoc">Pre-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:302</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_adfabd17462a21adf71e37b2dacd1f45f"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#adfabd17462a21adf71e37b2dacd1f45f">cutlass::PredicateVector::enable</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE void enable()</div><div class="ttdoc">Sets all predicates to true. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:435</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_acce1de47d03b30131d36ca02327b77f6"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#acce1de47d03b30131d36ca02327b77f6">cutlass::PredicateVector::ConstIterator::operator==</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator==(ConstIterator const &amp;it) const </div><div class="ttdoc">Returns true if iterators point to the same bit. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:362</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a5a759fda07cb29bfa9041f45e1725a07"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a5a759fda07cb29bfa9041f45e1725a07">cutlass::PredicateVector::operator[]</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator[](int idx) const </div><div class="ttdoc">Accesses a bit within the predicate vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:443</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a349edcbf86ca0a6827462a07e8754320"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a349edcbf86ca0a6827462a07e8754320">cutlass::PredicateVector::Iterator::operator==</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator==(Iterator const &amp;it) const </div><div class="ttdoc">Returns true if iterators point to the same bit. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:256</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a95d40d20eb0749e2916d03088d49f680"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a95d40d20eb0749e2916d03088d49f680">cutlass::PredicateVector::Iterator::operator!=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator!=(Iterator const &amp;it) const </div><div class="ttdoc">Returns false if iterators point to the same bit. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:260</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_af14b5caa5b8722f06726681a1a985031"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#af14b5caa5b8722f06726681a1a985031">cutlass::PredicateVector::at</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool at(int idx) const </div><div class="ttdoc">Accesses a bit within the predicate vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:446</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a08a7c4bd292f3dde6fdb7b8ae3eac4eb"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a08a7c4bd292f3dde6fdb7b8ae3eac4eb">cutlass::PredicateVector::Iterator::Iterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator(PredicateVector &amp;vec, int _start=0)</div><div class="ttdoc">Constructs an iterator from a PredicateVector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:192</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a977a99af3166a58d5bc5a613a1abe7d5"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a977a99af3166a58d5bc5a613a1abe7d5">cutlass::PredicateVector::ConstIterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator operator++(int)</div><div class="ttdoc">Post-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:330</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a6c7333ad14d545cafc707e78752bf1e3"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a6c7333ad14d545cafc707e78752bf1e3">cutlass::PredicateVector::Iterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator operator++(int)</div><div class="ttdoc">Post-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:224</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_ada8cd3ac6db568bb9bf268ba2c3a3e14"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#ada8cd3ac6db568bb9bf268ba2c3a3e14">cutlass::PredicateVector::TrivialIterator::TrivialIterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE TrivialIterator(Iterator const &amp;it)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:389</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a57dd1dfd84701160273fff79789f1137"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a57dd1dfd84701160273fff79789f1137">cutlass::PredicateVector::Iterator::operator*</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator*() const </div><div class="ttdoc">Dereferences iterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:272</div></div>
<div class="ttc" id="platform_8h_html"><div class="ttname"><a href="platform_8h.html">platform.h</a></div><div class="ttdoc">C++ features that may be otherwise unimplemented for CUDA device functions. </div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html">cutlass::PredicateVector::TrivialIterator</a></div><div class="ttdoc">Iterator that always returns true. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:382</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_aa35b9165920b83b9a5a888df83925051"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa35b9165920b83b9a5a888df83925051">cutlass::PredicateVector::TrivialIterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE TrivialIterator operator++(int)</div><div class="ttdoc">Post-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:401</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a8c7811b73f6e0d80fca977b412d466c8"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a8c7811b73f6e0d80fca977b412d466c8">cutlass::PredicateVector::ConstIterator::operator+</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator operator+(int offset)</div><div class="ttdoc">Iterator advances by some amount. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:346</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a1ab6e127b815ec870abf80ecfa94963c"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1ab6e127b815ec870abf80ecfa94963c">cutlass::PredicateVector::ConstIterator::operator+=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator &amp; operator+=(int offset)</div><div class="ttdoc">Increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:309</div></div>
<div class="ttc" id="cutlass_8h_html_a4b1c9f25ab6eaa25e1f2258dd63e6ce4"><div class="ttname"><a href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="ttdeci">#define CUTLASS_PRAGMA_UNROLL</div><div class="ttdef"><b>Definition:</b> cutlass.h:110</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a505db4b5fba1671ee8362c18e2ccce1b"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a505db4b5fba1671ee8362c18e2ccce1b">cutlass::PredicateVector::const_begin</a></div><div class="ttdeci">CUTLASS_DEVICE ConstIterator const_begin() const </div><div class="ttdoc">Returns a ConstIterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:506</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a69fb5b24eeb43331b7401768e8584e61"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a69fb5b24eeb43331b7401768e8584e61">cutlass::PredicateVector::Iterator::operator--</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator &amp; operator--()</div><div class="ttdoc">Pre-decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:210</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a13a19c8d85bf415fe5f4c17fce9cf6ca"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a13a19c8d85bf415fe5f4c17fce9cf6ca">cutlass::PredicateVector::Iterator::operator-=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator &amp; operator-=(int offset)</div><div class="ttdoc">Decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:217</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a91b7d25cbd64e696ef23c87671f0b077"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a91b7d25cbd64e696ef23c87671f0b077">cutlass::PredicateVector::Iterator::Iterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator(Iterator const &amp;it)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:188</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a4d9ebd49895cd9d218118edfdc3350d7"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a4d9ebd49895cd9d218118edfdc3350d7">cutlass::PredicateVector::ConstIterator::operator-</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator operator-(int offset)</div><div class="ttdoc">Iterator recedes by some amount. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:354</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a831f15d9f01c7896dab70b94dfad660f"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a831f15d9f01c7896dab70b94dfad660f">cutlass::PredicateVector::Iterator::operator+</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator operator+(int offset)</div><div class="ttdoc">Iterator advances by some amount. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:240</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a236bd1a822479750a809452fd58dd917"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a236bd1a822479750a809452fd58dd917">cutlass::PredicateVector::fill</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE void fill(bool value=true)</div><div class="ttdoc">Fills all predicates with a given value. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:417</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_afff3a2142d9853606d6ad7c3a459f492"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#afff3a2142d9853606d6ad7c3a459f492">cutlass::PredicateVector::kPredicates</a></div><div class="ttdeci">static int const kPredicates</div><div class="ttdoc">Number of bits stored by the PredicateVector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:108</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_ad9493fc80fdc33330cc15641779cc275"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#ad9493fc80fdc33330cc15641779cc275">cutlass::PredicateVector::end</a></div><div class="ttdeci">CUTLASS_DEVICE Iterator end()</div><div class="ttdoc">Returns an iterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:502</div></div>
<div class="ttc" id="cutlass_8h_html_a0159b8e4cd578881a1ccfd0921516af7"><div class="ttname"><a href="cutlass_8h.html#a0159b8e4cd578881a1ccfd0921516af7">CUTLASS_ASSERT</a></div><div class="ttdeci">#define CUTLASS_ASSERT(x)</div><div class="ttdef"><b>Definition:</b> cutlass.h:92</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a5dcf36597690ce9ad7ef95d82b50654e"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a5dcf36597690ce9ad7ef95d82b50654e">cutlass::PredicateVector::Iterator::operator+=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator &amp; operator+=(int offset)</div><div class="ttdoc">Increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:203</div></div>
<div class="ttc" id="cutlass_8h_html_a28c2443a142676d3d71effdae1a986b1"><div class="ttname"><a href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="ttdeci">#define CUTLASS_HOST_DEVICE</div><div class="ttdef"><b>Definition:</b> cutlass.h:89</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a1387c4a964f971ed4611d750a09ec0b5"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a1387c4a964f971ed4611d750a09ec0b5">cutlass::PredicateVector::kPredicatesPerByte</a></div><div class="ttdeci">static int const kPredicatesPerByte</div><div class="ttdoc">Number of bits stored within each byte of the predicate bit vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:111</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_afe47d16e877fc7e02f2a693b5bd4b6d0"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#afe47d16e877fc7e02f2a693b5bd4b6d0">cutlass::PredicateVector::operator&amp;=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE PredicateVector &amp; operator&amp;=(PredicateVector const &amp;predicates)</div><div class="ttdoc">Computes the intersection of two identical predicate vectors. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:465</div></div>
<div class="ttc" id="platform_8h_html_adde4c9ea91b753491851361a4198c009"><div class="ttname"><a href="platform_8h.html#adde4c9ea91b753491851361a4198c009">static_assert</a></div><div class="ttdeci">#define static_assert(__e, __m)</div><div class="ttdef"><b>Definition:</b> platform.h:153</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html">cutlass::PredicateVector</a></div><div class="ttdoc">Statically sized array of bits implementing. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:106</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a734bbfaf3829f73ef0b44fa7db4ccd42"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a734bbfaf3829f73ef0b44fa7db4ccd42">cutlass::PredicateVector::kWordCount</a></div><div class="ttdeci">static int const kWordCount</div><div class="ttdoc">Number of storage elements needed. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:129</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a0ed3c88f8229d50b812f3cf151778ad9"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a0ed3c88f8229d50b812f3cf151778ad9">cutlass::PredicateVector::ConstIterator::operator!=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator!=(ConstIterator const &amp;it) const </div><div class="ttdoc">Returns false if iterators point to the same bit. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:366</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a36d28f662e1ab2f8b0b9da9e6863c1de"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a36d28f662e1ab2f8b0b9da9e6863c1de">cutlass::PredicateVector::Iterator::at</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool at() const </div><div class="ttdoc">Gets the bit at the pointed to location. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:268</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_a7dddc0a6b5c958156beef29bedfd1bd3"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#a7dddc0a6b5c958156beef29bedfd1bd3">cutlass::PredicateVector::Iterator::operator++</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator &amp; operator++()</div><div class="ttdoc">Pre-increment. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:196</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html">cutlass::PredicateVector::ConstIterator</a></div><div class="ttdoc">An iterator implementing Predicate Iterator Concept enabling sequential read and write access to pred...</div><div class="ttdef"><b>Definition:</b> predicate_vector.h:284</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a062fa8a8df725ef08ced2ffcca8336af"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a062fa8a8df725ef08ced2ffcca8336af">cutlass::PredicateVector::set</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE void set(int idx, bool value=true)</div><div class="ttdoc">Set a bit within the predicate vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:454</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_aca8c844b4e4444fa6dc9779761356a75"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#aca8c844b4e4444fa6dc9779761356a75">cutlass::PredicateVector::Iterator::operator-</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator operator-(int offset)</div><div class="ttdoc">Iterator recedes by some amount. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:248</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_acf848dce84c01453ab8a2d00c8d4f86e"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#acf848dce84c01453ab8a2d00c8d4f86e">cutlass::PredicateVector::kPredicateStart</a></div><div class="ttdeci">static int const kPredicateStart</div><div class="ttdoc">First bit withing each byte containing predicates. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:114</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a1216aab9c567ec0d4232019008ef3ea7"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a1216aab9c567ec0d4232019008ef3ea7">cutlass::PredicateVector::ConstIterator::ConstIterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator(ConstIterator const &amp;it)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:294</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a31fad0a6c23f15b0e7add2e130f5fa0b"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a31fad0a6c23f15b0e7add2e130f5fa0b">cutlass::PredicateVector::ConstIterator::operator*</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator*() const </div><div class="ttdoc">Dereferences iterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:378</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a2910a714d34a688b8ea560ea2933436b"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a2910a714d34a688b8ea560ea2933436b">cutlass::PredicateVector::ConstIterator::operator--</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator operator--(int)</div><div class="ttdoc">Post-decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:338</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a51d9239e76ec040819333022fcecdb55"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a51d9239e76ec040819333022fcecdb55">cutlass::PredicateVector::clear</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE void clear()</div><div class="ttdoc">Clears all predicates. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:427</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_aec1201df19c0ed0516810a3f19353c21"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#aec1201df19c0ed0516810a3f19353c21">cutlass::PredicateVector::PredicateVector</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE PredicateVector(bool value=true)</div><div class="ttdoc">Initialize the predicate vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:414</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_html_a649045d8224514a4c28bcaf4b247b4a5"><div class="ttname"><a href="structcutlass_1_1PredicateVector.html#a649045d8224514a4c28bcaf4b247b4a5">cutlass::PredicateVector::begin</a></div><div class="ttdeci">CUTLASS_DEVICE Iterator begin()</div><div class="ttdoc">Returns an iterator to the start of the bit vector. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:498</div></div>
<div class="ttc" id="cutlass_8h_html"><div class="ttname"><a href="cutlass_8h.html">cutlass.h</a></div><div class="ttdoc">Basic include for CUTLASS. </div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_aa6774c80e75fdd469bf1e42d98f8959a"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#aa6774c80e75fdd469bf1e42d98f8959a">cutlass::PredicateVector::TrivialIterator::operator*</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE bool operator*() const </div><div class="ttdoc">Dereferences iterator. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:405</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html">cutlass::PredicateVector::Iterator</a></div><div class="ttdoc">An iterator implementing Predicate Iterator Concept enabling sequential read and write access to pred...</div><div class="ttdef"><b>Definition:</b> predicate_vector.h:178</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1Iterator_html_aad709a11f43b84c88e3ce3a0394f8e8a"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1Iterator.html#aad709a11f43b84c88e3ce3a0394f8e8a">cutlass::PredicateVector::Iterator::operator--</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE Iterator operator--(int)</div><div class="ttdoc">Post-decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:232</div></div>
<div class="ttc" id="classcutlass_1_1PredicateVector_1_1ConstIterator_html_a6c178f795233f0212e89f5b522097d7b"><div class="ttname"><a href="classcutlass_1_1PredicateVector_1_1ConstIterator.html#a6c178f795233f0212e89f5b522097d7b">cutlass::PredicateVector::ConstIterator::operator-=</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE ConstIterator &amp; operator-=(int offset)</div><div class="ttdoc">Decrement. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:323</div></div>
<div class="ttc" id="structcutlass_1_1PredicateVector_1_1TrivialIterator_html_a6cb3664b5cba4280b7055a65ddad7850"><div class="ttname"><a href="structcutlass_1_1PredicateVector_1_1TrivialIterator.html#a6cb3664b5cba4280b7055a65ddad7850">cutlass::PredicateVector::TrivialIterator::TrivialIterator</a></div><div class="ttdeci">CUTLASS_HOST_DEVICE TrivialIterator()</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> predicate_vector.h:385</div></div>
</div><!-- fragment --></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>