<ahref="tile__coord_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/***************************************************************************************************</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * provided that the following conditions are met:</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * * Redistributions of source code must retain the above copyright notice, this list of</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * conditions and the following disclaimer.</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * * Redistributions in binary form must reproduce the above copyright notice, this list of</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * conditions and the following disclaimer in the documentation and/or other materials</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * provided with the distribution.</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * * Neither the name of the NVIDIA CORPORATION nor the names of its contributors may be used</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * to endorse or promote products derived from this software without specific prior written</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * permission.</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * STRICT LIABILITY, OR TOR (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><divclass="line"><aname="l00022">
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ab5ebf352327baadcc740175d6b39adcb"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ab5ebf352327baadcc740175d6b39adcb">cutlass::TileCoord::kD</a></div><divclass="ttdeci">static int kD</div><divclass="ttdoc">D dimension. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:49</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a24d32587359493bb965745f5551e1624"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a24d32587359493bb965745f5551e1624">cutlass::TileCoord::kH</a></div><divclass="ttdeci">static int kH</div><divclass="ttdoc">H dimension. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:52</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_abe65d1a0ff3798b662376032d51e9713"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#abe65d1a0ff3798b662376032d51e9713">cutlass::TileCoord::dhw</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord< 3 > dhw() const</div><divclass="ttdoc">Gets D, H, and W dimensions as a Coord<3></div><divclass="ttdef"><b>Definition:</b> tile_coord.h:131</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_aeebb556622fe87c0902448de13a30e0c"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#aeebb556622fe87c0902448de13a30e0c">cutlass::TileCoord::c</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & c() const</div><divclass="ttdoc">Returns the Celement of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:111</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ac7c697a6fd23c7f49ff19aa6db4a41a3"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ac7c697a6fd23c7f49ff19aa6db4a41a3">cutlass::TileCoord::h</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & h() const</div><divclass="ttdoc">Returns the H element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:95</div></div>
<divclass="ttc"id="coord_8h_html"><divclass="ttname"><ahref="coord_8h.html">coord.h</a></div><divclass="ttdoc">A Coord is a coordinate of arbitrary rank into a tensor or matrix. </div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a21ae028c4ee3e5cbe5bf9d47a41e6613"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a21ae028c4ee3e5cbe5bf9d47a41e6613">cutlass::TileCoord::w</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & w() const</div><divclass="ttdoc">Returns the W element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:103</div></div>
<divclass="ttc"id="namespacecutlass_html_a7419519fa453a121dfa5f26bf87318d9"><divclass="ttname"><ahref="namespacecutlass.html#a7419519fa453a121dfa5f26bf87318d9">cutlass::make_Coord</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord< 1 > make_Coord(int _0)</div><divclass="ttdoc">Helper to make a 2-element coordinate. </div><divclass="ttdef"><b>Definition:</b> coord.h:368</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a07a067df652b64bd580f2ddf373e292b"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a07a067df652b64bd580f2ddf373e292b">cutlass::TileCoord::d</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & d() const</div><divclass="ttdoc">Returns the D element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:87</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a02da20e580962fe0754a772842045389"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a02da20e580962fe0754a772842045389">cutlass::TileCoord::operator-=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord & operator-=(Base const &b)</div><divclass="ttdoc">In-place subtraction. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:172</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a28ee00699941f879cfa92327c038fca6"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a28ee00699941f879cfa92327c038fca6">cutlass::TileCoord::TileCoord</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord(Index d, Index h, Index w, Index c)</div><divclass="ttdoc">Helper to construct from a row and column. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:83</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a752dcc11f1a018de692e5846a80fe185"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a752dcc11f1a018de692e5846a80fe185">cutlass::TileCoord::TileCoord</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord(Coord< 4, Index > const &coord)</div><divclass="ttdoc">Constructs from Coord<4></div><divclass="ttdef"><b>Definition:</b> tile_coord.h:75</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ad8281750f2978c6c1c91982f347a14cd"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ad8281750f2978c6c1c91982f347a14cd">cutlass::TileCoord::c</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index & c()</div><divclass="ttdoc">Returns the C element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:115</div></div>
<divclass="ttc"id="structcutlass_1_1Coord_html_ad4303b578b72b5cb2a0198375290e168"><divclass="ttname"><ahref="structcutlass_1_1Coord.html#ad4303b578b72b5cb2a0198375290e168">cutlass::Coord::operator*=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord & operator*=(Coord const &b)</div><divclass="ttdoc">In-place multiplication. </div><divclass="ttdef"><b>Definition:</b> coord.h:197</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ac760795433c0f0ccc5c44fb58626f51d"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ac760795433c0f0ccc5c44fb58626f51d">cutlass::TileCoord::TileCoord</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord(Coord< 3, Index > const &coord)</div><divclass="ttdoc">Constructs from Coord<3> and infers coord[kC] = 0. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:70</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a11bb7593ce7bba2dcedd199322a8b42b"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a11bb7593ce7bba2dcedd199322a8b42b">cutlass::TileCoord::hwc</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord< 3 > hwc() const</div><divclass="ttdoc">Gets H, W, and C dimensions as a Coord<3></div><divclass="ttdef"><b>Definition:</b> tile_coord.h:125</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a8f83026751c83f57c1854c8544e75bd0"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a8f83026751c83f57c1854c8544e75bd0">cutlass::TileCoord::w</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index & w()</div><divclass="ttdoc">Returns the W element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:107</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a0927c4ba212d00f3687034afe6bb8daf"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a0927c4ba212d00f3687034afe6bb8daf">cutlass::TileCoord::hw</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord< 2 > hw() const</div><divclass="ttdoc">Gets H and W dimensions as a Coord<2></div><divclass="ttdef"><b>Definition:</b> tile_coord.h:119</div></div>
<divclass="ttc"id="structcutlass_1_1Coord_html_a304334cbcad636d7b058fdc6310f0e6b"><divclass="ttname"><ahref="structcutlass_1_1Coord.html#a304334cbcad636d7b058fdc6310f0e6b">cutlass::Coord::operator-=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord & operator-=(Coord const &b)</div><divclass="ttdoc">In-place subtraction. </div><divclass="ttdef"><b>Definition:</b> coord.h:188</div></div>
<divclass="ttc"id="structcutlass_1_1Coord_html_a9eff24a3b74b68d11839b92324613c93"><divclass="ttname"><ahref="structcutlass_1_1Coord.html#a9eff24a3b74b68d11839b92324613c93">cutlass::Coord< 4, Index_ >::at</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index & at()</div><divclass="ttdoc">Gets the index of a given Coord element. </div><divclass="ttdef"><b>Definition:</b> coord.h:240</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ac3207d8aa879c86a907cdcc93ccb2eb5"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ac3207d8aa879c86a907cdcc93ccb2eb5">cutlass::TileCoord::operator/=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord & operator/=(Base const &b)</div><divclass="ttdoc">In-place division. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:186</div></div>
<divclass="ttc"id="structcutlass_1_1Coord_html_ac87199c4c9a4e20aac4eb6e3b9a68f28"><divclass="ttname"><ahref="structcutlass_1_1Coord.html#ac87199c4c9a4e20aac4eb6e3b9a68f28">cutlass::Coord::operator/=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Coord & operator/=(Coord const &b)</div><divclass="ttdoc">In-place division. </div><divclass="ttdef"><b>Definition:</b> coord.h:206</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a2ff6ac0ad18cff304ee7f79597fdc274"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a2ff6ac0ad18cff304ee7f79597fdc274">cutlass::TileCoord::TileCoord</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord(Index coord[4])</div><divclass="ttdoc">Constructs from an array of coordinate elements. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:79</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_ac2c14af3ceffd5ef8f17c9e0efb4e5ec"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#ac2c14af3ceffd5ef8f17c9e0efb4e5ec">cutlass::TileCoord::kW</a></div><divclass="ttdeci">static int kW</div><divclass="ttdoc">W dimension. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:55</div></div>
<divclass="ttc"id="structcutlass_1_1Coord_html"><divclass="ttname"><ahref="structcutlass_1_1Coord.html">cutlass::Coord</a></div><divclass="ttdoc">Statically-sized array specifying Coords within a tensor. </div><divclass="ttdef"><b>Definition:</b> coord.h:49</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a1d91ffa0a63ad03431ff79185526f92f"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a1d91ffa0a63ad03431ff79185526f92f">cutlass::TileCoord::h</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index & h()</div><divclass="ttdoc">Returns the H element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:99</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_a812760c633ea813db8a2bc24826c68df"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#a812760c633ea813db8a2bc24826c68df">cutlass::TileCoord::operator+=</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TileCoord & operator+=(Base const &b)</div><divclass="ttdoc">In-place addition. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:165</div></div>
<divclass="ttc"id="structcutlass_1_1TileCoord_html_aec4ffcdc8fbf57a8b649fff38af55007"><divclass="ttname"><ahref="structcutlass_1_1TileCoord.html#aec4ffcdc8fbf57a8b649fff38af55007">cutlass::TileCoord::d</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index & d()</div><divclass="ttdoc">Returns the D element of the coordinate. </div><divclass="ttdef"><b>Definition:</b> tile_coord.h:91</div></div>