cutlass/docs/structcutlass_1_1gemm_1_1ke...

341 lines
19 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::gemm::kernel::GemmSplitKParallel&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">CUTLASS
</div>
<div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1gemm.html">gemm</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1gemm_1_1kernel.html">kernel</a></li><li class="navelem"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">GemmSplitKParallel</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::gemm::kernel::GemmSplitKParallel&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="kernel_2gemm__splitk__parallel_8h_source.html">gemm_splitk_parallel.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1Params.html">Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure. <a href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1SharedStorage.html">SharedStorage</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shared memory storage structure. <a href="unioncutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1SharedStorage.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:af603f7f29cfb208585dfececcbed9b02"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#af603f7f29cfb208585dfececcbed9b02">Mma</a> = Mma_</td></tr>
<tr class="separator:af603f7f29cfb208585dfececcbed9b02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b25c4e26b81109893d26cae032abb85"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a4b25c4e26b81109893d26cae032abb85">Epilogue</a> = Epilogue_</td></tr>
<tr class="separator:a4b25c4e26b81109893d26cae032abb85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a379bc5757082c492e9b9f9e123946c14"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a379bc5757082c492e9b9f9e123946c14">OutputOp</a> = typename Epilogue::OutputOp</td></tr>
<tr class="separator:a379bc5757082c492e9b9f9e123946c14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06ed08426cb6c550542b6b7fd108c7c8"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a06ed08426cb6c550542b6b7fd108c7c8">ThreadblockSwizzle</a> = ThreadblockSwizzle_</td></tr>
<tr class="separator:a06ed08426cb6c550542b6b7fd108c7c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaff0380a2711dcc5bb8e75bc6fd292cd"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#aaff0380a2711dcc5bb8e75bc6fd292cd">WarpCount</a> = typename Mma::WarpCount</td></tr>
<tr class="memdesc:aaff0380a2711dcc5bb8e75bc6fd292cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Warp count (concept: <a class="el" href="structcutlass_1_1gemm_1_1GemmShape.html" title="Shape of a matrix multiply-add operation. ">GemmShape</a>) <a href="#aaff0380a2711dcc5bb8e75bc6fd292cd">More...</a><br /></td></tr>
<tr class="separator:aaff0380a2711dcc5bb8e75bc6fd292cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa0831b70d4c76337cffc040efe921ca7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#aa0831b70d4c76337cffc040efe921ca7">GemmSplitKParallel</a> ()</td></tr>
<tr class="separator:aa0831b70d4c76337cffc040efe921ca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5490540efabcbcc110a6294005c7cf5e"><td class="memItemLeft" align="right" valign="top">CUTLASS_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a5490540efabcbcc110a6294005c7cf5e">operator()</a> (<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1Params.html">Params</a> const &amp;params, <a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1SharedStorage.html">SharedStorage</a> &amp;shared_storage)</td></tr>
<tr class="memdesc:a5490540efabcbcc110a6294005c7cf5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes one GEMM. <a href="#a5490540efabcbcc110a6294005c7cf5e">More...</a><br /></td></tr>
<tr class="separator:a5490540efabcbcc110a6294005c7cf5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ac376c54b10cfd6a40aa38263a0c5f7ea"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#ac376c54b10cfd6a40aa38263a0c5f7ea">kThreadCount</a> = 32 * WarpCount::kCount</td></tr>
<tr class="separator:ac376c54b10cfd6a40aa38263a0c5f7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9681ea194ff33c1b57ba3a79f98999fd"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a9681ea194ff33c1b57ba3a79f98999fd">kAlignmentK</a> = Mma::Operator::Shape::kK</td></tr>
<tr class="separator:a9681ea194ff33c1b57ba3a79f98999fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a4b25c4e26b81109893d26cae032abb85"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a4b25c4e26b81109893d26cae032abb85">Epilogue</a> = Epilogue_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="af603f7f29cfb208585dfececcbed9b02"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#af603f7f29cfb208585dfececcbed9b02">Mma</a> = Mma_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a379bc5757082c492e9b9f9e123946c14"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a379bc5757082c492e9b9f9e123946c14">OutputOp</a> = typename Epilogue::OutputOp</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a06ed08426cb6c550542b6b7fd108c7c8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#a06ed08426cb6c550542b6b7fd108c7c8">ThreadblockSwizzle</a> = ThreadblockSwizzle_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aaff0380a2711dcc5bb8e75bc6fd292cd"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html#aaff0380a2711dcc5bb8e75bc6fd292cd">WarpCount</a> = typename Mma::WarpCount</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa0831b70d4c76337cffc040efe921ca7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">GemmSplitKParallel</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5490540efabcbcc110a6294005c7cf5e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">CUTLASS_DEVICE void <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1Params.html">Params</a> const &amp;&#160;</td>
<td class="paramname"><em>params</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1SharedStorage.html">SharedStorage</a> &amp;&#160;</td>
<td class="paramname"><em>shared_storage</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a9681ea194ff33c1b57ba3a79f98999fd"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::kAlignmentK = Mma::Operator::Shape::kK</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac376c54b10cfd6a40aa38263a0c5f7ea"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel.html">cutlass::gemm::kernel::GemmSplitKParallel</a>&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::kThreadCount = 32 * WarpCount::kCount</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="kernel_2gemm__splitk__parallel_8h_source.html">kernel/gemm_splitk_parallel.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>