150 lines
56 KiB
HTML
150 lines
56 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: mma_tensor_op_sm70.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 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File 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><li class="navelem"><a class="el" href="dir_9aa36bd9cfad59a1f88859a38871c977.html">gemm</a></li><li class="navelem"><a class="el" href="dir_5182a53bfc5d70ef5651acc985c58dc3.html">warp</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">mma_tensor_op_sm70.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="mma__tensor__op__sm70_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> <span class="comment">/***************************************************************************************************</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <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> <span class="comment"> * provided that the following conditions are met:</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <span class="comment"> * conditions and the following disclaimer.</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <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> <span class="comment"> * provided with the distribution.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <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> <span class="comment"> * permission.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <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> <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> <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> <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> <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> <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> <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> <span class="comment"> *</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> **************************************************************************************************/</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="cutlass_8h.html">cutlass/cutlass.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="array_8h.html">cutlass/array.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="numeric__types_8h.html">cutlass/numeric_types.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="matrix__shape_8h.html">cutlass/matrix_shape.h</a>"</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include "<a class="code" href="arch_2mma_8h.html">cutlass/arch/mma.h</a>"</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include "<a class="code" href="include_2cutlass_2gemm_2gemm_8h.html">cutlass/gemm/gemm.h</a>"</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include "<a class="code" href="gemm_2warp_2mma_8h.html">cutlass/gemm/warp/mma.h</a>"</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include "<a class="code" href="mma__tensor__op__policy_8h.html">cutlass/gemm/warp/mma_tensor_op_policy.h</a>"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include "<a class="code" href="mma__tensor__op__tile__iterator__sm70_8h.html">cutlass/gemm/warp/mma_tensor_op_tile_iterator_sm70.h</a>"</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">namespace </span><a class="code" href="namespacecutlass.html">cutlass</a> {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">namespace </span>gemm {</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span>warp {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">template</span> <</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">typename</span> Shape_,</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">typename</span> ElementA_,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">typename</span> LayoutA_,</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">typename</span> ElementB_,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">typename</span> LayoutB_,</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">typename</span> ElementC_,</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">typename</span> LayoutC_,</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">typename</span> Policy_,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">typename</span> Enable = <span class="keywordtype">bool</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> ></div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html"> 77</a></span> <span class="keyword">class </span><a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html">MmaVoltaTensorOp</a> {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a999febc52151d3c585f73405160052de"> 80</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a999febc52151d3c585f73405160052de">Shape</a> = Shape_;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ada002c337b4c4dd56e6f57adcc19d738"> 83</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ada002c337b4c4dd56e6f57adcc19d738">ElementA</a> = ElementA_;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d0bf8bf722d8ecf84b00abd9e5be227"> 86</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d0bf8bf722d8ecf84b00abd9e5be227">LayoutA</a> = LayoutA_;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a55fbfa2ebe03c10e882e5245e90b4a0a"> 89</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a55fbfa2ebe03c10e882e5245e90b4a0a">ElementB</a> = ElementB_;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab4964d7a2cd0d0f77bae1c053a6a0528"> 92</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab4964d7a2cd0d0f77bae1c053a6a0528">LayoutB</a> = LayoutB_;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a6b477623374acfbc68a68e7f78c29ef4"> 95</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a6b477623374acfbc68a68e7f78c29ef4">ElementC</a> = ElementC_;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aafda08a1d0480ae202fc3a66203e4a16"> 98</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aafda08a1d0480ae202fc3a66203e4a16">LayoutC</a> = LayoutC_;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ac7dbce8ff671e1b4d101aa386f379100"> 101</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ac7dbce8ff671e1b4d101aa386f379100">Policy</a> = Policy_;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7bae8fc27cb04739f236ec1237b37af9"> 104</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7bae8fc27cb04739f236ec1237b37af9">OperatorClass</a> = arch::OpClassTensorOp;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab263f394262ccf84ce0da72b2f7c2c9d"> 107</a></span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab263f394262ccf84ce0da72b2f7c2c9d">kThreadCount</a> = 32;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#abe80353f8640dd272466e6425925f619"> 110</a></span>  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html">InterleavedTileShape</a> = <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html">GemmShape<32, 32, 4></a>;</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="platform_8h.html#adde4c9ea91b753491851361a4198c009">static_assert</a>(!(Shape::kM % <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html#a7a47fe0c44571a0a68a43c5a47cf676a">InterleavedTileShape::kM</a>) &&</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  !(Shape::kN % <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html#a9fcbaa4b47b83d0c8a09979ad5c98a1e">InterleavedTileShape::kN</a>),</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="stringliteral">"Shape must be a multiple of InterleavedTileShape."</span>);</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">IteratorA</a> = <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">MmaVoltaTensorOpMultiplicandTileIterator</a><</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape<Shape::kM, Shape::kK></a>,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a30f767aa191cd5d261e767fd78393607">Operand::kA</a>,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ada002c337b4c4dd56e6f57adcc19d738">ElementA</a>,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d0bf8bf722d8ecf84b00abd9e5be227">LayoutA</a>,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape</a><</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  Policy::Operator::Shape::kM,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  Policy::Operator::Shape::kK</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  >,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  Policy::OpDelta::kRow,</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  kThreadCount</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a4606c0e308f3e8bdc1ff4c63e951d550"> 129</a></span>  >;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d96fc74476d2c062cea6e45499bbb45"> 132</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d96fc74476d2c062cea6e45499bbb45">FragmentA</a> = <span class="keyword">typename</span> IteratorA::Fragment;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">IteratorB</a> = <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">MmaVoltaTensorOpMultiplicandTileIterator</a><</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape<Shape::kK, Shape::kN></a>,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a3e56c011b37f0bc78fb9eb175c1181c6">Operand::kB</a>,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a55fbfa2ebe03c10e882e5245e90b4a0a">ElementB</a>,</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab4964d7a2cd0d0f77bae1c053a6a0528">LayoutB</a>,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape</a><</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  Policy::Operator::Shape::kK,</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  Policy::Operator::Shape::kN</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  >,</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  Policy::OpDelta::kRow,</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  kThreadCount</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a8b4342792d286cdf9a5e66f8ce486add"> 146</a></span>  >;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#abd446811fcf7ef8f4106c4e7ebabcb84"> 149</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#abd446811fcf7ef8f4106c4e7ebabcb84">FragmentB</a> = <span class="keyword">typename</span> IteratorB::Fragment;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator.html">IteratorC</a> = <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator.html">MmaVoltaTensorOpAccumulatorTileIterator</a><</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape<Shape::kM, Shape::kN></a>,</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a6b477623374acfbc68a68e7f78c29ef4">ElementC</a>,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aafda08a1d0480ae202fc3a66203e4a16">LayoutC</a>,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">typename</span> Policy::Operator::Shape,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keyword">typename</span> Policy::OpDelta</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a0f73a810a632772db186ce5275311eb9"> 158</a></span>  >;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a316d26dfb4b537fa0ccdb3542260406b"> 161</a></span>  <span class="keyword">using</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a316d26dfb4b537fa0ccdb3542260406b">FragmentC</a> = <span class="keyword">typename</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator.html#acd54606d757015b77519e3a4b8491b37">IteratorC::Fragment</a>;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> </div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="platform_8h.html#adde4c9ea91b753491851361a4198c009">static_assert</a>(</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  !(Shape::kM % Policy::Operator::Shape::kM) && </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  !(Shape::kN % Policy::Operator::Shape::kN),</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="stringliteral">"Shape of warp-level Mma must be divisible by operator shape."</span>);</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1MatrixShape.html">MmaIterations</a> = <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape</a><</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  InterleavedTileShape::kM / Policy::Operator::Shape::kM,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html#a9fcbaa4b47b83d0c8a09979ad5c98a1e">InterleavedTileShape::kN</a> / Policy::Operator::Shape::kN</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  >;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keyword">using</span> <a class="code" href="structcutlass_1_1MatrixShape.html">TileIterations</a> = <a class="code" href="structcutlass_1_1MatrixShape.html">MatrixShape</a><</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  Shape::kM / <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html#a7a47fe0c44571a0a68a43c5a47cf676a">InterleavedTileShape::kM</a>,</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  Shape::kN / <a class="code" href="structcutlass_1_1gemm_1_1GemmShape.html#a9fcbaa4b47b83d0c8a09979ad5c98a1e">InterleavedTileShape::kN</a></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  >;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="comment">// Whether matrix B is reordered</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordtype">bool</span> reorder_B_;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aa4837cb1fd3eac3713e99d0625f14842"> 186</a></span>  <span class="keyword">typename</span> Policy::Operator <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aa4837cb1fd3eac3713e99d0625f14842">mma</a>;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="comment">//</span></div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">// Methods</span></div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">//</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  CUTLASS_DEVICE</div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7ba75978dcba9b1806da57ebb568a57d"> 196</a></span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7ba75978dcba9b1806da57ebb568a57d">MmaVoltaTensorOp</a>() {}</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  CUTLASS_DEVICE</div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab06b4c9da74987b1c2322039a2ddf765"> 200</a></span>  <span class="keywordtype">void</span> <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab06b4c9da74987b1c2322039a2ddf765">operator()</a>(</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a316d26dfb4b537fa0ccdb3542260406b">FragmentC</a> &D, </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d96fc74476d2c062cea6e45499bbb45">FragmentA</a> <span class="keyword">const</span> &A, </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#abd446811fcf7ef8f4106c4e7ebabcb84">FragmentB</a> <span class="keyword">const</span> &B, </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a316d26dfb4b537fa0ccdb3542260406b">FragmentC</a> <span class="keyword">const</span> &C,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">int</span> <span class="keyword">const</span> &partitionN_idx = 0) {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keyword">using</span> MmaOperandA = <span class="keyword">typename</span> Policy::Operator::FragmentA;</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">using</span> MmaOperandB = <span class="keyword">typename</span> Policy::Operator::FragmentB;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keyword">using</span> MmaOperandC = <span class="keyword">typename</span> Policy::Operator::FragmentC;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  D = C;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  MmaOperandA <span class="keyword">const</span> *ptr_A = <span class="keyword">reinterpret_cast<</span>MmaOperandA <span class="keyword">const </span>*<span class="keyword">></span>(&A);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  MmaOperandB <span class="keyword">const</span> *ptr_B = <span class="keyword">reinterpret_cast<</span>MmaOperandB <span class="keyword">const </span>*<span class="keyword">></span>(&B);</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  MmaOperandC *ptr_D = <span class="keyword">reinterpret_cast<</span>MmaOperandC *<span class="keyword">></span>(&D);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> outer_col = 0; outer_col < <a class="code" href="structcutlass_1_1MatrixShape.html#a160927c2ddf7239f5be8c7cf6374a82e">TileIterations::kColumn</a>; ++outer_col) {</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> inner_col = 0; inner_col < <a class="code" href="structcutlass_1_1MatrixShape.html#a160927c2ddf7239f5be8c7cf6374a82e">MmaIterations::kColumn</a>; ++inner_col) {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> outer_row = 0; outer_row < <a class="code" href="structcutlass_1_1MatrixShape.html#a6e376c7fd5954ab6040fea695ae8a889">TileIterations::kRow</a>; ++outer_row) {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <a class="code" href="cutlass_8h.html#a4b1c9f25ab6eaa25e1f2258dd63e6ce4">CUTLASS_PRAGMA_UNROLL</a></div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> inner_row = 0; inner_row < <a class="code" href="structcutlass_1_1MatrixShape.html#a6e376c7fd5954ab6040fea695ae8a889">MmaIterations::kRow</a>; ++inner_row) {</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">int</span> op_col = inner_col + MmaIterations::kColumn * outer_col;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="comment">// Column-major serpentine sequence to maximize reuse of A operand.</span></div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordtype">int</span> inner_row_serp = inner_row;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordtype">int</span> outer_row_serp = outer_row;</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">if</span> (op_col & 1) {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  inner_row_serp = MmaIterations::kRow - inner_row - 1;</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  outer_row_serp = TileIterations::kRow - outer_row - 1;</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordtype">int</span> op_row = inner_row_serp + MmaIterations::kRow * outer_row_serp;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">int</span> op_idx = inner_row_serp + MmaIterations::kRow * </div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  (inner_col + MmaIterations::kColumn * </div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  (outer_row_serp + TileIterations::kRow * outer_col));</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aa4837cb1fd3eac3713e99d0625f14842">mma</a>(</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  ptr_D[op_idx],</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  ptr_A[op_row],</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  ptr_B[op_col],</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  ptr_D[op_idx]);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  }</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  }</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  }</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> };</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> } <span class="comment">// namespace warp</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> } <span class="comment">// namespace gemm</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> } <span class="comment">// namespace cutlass</span></div><div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_ac7dbce8ff671e1b4d101aa386f379100"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ac7dbce8ff671e1b4d101aa386f379100">cutlass::gemm::warp::MmaVoltaTensorOp::Policy</a></div><div class="ttdeci">Policy_ Policy</div><div class="ttdoc">Shape of the warp in units of thread (concept: MmaLanePolicySimt) </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:101</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_abd446811fcf7ef8f4106c4e7ebabcb84"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#abd446811fcf7ef8f4106c4e7ebabcb84">cutlass::gemm::warp::MmaVoltaTensorOp::FragmentB</a></div><div class="ttdeci">typename IteratorB::Fragment FragmentB</div><div class="ttdoc">Storage for B tile. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:149</div></div>
|
|
<div class="ttc" id="structcutlass_1_1gemm_1_1GemmShape_html_a7a47fe0c44571a0a68a43c5a47cf676a"><div class="ttname"><a href="structcutlass_1_1gemm_1_1GemmShape.html#a7a47fe0c44571a0a68a43c5a47cf676a">cutlass::gemm::GemmShape::kM</a></div><div class="ttdeci">static int const kM</div><div class="ttdef"><b>Definition:</b> include/cutlass/gemm/gemm.h:58</div></div>
|
|
<div class="ttc" id="structcutlass_1_1MatrixShape_html"><div class="ttname"><a href="structcutlass_1_1MatrixShape.html">cutlass::MatrixShape</a></div><div class="ttdoc">Describes the size of a matrix tile. </div><div class="ttdef"><b>Definition:</b> matrix_shape.h:42</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_ab4964d7a2cd0d0f77bae1c053a6a0528"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab4964d7a2cd0d0f77bae1c053a6a0528">cutlass::gemm::warp::MmaVoltaTensorOp::LayoutB</a></div><div class="ttdeci">LayoutB_ LayoutB</div><div class="ttdoc">Layout of multiplicand B. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:92</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator_html"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">cutlass::gemm::warp::MmaVoltaTensorOpMultiplicandTileIterator</a></div><div class="ttdef"><b>Definition:</b> mma_tensor_op_tile_iterator_sm70.h:70</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_1MatrixShape_html_a160927c2ddf7239f5be8c7cf6374a82e"><div class="ttname"><a href="structcutlass_1_1MatrixShape.html#a160927c2ddf7239f5be8c7cf6374a82e">cutlass::MatrixShape::kColumn</a></div><div class="ttdeci">static int const kColumn</div><div class="ttdoc">columns of a matrix </div><div class="ttdef"><b>Definition:</b> matrix_shape.h:44</div></div>
|
|
<div class="ttc" id="include_2cutlass_2gemm_2gemm_8h_html"><div class="ttname"><a href="include_2cutlass_2gemm_2gemm_8h.html">gemm.h</a></div><div class="ttdoc">Defines common types used for all GEMM-like operators. </div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a999febc52151d3c585f73405160052de"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a999febc52151d3c585f73405160052de">cutlass::gemm::warp::MmaVoltaTensorOp::Shape</a></div><div class="ttdeci">Shape_ Shape</div><div class="ttdoc">Shape of warp-level matrix operation (concept: GemmShape) </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:80</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a7bae8fc27cb04739f236ec1237b37af9"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7bae8fc27cb04739f236ec1237b37af9">cutlass::gemm::warp::MmaVoltaTensorOp::OperatorClass</a></div><div class="ttdeci">arch::OpClassTensorOp OperatorClass</div><div class="ttdoc">Indicates class of matrix operator. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:104</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a3d0bf8bf722d8ecf84b00abd9e5be227"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d0bf8bf722d8ecf84b00abd9e5be227">cutlass::gemm::warp::MmaVoltaTensorOp::LayoutA</a></div><div class="ttdeci">LayoutA_ LayoutA</div><div class="ttdoc">Layout of multiplicand A. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:86</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator_html_acd54606d757015b77519e3a4b8491b37"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator.html#acd54606d757015b77519e3a4b8491b37">cutlass::gemm::warp::MmaVoltaTensorOpAccumulatorTileIterator::Fragment</a></div><div class="ttdeci">Array< Element, Shape::kCount/kThreads > Fragment</div><div class="ttdoc">Fragment object holding a thread&#39;s part of a tile. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_tile_iterator_sm70.h:1213</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_ada002c337b4c4dd56e6f57adcc19d738"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ada002c337b4c4dd56e6f57adcc19d738">cutlass::gemm::warp::MmaVoltaTensorOp::ElementA</a></div><div class="ttdeci">ElementA_ ElementA</div><div class="ttdoc">Data type of multiplicand A. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:83</div></div>
|
|
<div class="ttc" id="array_8h_html"><div class="ttname"><a href="array_8h.html">array.h</a></div><div class="ttdoc">Statically sized array of elements that accommodates all CUTLASS-supported numeric types and is safe ...</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="gemm_2warp_2mma_8h_html"><div class="ttname"><a href="gemm_2warp_2mma_8h.html">mma.h</a></div><div class="ttdoc">Templates exposing architecture support for warp-level multiply-add operations. </div></div>
|
|
<div class="ttc" id="arch_2mma_8h_html"><div class="ttname"><a href="arch_2mma_8h.html">mma.h</a></div><div class="ttdoc">Templates exposing architecture support for multiply-add operations. </div></div>
|
|
<div class="ttc" id="namespacecutlass_1_1gemm_html_a34338284023da7403c9ecbd3f406b2a6a30f767aa191cd5d261e767fd78393607"><div class="ttname"><a href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a30f767aa191cd5d261e767fd78393607">cutlass::gemm::Operand::kA</a></div></div>
|
|
<div class="ttc" id="mma__tensor__op__tile__iterator__sm70_8h_html"><div class="ttname"><a href="mma__tensor__op__tile__iterator__sm70_8h.html">mma_tensor_op_tile_iterator_sm70.h</a></div><div class="ttdoc">Defines iterators used by warp-level matrix multiply operations targeting Tensor Cores. </div></div>
|
|
<div class="ttc" id="matrix__shape_8h_html"><div class="ttname"><a href="matrix__shape_8h.html">matrix_shape.h</a></div><div class="ttdoc">Defines a Shape template for matrix tiles. </div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a55fbfa2ebe03c10e882e5245e90b4a0a"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a55fbfa2ebe03c10e882e5245e90b4a0a">cutlass::gemm::warp::MmaVoltaTensorOp::ElementB</a></div><div class="ttdeci">ElementB_ ElementB</div><div class="ttdoc">Data type of multiplicand B. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:89</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_ab06b4c9da74987b1c2322039a2ddf765"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab06b4c9da74987b1c2322039a2ddf765">cutlass::gemm::warp::MmaVoltaTensorOp::operator()</a></div><div class="ttdeci">CUTLASS_DEVICE void operator()(FragmentC &D, FragmentA const &A, FragmentB const &B, FragmentC const &C, int const &partitionN_idx=0)</div><div class="ttdoc">Performs a warp-level matrix multiply-accumulate operation. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:200</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_aa4837cb1fd3eac3713e99d0625f14842"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aa4837cb1fd3eac3713e99d0625f14842">cutlass::gemm::warp::MmaVoltaTensorOp::mma</a></div><div class="ttdeci">Policy::Operator mma</div><div class="ttdoc">Underlying matrix multiply operator (concept: arch::Mma) </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:186</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html">cutlass::gemm::warp::MmaVoltaTensorOp</a></div><div class="ttdoc">Structure to compute the matrix product targeting CUDA cores and SIMT math instructions. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:77</div></div>
|
|
<div class="ttc" id="structcutlass_1_1MatrixShape_html_a6e376c7fd5954ab6040fea695ae8a889"><div class="ttname"><a href="structcutlass_1_1MatrixShape.html#a6e376c7fd5954ab6040fea695ae8a889">cutlass::MatrixShape::kRow</a></div><div class="ttdeci">static int const kRow</div><div class="ttdoc">rows of a matrix </div><div class="ttdef"><b>Definition:</b> matrix_shape.h:43</div></div>
|
|
<div class="ttc" id="numeric__types_8h_html"><div class="ttname"><a href="numeric__types_8h.html">numeric_types.h</a></div><div class="ttdoc">Top-level include for all CUTLASS numeric types. </div></div>
|
|
<div class="ttc" id="structcutlass_1_1gemm_1_1GemmShape_html"><div class="ttname"><a href="structcutlass_1_1gemm_1_1GemmShape.html">cutlass::gemm::GemmShape</a></div><div class="ttdoc">Shape of a matrix multiply-add operation. </div><div class="ttdef"><b>Definition:</b> include/cutlass/gemm/gemm.h:57</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="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a316d26dfb4b537fa0ccdb3542260406b"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a316d26dfb4b537fa0ccdb3542260406b">cutlass::gemm::warp::MmaVoltaTensorOp::FragmentC</a></div><div class="ttdeci">typename IteratorC::Fragment FragmentC</div><div class="ttdoc">Storage for C tile. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:161</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_aafda08a1d0480ae202fc3a66203e4a16"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aafda08a1d0480ae202fc3a66203e4a16">cutlass::gemm::warp::MmaVoltaTensorOp::LayoutC</a></div><div class="ttdeci">LayoutC_ LayoutC</div><div class="ttdoc">Layout of accumulator matrix C. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:98</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_ab263f394262ccf84ce0da72b2f7c2c9d"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#ab263f394262ccf84ce0da72b2f7c2c9d">cutlass::gemm::warp::MmaVoltaTensorOp::kThreadCount</a></div><div class="ttdeci">static int const kThreadCount</div><div class="ttdoc">Number of threads participating in warp-level matrix product. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:107</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a7ba75978dcba9b1806da57ebb568a57d"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a7ba75978dcba9b1806da57ebb568a57d">cutlass::gemm::warp::MmaVoltaTensorOp::MmaVoltaTensorOp</a></div><div class="ttdeci">CUTLASS_DEVICE MmaVoltaTensorOp()</div><div class="ttdoc">Ctor. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:196</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator_html"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOpAccumulatorTileIterator.html">cutlass::gemm::warp::MmaVoltaTensorOpAccumulatorTileIterator</a></div><div class="ttdef"><b>Definition:</b> mma_tensor_op_tile_iterator_sm70.h:1135</div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a6b477623374acfbc68a68e7f78c29ef4"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a6b477623374acfbc68a68e7f78c29ef4">cutlass::gemm::warp::MmaVoltaTensorOp::ElementC</a></div><div class="ttdeci">ElementC_ ElementC</div><div class="ttdoc">Data type of accumulator matrix C. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:95</div></div>
|
|
<div class="ttc" id="namespacecutlass_1_1gemm_html_a34338284023da7403c9ecbd3f406b2a6a3e56c011b37f0bc78fb9eb175c1181c6"><div class="ttname"><a href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a3e56c011b37f0bc78fb9eb175c1181c6">cutlass::gemm::Operand::kB</a></div><div class="ttdoc">A multiplicand. </div></div>
|
|
<div class="ttc" id="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp_html_a3d96fc74476d2c062cea6e45499bbb45"><div class="ttname"><a href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#a3d96fc74476d2c062cea6e45499bbb45">cutlass::gemm::warp::MmaVoltaTensorOp::FragmentA</a></div><div class="ttdeci">typename IteratorA::Fragment FragmentA</div><div class="ttdoc">Storage for A tile. </div><div class="ttdef"><b>Definition:</b> mma_tensor_op_sm70.h:132</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="mma__tensor__op__policy_8h_html"><div class="ttname"><a href="mma__tensor__op__policy_8h.html">mma_tensor_op_policy.h</a></div><div class="ttdoc">Policy describing implementation details of warp-level GEMM targeting Tensor Cores. </div></div>
|
|
<div class="ttc" id="structcutlass_1_1gemm_1_1GemmShape_html_a9fcbaa4b47b83d0c8a09979ad5c98a1e"><div class="ttname"><a href="structcutlass_1_1gemm_1_1GemmShape.html#a9fcbaa4b47b83d0c8a09979ad5c98a1e">cutlass::gemm::GemmShape::kN</a></div><div class="ttdeci">static int const kN</div><div class="ttdef"><b>Definition:</b> include/cutlass/gemm/gemm.h:59</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|