cutlass/docs/classcutlass_1_1layout_1_1T...

458 lines
27 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::layout::TensorNCxHWx&lt; Interleave &gt; Class 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_1layout.html">layout</a></li><li class="navelem"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">TensorNCxHWx</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcutlass_1_1layout_1_1TensorNCxHWx-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::layout::TensorNCxHWx&lt; Interleave &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Mapping function for 4-D NC/xHWx tensors.
</p>
<p><code>#include &lt;<a class="el" href="tensor_8h_source.html">tensor.h</a>&gt;</code></p>
<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:a57a1e3a60ba44629bbdabe43dc588899"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a57a1e3a60ba44629bbdabe43dc588899">Index</a> = int32_t</td></tr>
<tr class="memdesc:a57a1e3a60ba44629bbdabe43dc588899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index type used for coordinates. <a href="#a57a1e3a60ba44629bbdabe43dc588899">More...</a><br /></td></tr>
<tr class="separator:a57a1e3a60ba44629bbdabe43dc588899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32f02e6a348caf051d2faab503fbc65c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a> = int64_t</td></tr>
<tr class="memdesc:a32f02e6a348caf051d2faab503fbc65c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Long index type used for offsets. <a href="#a32f02e6a348caf051d2faab503fbc65c">More...</a><br /></td></tr>
<tr class="separator:a32f02e6a348caf051d2faab503fbc65c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a362a077d7a6c3e2f8354043cddcb4811"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> = <a class="el" href="structcutlass_1_1Tensor4DCoord.html">Tensor4DCoord</a></td></tr>
<tr class="memdesc:a362a077d7a6c3e2f8354043cddcb4811"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical coordinate. <a href="#a362a077d7a6c3e2f8354043cddcb4811">More...</a><br /></td></tr>
<tr class="separator:a362a077d7a6c3e2f8354043cddcb4811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48066db2a98a8b2cdf585b0b2c9ab887"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt; <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#aa17170d312069cb54025c207b318e76a">kStrideRank</a> &gt;</td></tr>
<tr class="memdesc:a48066db2a98a8b2cdf585b0b2c9ab887"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stride vector. <a href="#a48066db2a98a8b2cdf585b0b2c9ab887">More...</a><br /></td></tr>
<tr class="separator:a48066db2a98a8b2cdf585b0b2c9ab887"><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:a59e93fceb4a8c9a7dd7492a19e4c98df"><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="classcutlass_1_1layout_1_1TensorNCxHWx.html#a59e93fceb4a8c9a7dd7492a19e4c98df">TensorNCxHWx</a> (<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> const &amp;<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a7b136a1523b0ba92e8e54b7882696cf9">stride</a>=<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a>(0))</td></tr>
<tr class="memdesc:a59e93fceb4a8c9a7dd7492a19e4c98df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a59e93fceb4a8c9a7dd7492a19e4c98df">More...</a><br /></td></tr>
<tr class="separator:a59e93fceb4a8c9a7dd7492a19e4c98df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee9b7569e5e31b15d35ca64cfa0bc0d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#aee9b7569e5e31b15d35ca64cfa0bc0d6">operator()</a> (<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;coord) const </td></tr>
<tr class="memdesc:aee9b7569e5e31b15d35ca64cfa0bc0d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the offset of a coordinate in linear memory. <a href="#aee9b7569e5e31b15d35ca64cfa0bc0d6">More...</a><br /></td></tr>
<tr class="separator:aee9b7569e5e31b15d35ca64cfa0bc0d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b136a1523b0ba92e8e54b7882696cf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a7b136a1523b0ba92e8e54b7882696cf9">stride</a> () const </td></tr>
<tr class="memdesc:a7b136a1523b0ba92e8e54b7882696cf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#a7b136a1523b0ba92e8e54b7882696cf9">More...</a><br /></td></tr>
<tr class="separator:a7b136a1523b0ba92e8e54b7882696cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18eccaeabb7badcd2fc5d7326d194730"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a18eccaeabb7badcd2fc5d7326d194730">stride</a> ()</td></tr>
<tr class="memdesc:a18eccaeabb7badcd2fc5d7326d194730"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#a18eccaeabb7badcd2fc5d7326d194730">More...</a><br /></td></tr>
<tr class="separator:a18eccaeabb7badcd2fc5d7326d194730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a915e1193d4f9c1feb973ae1331687bf9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a915e1193d4f9c1feb973ae1331687bf9">capacity</a> (<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;extent) const </td></tr>
<tr class="memdesc:a915e1193d4f9c1feb973ae1331687bf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the number of contiguous elements needed to store a tensor with the given size. <a href="#a915e1193d4f9c1feb973ae1331687bf9">More...</a><br /></td></tr>
<tr class="separator:a915e1193d4f9c1feb973ae1331687bf9"><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-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af6a8593026ce08ec962f43db36c84496"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">TensorNCxHWx</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#af6a8593026ce08ec962f43db36c84496">packed</a> (<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;extent)</td></tr>
<tr class="memdesc:af6a8593026ce08ec962f43db36c84496"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper returns a layout to a tightly packed tensor. <a href="#af6a8593026ce08ec962f43db36c84496">More...</a><br /></td></tr>
<tr class="separator:af6a8593026ce08ec962f43db36c84496"><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:aa9d3b74f0ae63b54b4e3a55cdbb9edef"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#aa9d3b74f0ae63b54b4e3a55cdbb9edef">kInterleave</a> = Interleave</td></tr>
<tr class="memdesc:aa9d3b74f0ae63b54b4e3a55cdbb9edef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interleaving quantity. <a href="#aa9d3b74f0ae63b54b4e3a55cdbb9edef">More...</a><br /></td></tr>
<tr class="separator:aa9d3b74f0ae63b54b4e3a55cdbb9edef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c774534c9c250bcf81f3e32e7b00edb"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a1c774534c9c250bcf81f3e32e7b00edb">kRank</a> = 4</td></tr>
<tr class="memdesc:a1c774534c9c250bcf81f3e32e7b00edb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical rank of tensor. <a href="#a1c774534c9c250bcf81f3e32e7b00edb">More...</a><br /></td></tr>
<tr class="separator:a1c774534c9c250bcf81f3e32e7b00edb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa17170d312069cb54025c207b318e76a"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#aa17170d312069cb54025c207b318e76a">kStrideRank</a> = 3</td></tr>
<tr class="memdesc:aa17170d312069cb54025c207b318e76a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rank of stride vector. <a href="#aa17170d312069cb54025c207b318e76a">More...</a><br /></td></tr>
<tr class="separator:aa17170d312069cb54025c207b318e76a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a57a1e3a60ba44629bbdabe43dc588899"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a57a1e3a60ba44629bbdabe43dc588899">Index</a> = int32_t</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a32f02e6a348caf051d2faab503fbc65c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a> = int64_t</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a48066db2a98a8b2cdf585b0b2c9ab887"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt;<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#aa17170d312069cb54025c207b318e76a">kStrideRank</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a362a077d7a6c3e2f8354043cddcb4811"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> = <a class="el" href="structcutlass_1_1Tensor4DCoord.html">Tensor4DCoord</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a59e93fceb4a8c9a7dd7492a19e4c98df"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&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="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::<a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">TensorNCxHWx</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> const &amp;&#160;</td>
<td class="paramname"><em>stride</em> = <code><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a>(0)</code></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="a915e1193d4f9c1feb973ae1331687bf9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&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="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::capacity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;&#160;</td>
<td class="paramname"><em>extent</em></td><td>)</td>
<td> const</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>
<a class="anchor" id="aee9b7569e5e31b15d35ca64cfa0bc0d6"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&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="classcutlass_1_1layout_1_1TensorNCxHWx.html#a32f02e6a348caf051d2faab503fbc65c">LongIndex</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;&#160;</td>
<td class="paramname"><em>coord</em></td><td>)</td>
<td> const</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>
<a class="anchor" id="af6a8593026ce08ec962f43db36c84496"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">TensorNCxHWx</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::packed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html#a362a077d7a6c3e2f8354043cddcb4811">TensorCoord</a> const &amp;&#160;</td>
<td class="paramname"><em>extent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a7b136a1523b0ba92e8e54b7882696cf9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&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="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a> <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::stride </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>
<a class="anchor" id="a18eccaeabb7badcd2fc5d7326d194730"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&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="classcutlass_1_1layout_1_1TensorNCxHWx.html#a48066db2a98a8b2cdf585b0b2c9ab887">Stride</a>&amp; <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::stride </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 Data Documentation</h2>
<a class="anchor" id="aa9d3b74f0ae63b54b4e3a55cdbb9edef"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::kInterleave = Interleave</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="a1c774534c9c250bcf81f3e32e7b00edb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::kRank = 4</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="aa17170d312069cb54025c207b318e76a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;int Interleave&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classcutlass_1_1layout_1_1TensorNCxHWx.html">cutlass::layout::TensorNCxHWx</a>&lt; Interleave &gt;::kStrideRank = 3</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 class was generated from the following file:<ul>
<li><a class="el" href="tensor_8h_source.html">tensor.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>