317 lines
18 KiB
HTML
317 lines
18 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::GemmBatched< Mma_, Epilogue_, ThreadblockSwizzle_ > 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 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 List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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_1GemmBatched.html">GemmBatched</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">cutlass::gemm::kernel::GemmBatched< Mma_, Epilogue_, ThreadblockSwizzle_ > Struct Template Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="kernel_2gemm__batched_8h_source.html">gemm_batched.h</a>></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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1Params.html">Params</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Parameters structure. <a href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1Params.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1SharedStorage.html">SharedStorage</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Shared memory storage structure. <a href="unioncutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1SharedStorage.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:a4365b372cc097b012c0375c612c67f59"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a4365b372cc097b012c0375c612c67f59">Mma</a> = Mma_</td></tr>
|
|
<tr class="separator:a4365b372cc097b012c0375c612c67f59"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac1c2f9222619ba34326932811aeb094c"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#ac1c2f9222619ba34326932811aeb094c">Epilogue</a> = Epilogue_</td></tr>
|
|
<tr class="separator:ac1c2f9222619ba34326932811aeb094c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0d8c1ce66a7349d173bfa6466dd23783"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a0d8c1ce66a7349d173bfa6466dd23783">OutputOp</a> = typename Epilogue::OutputOp</td></tr>
|
|
<tr class="separator:a0d8c1ce66a7349d173bfa6466dd23783"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af35405739682d38a889c1604e760b3ca"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#af35405739682d38a889c1604e760b3ca">ThreadblockSwizzle</a> = ThreadblockSwizzle_</td></tr>
|
|
<tr class="separator:af35405739682d38a889c1604e760b3ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a726f4f6d7a03e1cad815362f4455d2ec"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a726f4f6d7a03e1cad815362f4455d2ec">WarpCount</a> = typename Mma::WarpCount</td></tr>
|
|
<tr class="memdesc:a726f4f6d7a03e1cad815362f4455d2ec"><td class="mdescLeft"> </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="#a726f4f6d7a03e1cad815362f4455d2ec">More...</a><br /></td></tr>
|
|
<tr class="separator:a726f4f6d7a03e1cad815362f4455d2ec"><td class="memSeparator" colspan="2"> </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:ae01da9be38c69a99e8d09b978b6cd267"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#ae01da9be38c69a99e8d09b978b6cd267">GemmBatched</a> ()</td></tr>
|
|
<tr class="separator:ae01da9be38c69a99e8d09b978b6cd267"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9545b33639695004a139b977240ad925"><td class="memItemLeft" align="right" valign="top">CUTLASS_DEVICE void </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a9545b33639695004a139b977240ad925">operator()</a> (<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1Params.html">Params</a> const &params, <a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1SharedStorage.html">SharedStorage</a> &shared_storage)</td></tr>
|
|
<tr class="memdesc:a9545b33639695004a139b977240ad925"><td class="mdescLeft"> </td><td class="mdescRight">Executes one GEMM. <a href="#a9545b33639695004a139b977240ad925">More...</a><br /></td></tr>
|
|
<tr class="separator:a9545b33639695004a139b977240ad925"><td class="memSeparator" colspan="2"> </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:aafddaefa35d27c76a89be8e692005615"><td class="memItemLeft" align="right" valign="top">static int const </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#aafddaefa35d27c76a89be8e692005615">kThreadCount</a> = 32 * WarpCount::kCount</td></tr>
|
|
<tr class="separator:aafddaefa35d27c76a89be8e692005615"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a class="anchor" id="ac1c2f9222619ba34326932811aeb094c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#ac1c2f9222619ba34326932811aeb094c">Epilogue</a> = Epilogue_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4365b372cc097b012c0375c612c67f59"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a4365b372cc097b012c0375c612c67f59">Mma</a> = Mma_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0d8c1ce66a7349d173bfa6466dd23783"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a0d8c1ce66a7349d173bfa6466dd23783">OutputOp</a> = typename Epilogue::OutputOp</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af35405739682d38a889c1604e760b3ca"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#af35405739682d38a889c1604e760b3ca">ThreadblockSwizzle</a> = ThreadblockSwizzle_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a726f4f6d7a03e1cad815362f4455d2ec"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html#a726f4f6d7a03e1cad815362f4455d2ec">WarpCount</a> = typename Mma::WarpCount</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="ae01da9be38c69a99e8d09b978b6cd267"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </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_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::<a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched.html">GemmBatched</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="a9545b33639695004a139b977240ad925"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </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_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structcutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1Params.html">Params</a> const & </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_1GemmBatched_1_1SharedStorage.html">SharedStorage</a> & </td>
|
|
<td class="paramname"><em>shared_storage</em> </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="aafddaefa35d27c76a89be8e692005615"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename Mma_ , typename Epilogue_ , typename ThreadblockSwizzle_ > </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_1GemmBatched.html">cutlass::gemm::kernel::GemmBatched</a>< Mma_, Epilogue_, ThreadblockSwizzle_ >::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__batched_8h_source.html">kernel/gemm_batched.h</a></li>
|
|
</ul>
|
|
</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>
|