cutlass/docs/structcutlass_1_1library_1_...

290 lines
16 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::library::TileDescription Struct 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_1library.html">library</a></li><li class="navelem"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html">TileDescription</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structcutlass_1_1library_1_1TileDescription-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::library::TileDescription Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Structure describing the tiled structure of a GEMM-like computation.
</p>
<p><code>#include &lt;<a class="el" href="library_8h_source.html">library.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for cutlass::library::TileDescription:</div>
<div class="dyncontent">
<div class="center"><img src="structcutlass_1_1library_1_1TileDescription__coll__graph.png" border="0" usemap="#cutlass_1_1library_1_1TileDescription_coll__map" alt="Collaboration graph"/></div>
<map name="cutlass_1_1library_1_1TileDescription_coll__map" id="cutlass_1_1library_1_1TileDescription_coll__map">
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<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:adc39c111b8c71ebaace50806e8efcc18"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#adc39c111b8c71ebaace50806e8efcc18">TileDescription</a> (<a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a> <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a528456b8b4d1708e96c79be0f3427c37">threadblock_shape</a>=<a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>(), int <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a73315247fcd78117c052c54eb013642e">threadblock_stages</a>=0, <a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a> <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a0b57ca9bfa898ce206e83d0b30e69438">warp_count</a>=<a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>(), <a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a> <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#aad96c46afa29cb6c02f8e0737eeaf963">math_instruction</a>=<a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a>(), int <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a25557ce7220e284c095ef7f691b16fa0">minimum_compute_capability</a>=0, int <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a37f5925a2f04995091c56c034f4f2572">maximum_compute_capability</a>=0)</td></tr>
<tr class="separator:adc39c111b8c71ebaace50806e8efcc18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a528456b8b4d1708e96c79be0f3427c37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a528456b8b4d1708e96c79be0f3427c37">threadblock_shape</a></td></tr>
<tr class="memdesc:a528456b8b4d1708e96c79be0f3427c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the shape of a threadblock (in elements) <a href="#a528456b8b4d1708e96c79be0f3427c37">More...</a><br /></td></tr>
<tr class="separator:a528456b8b4d1708e96c79be0f3427c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73315247fcd78117c052c54eb013642e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a73315247fcd78117c052c54eb013642e">threadblock_stages</a></td></tr>
<tr class="memdesc:a73315247fcd78117c052c54eb013642e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the number of pipeline stages in the threadblock-scoped mainloop. <a href="#a73315247fcd78117c052c54eb013642e">More...</a><br /></td></tr>
<tr class="separator:a73315247fcd78117c052c54eb013642e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b57ca9bfa898ce206e83d0b30e69438"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a0b57ca9bfa898ce206e83d0b30e69438">warp_count</a></td></tr>
<tr class="memdesc:a0b57ca9bfa898ce206e83d0b30e69438"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of warps in each logical dimension. <a href="#a0b57ca9bfa898ce206e83d0b30e69438">More...</a><br /></td></tr>
<tr class="separator:a0b57ca9bfa898ce206e83d0b30e69438"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad96c46afa29cb6c02f8e0737eeaf963"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#aad96c46afa29cb6c02f8e0737eeaf963">math_instruction</a></td></tr>
<tr class="memdesc:aad96c46afa29cb6c02f8e0737eeaf963"><td class="mdescLeft">&#160;</td><td class="mdescRight">Core math instruction. <a href="#aad96c46afa29cb6c02f8e0737eeaf963">More...</a><br /></td></tr>
<tr class="separator:aad96c46afa29cb6c02f8e0737eeaf963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25557ce7220e284c095ef7f691b16fa0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a25557ce7220e284c095ef7f691b16fa0">minimum_compute_capability</a></td></tr>
<tr class="memdesc:a25557ce7220e284c095ef7f691b16fa0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum compute capability (e.g. 70, 75) of a device eligible to run the operation. <a href="#a25557ce7220e284c095ef7f691b16fa0">More...</a><br /></td></tr>
<tr class="separator:a25557ce7220e284c095ef7f691b16fa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37f5925a2f04995091c56c034f4f2572"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a37f5925a2f04995091c56c034f4f2572">maximum_compute_capability</a></td></tr>
<tr class="memdesc:a37f5925a2f04995091c56c034f4f2572"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum compute capability (e.g. 70, 75) of a device eligible to run the operation. <a href="#a37f5925a2f04995091c56c034f4f2572">More...</a><br /></td></tr>
<tr class="separator:a37f5925a2f04995091c56c034f4f2572"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adc39c111b8c71ebaace50806e8efcc18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cutlass::library::TileDescription::TileDescription </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>&#160;</td>
<td class="paramname"><em>threadblock_shape</em> = <code><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>threadblock_stages</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>&#160;</td>
<td class="paramname"><em>warp_count</em> = <code><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a>&#160;</td>
<td class="paramname"><em>math_instruction</em> = <code><a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>minimum_compute_capability</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>maximum_compute_capability</em> = <code>0</code>&#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="aad96c46afa29cb6c02f8e0737eeaf963"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcutlass_1_1library_1_1MathInstructionDescription.html">MathInstructionDescription</a> cutlass::library::TileDescription::math_instruction</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a37f5925a2f04995091c56c034f4f2572"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cutlass::library::TileDescription::maximum_compute_capability</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a25557ce7220e284c095ef7f691b16fa0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cutlass::library::TileDescription::minimum_compute_capability</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a528456b8b4d1708e96c79be0f3427c37"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a> cutlass::library::TileDescription::threadblock_shape</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a73315247fcd78117c052c54eb013642e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int cutlass::library::TileDescription::threadblock_stages</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0b57ca9bfa898ce206e83d0b30e69438"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structcutlass_1_1gemm_1_1GemmCoord.html">cutlass::gemm::GemmCoord</a> cutlass::library::TileDescription::warp_count</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="library_8h_source.html">library.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>