cutlass/docs/structcutlass_1_1layout_1_1...

576 lines
35 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::ColumnMajorInterleaved&lt; Interleave &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_1layout.html">layout</a></li><li class="navelem"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">ColumnMajorInterleaved</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="structcutlass_1_1layout_1_1ColumnMajorInterleaved-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::layout::ColumnMajorInterleaved&lt; Interleave &gt; Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="layout_2matrix_8h_source.html">matrix.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:aa3e25100889b6dfb1a8c1a256e9185ea"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> = int32_t</td></tr>
<tr class="memdesc:aa3e25100889b6dfb1a8c1a256e9185ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index type used for coordinates. <a href="#aa3e25100889b6dfb1a8c1a256e9185ea">More...</a><br /></td></tr>
<tr class="separator:aa3e25100889b6dfb1a8c1a256e9185ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85c8727c1bf645ac264dfed8186a1240"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a> = int64_t</td></tr>
<tr class="memdesc:a85c8727c1bf645ac264dfed8186a1240"><td class="mdescLeft">&#160;</td><td class="mdescRight">Long index type used for offsets. <a href="#a85c8727c1bf645ac264dfed8186a1240">More...</a><br /></td></tr>
<tr class="separator:a85c8727c1bf645ac264dfed8186a1240"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05eb468b0a58af6b4955b6f9229b5a5c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a05eb468b0a58af6b4955b6f9229b5a5c">TensorCoord</a> = <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a></td></tr>
<tr class="memdesc:a05eb468b0a58af6b4955b6f9229b5a5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical coordinate. <a href="#a05eb468b0a58af6b4955b6f9229b5a5c">More...</a><br /></td></tr>
<tr class="separator:a05eb468b0a58af6b4955b6f9229b5a5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fea4214978c9d577c54ddcc086f8861"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt; <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a14ae8fdc44e1a349ffc1ec0ee217f75c">kStrideRank</a>, <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> &gt;</td></tr>
<tr class="memdesc:a5fea4214978c9d577c54ddcc086f8861"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stride vector. <a href="#a5fea4214978c9d577c54ddcc086f8861">More...</a><br /></td></tr>
<tr class="separator:a5fea4214978c9d577c54ddcc086f8861"><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:acd4d70f17b74ebe3e55ea0027bac5899"><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_1layout_1_1ColumnMajorInterleaved.html#acd4d70f17b74ebe3e55ea0027bac5899">ColumnMajorInterleaved</a> (<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> ldm=0)</td></tr>
<tr class="memdesc:acd4d70f17b74ebe3e55ea0027bac5899"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor. <a href="#acd4d70f17b74ebe3e55ea0027bac5899">More...</a><br /></td></tr>
<tr class="separator:acd4d70f17b74ebe3e55ea0027bac5899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d4a85bbfbb919349e6fd2b859a0a461"><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_1layout_1_1ColumnMajorInterleaved.html#a2d4a85bbfbb919349e6fd2b859a0a461">ColumnMajorInterleaved</a> (<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5c651763f14af031cba81d5611fa4224">stride</a>)</td></tr>
<tr class="memdesc:a2d4a85bbfbb919349e6fd2b859a0a461"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ctor. <a href="#a2d4a85bbfbb919349e6fd2b859a0a461">More...</a><br /></td></tr>
<tr class="separator:a2d4a85bbfbb919349e6fd2b859a0a461"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3917dbbf6f698bb3267a17f307664e21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a3917dbbf6f698bb3267a17f307664e21">operator()</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;coord) const </td></tr>
<tr class="separator:a3917dbbf6f698bb3267a17f307664e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e5a49fed5354bfaf49213bf9b2483dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a7e5a49fed5354bfaf49213bf9b2483dd">inverse</a> (<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a> offset) const </td></tr>
<tr class="memdesc:a7e5a49fed5354bfaf49213bf9b2483dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inverse of layout function, mapping linear offset to logical coordinate. <a href="#a7e5a49fed5354bfaf49213bf9b2483dd">More...</a><br /></td></tr>
<tr class="separator:a7e5a49fed5354bfaf49213bf9b2483dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c651763f14af031cba81d5611fa4224"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5c651763f14af031cba81d5611fa4224">stride</a> () const </td></tr>
<tr class="memdesc:a5c651763f14af031cba81d5611fa4224"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#a5c651763f14af031cba81d5611fa4224">More...</a><br /></td></tr>
<tr class="separator:a5c651763f14af031cba81d5611fa4224"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01720029ba3761a51b43cb030646c245"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a01720029ba3761a51b43cb030646c245">stride</a> ()</td></tr>
<tr class="memdesc:a01720029ba3761a51b43cb030646c245"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#a01720029ba3761a51b43cb030646c245">More...</a><br /></td></tr>
<tr class="separator:a01720029ba3761a51b43cb030646c245"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affc8b1731c858eefa55b169042593e93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#affc8b1731c858eefa55b169042593e93">stride</a> (int idx) const </td></tr>
<tr class="memdesc:affc8b1731c858eefa55b169042593e93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#affc8b1731c858eefa55b169042593e93">More...</a><br /></td></tr>
<tr class="separator:affc8b1731c858eefa55b169042593e93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af015a6b8ccd665d2b285f8727228054d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#af015a6b8ccd665d2b285f8727228054d">stride</a> (int idx)</td></tr>
<tr class="memdesc:af015a6b8ccd665d2b285f8727228054d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout. <a href="#af015a6b8ccd665d2b285f8727228054d">More...</a><br /></td></tr>
<tr class="separator:af015a6b8ccd665d2b285f8727228054d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8233dbf6ef04491c79780bf27893f3e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a8233dbf6ef04491c79780bf27893f3e1">capacity</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;extent) const </td></tr>
<tr class="memdesc:a8233dbf6ef04491c79780bf27893f3e1"><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="#a8233dbf6ef04491c79780bf27893f3e1">More...</a><br /></td></tr>
<tr class="separator:a8233dbf6ef04491c79780bf27893f3e1"><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:ab690e548a771a3e35357f454f3c924a5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">ColumnMajorInterleaved</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#ab690e548a771a3e35357f454f3c924a5">packed</a> (<a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> const &amp;extent)</td></tr>
<tr class="memdesc:ab690e548a771a3e35357f454f3c924a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper returns a layout to a tightly packed tensor. <a href="#ab690e548a771a3e35357f454f3c924a5">More...</a><br /></td></tr>
<tr class="separator:ab690e548a771a3e35357f454f3c924a5"><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:aad9b92ee9840d1566cfdbc0a1c62e447"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aad9b92ee9840d1566cfdbc0a1c62e447">kRank</a> = 2</td></tr>
<tr class="memdesc:aad9b92ee9840d1566cfdbc0a1c62e447"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical rank of tensor. <a href="#aad9b92ee9840d1566cfdbc0a1c62e447">More...</a><br /></td></tr>
<tr class="separator:aad9b92ee9840d1566cfdbc0a1c62e447"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ae8fdc44e1a349ffc1ec0ee217f75c"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a14ae8fdc44e1a349ffc1ec0ee217f75c">kStrideRank</a> = 1</td></tr>
<tr class="memdesc:a14ae8fdc44e1a349ffc1ec0ee217f75c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rank of stride vector. <a href="#a14ae8fdc44e1a349ffc1ec0ee217f75c">More...</a><br /></td></tr>
<tr class="separator:a14ae8fdc44e1a349ffc1ec0ee217f75c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa55ccfb47e6460c7babcd30b43d0d63"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#afa55ccfb47e6460c7babcd30b43d0d63">kInterleave</a> = Interleave</td></tr>
<tr class="memdesc:afa55ccfb47e6460c7babcd30b43d0d63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of interleaved columns. <a href="#afa55ccfb47e6460c7babcd30b43d0d63">More...</a><br /></td></tr>
<tr class="separator:afa55ccfb47e6460c7babcd30b43d0d63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;int Interleave&gt;<br />
struct cutlass::layout::ColumnMajorInterleaved&lt; Interleave &gt;</h3>
<p>Mapping function for interleaved matrices. Matrix is structured as column-major arrangement of fixed-size rows. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="aa3e25100889b6dfb1a8c1a256e9185ea"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> = int32_t</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a85c8727c1bf645ac264dfed8186a1240"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a> = int64_t</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a5fea4214978c9d577c54ddcc086f8861"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt;<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a14ae8fdc44e1a349ffc1ec0ee217f75c">kStrideRank</a>, <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a05eb468b0a58af6b4955b6f9229b5a5c"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a05eb468b0a58af6b4955b6f9229b5a5c">TensorCoord</a> = <a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acd4d70f17b74ebe3e55ea0027bac5899"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">ColumnMajorInterleaved</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a>&#160;</td>
<td class="paramname"><em>ldm</em> = <code>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>
<a class="anchor" id="a2d4a85bbfbb919349e6fd2b859a0a461"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::<a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">ColumnMajorInterleaved</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a>&#160;</td>
<td class="paramname"><em>stride</em></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="a8233dbf6ef04491c79780bf27893f3e1"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::capacity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</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="a7e5a49fed5354bfaf49213bf9b2483dd"></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="structcutlass_1_1MatrixCoord.html">MatrixCoord</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::inverse </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a>&#160;</td>
<td class="paramname"><em>offset</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="a3917dbbf6f698bb3267a17f307664e21"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a85c8727c1bf645ac264dfed8186a1240">LongIndex</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</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">
<p>Returns the offset of a coordinate in linear memory. Assumes coordinate has convention (row, column) </p>
</div>
</div>
<a class="anchor" id="ab690e548a771a3e35357f454f3c924a5"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">ColumnMajorInterleaved</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::packed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1MatrixCoord.html">MatrixCoord</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="a5c651763f14af031cba81d5611fa4224"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</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="a01720029ba3761a51b43cb030646c245"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#a5fea4214978c9d577c54ddcc086f8861">Stride</a>&amp; <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</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>
<a class="anchor" id="affc8b1731c858eefa55b169042593e93"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a> <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::stride </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>idx</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="af015a6b8ccd665d2b285f8727228054d"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html#aa3e25100889b6dfb1a8c1a256e9185ea">Index</a>&amp; <a class="el" href="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::stride </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>idx</em></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="afa55ccfb47e6460c7babcd30b43d0d63"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</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="aad9b92ee9840d1566cfdbc0a1c62e447"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::kRank = 2</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="a14ae8fdc44e1a349ffc1ec0ee217f75c"></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="structcutlass_1_1layout_1_1ColumnMajorInterleaved.html">cutlass::layout::ColumnMajorInterleaved</a>&lt; Interleave &gt;::kStrideRank = 1</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="layout_2matrix_8h_source.html">layout/matrix.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>