<ahref="tile__allocation_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="l00
<divclass="ttc"id="structcutlass_1_1ZipTileAllocation_html_a0d00001220df7f2bdb1f09ae3f37c585"><divclass="ttname"><ahref="structcutlass_1_1ZipTileAllocation.html#a0d00001220df7f2bdb1f09ae3f37c585">cutlass::ZipTileAllocation::reference</a></div><divclass="ttdeci">CUTLASS_DEVICE TensorRef reference()</div><divclass="ttdoc">Returns a TensorRef object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:159</div></div>
<divclass="ttc"id="structcutlass_1_1ZipTileAllocation_html_aba6d5cfb32cfed340d8af2971ec50af4"><divclass="ttname"><ahref="structcutlass_1_1ZipTileAllocation.html#aba6d5cfb32cfed340d8af2971ec50af4">cutlass::ZipTileAllocation::ConstTensorRef</a></div><divclass="ttdeci">ZipTensorRef< typename First::ConstTensorRef, typename Second::ConstTensorRef > ConstTensorRef</div><divclass="ttdoc">Defines the tensor reference for this allocation. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:141</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a6b8bef90ee0ce6f58f7971a4925d88c7"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a6b8bef90ee0ce6f58f7971a4925d88c7">cutlass::TileAllocation::view</a></div><divclass="ttdeci">CUTLASS_DEVICE TensorView view()</div><divclass="ttdoc">Returns a TensorView object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:104</div></div>
<divclass="ttc"id="tensor__ref_8h_html"><divclass="ttname"><ahref="tensor__ref_8h.html">tensor_ref.h</a></div><divclass="ttdoc">Defines a structure containing strides, bounds, and a pointer to tensor data. </div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a759e998135d5f25e689afdc676d95141"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a759e998135d5f25e689afdc676d95141">cutlass::TileAllocation::TensorView</a></div><divclass="ttdeci">TensorView< Scalar, 4 > TensorView</div><divclass="ttdoc">View of memory. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:69</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_aa0bf6caeab13dc004350c6c0cfe0df80"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#aa0bf6caeab13dc004350c6c0cfe0df80">cutlass::TileAllocation::TensorRef</a></div><divclass="ttdeci">TensorRef< Scalar, 4 > TensorRef</div><divclass="ttdoc">Defines the tensor reference for this allocation. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:63</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_acc3f2c29fe21316091a1405613083000"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#acc3f2c29fe21316091a1405613083000">cutlass::TileAllocation::data</a></div><divclass="ttdeci">CUTLASS_DEVICE Scalar const * data() const</div><divclass="ttdoc">Returns a const pointer to the raw data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:88</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_1TileAllocation_html_a3466ef2b478e4617aa1ff261217cfd05"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a3466ef2b478e4617aa1ff261217cfd05">cutlass::TileAllocation::reference</a></div><divclass="ttdeci">CUTLASS_DEVICE TensorRef reference()</div><divclass="ttdoc">Returns a TensorRef object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:92</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a8d3befc0770f235d219bf77a0370fa4f"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a8d3befc0770f235d219bf77a0370fa4f">cutlass::TileAllocation::view</a></div><divclass="ttdeci">CUTLASS_DEVICE ConstTensorView view() const</div><divclass="ttdoc">Returns a TensorView object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:113</div></div>
<divclass="ttc"id="structcutlass_1_1ZipTileAllocation_html_a1c274bfb4401beabaf62fed9c2054ddf"><divclass="ttname"><ahref="structcutlass_1_1ZipTileAllocation.html#a1c274bfb4401beabaf62fed9c2054ddf">cutlass::ZipTileAllocation::TensorRef</a></div><divclass="ttdeci">ZipTensorRef< typename First::TensorRef, typename Second::TensorRef > TensorRef</div><divclass="ttdoc">Defines the tensor reference for this allocation. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:137</div></div>
<divclass="ttc"id="tensor__view_8h_html"><divclass="ttname"><ahref="tensor__view_8h.html">tensor_view.h</a></div><divclass="ttdoc">Defines a structure containing strides and a pointer to tensor data. </div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html_a3a20d9062bba613c160bb2cd14f80a5e"><divclass="ttname"><ahref="structcutlass_1_1Shape.html#a3a20d9062bba613c160bb2cd14f80a5e">cutlass::Shape::kH</a></div><divclass="ttdeci">static int const kH</div><divclass="ttdoc">The height of the cube. </div><divclass="ttdef"><b>Definition:</b> shape.h:68</div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html_a3f2433fd6401dd28f1130499f9fd340c"><divclass="ttname"><ahref="structcutlass_1_1Shape.html#a3f2433fd6401dd28f1130499f9fd340c">cutlass::Shape::kC</a></div><divclass="ttdeci">static int const kC</div><divclass="ttdoc">The number of scalars per element. </div><divclass="ttdef"><b>Definition:</b> shape.h:72</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a122fa067390f45b29946286271654033"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a122fa067390f45b29946286271654033">cutlass::TileAllocation::ConstTensorRef</a></div><divclass="ttdeci">TensorRef< Scalar const, 4 > ConstTensorRef</div><divclass="ttdoc">Defines the tensor reference for this allocation. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:60</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_afcdc0be82acf0b4ae66468e2170c5a0d"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#afcdc0be82acf0b4ae66468e2170c5a0d">cutlass::TileAllocation::reference</a></div><divclass="ttdeci">CUTLASS_DEVICE ConstTensorRef reference() const</div><divclass="ttdoc">Returns a TensorRef object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:98</div></div>
<divclass="ttc"id="zip__tensor__ref_8h_html"><divclass="ttname"><ahref="zip__tensor__ref_8h.html">zip_tensor_ref.h</a></div><divclass="ttdoc">Defines a structure containing a pair of TensorRef-like objects. </div></div>
<divclass="ttc"id="structcutlass_1_1ZipTileAllocation_html"><divclass="ttname"><ahref="structcutlass_1_1ZipTileAllocation.html">cutlass::ZipTileAllocation</a></div><divclass="ttdoc">Manages a pair of tile allocations as if they are one allocation. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:125</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a2254302a3ce0b4da5c3657ada0cb8ccc"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a2254302a3ce0b4da5c3657ada0cb8ccc">cutlass::TileAllocation::Shape</a></div><divclass="ttdeci">Shape_ Shape</div><divclass="ttdoc">Size of the allocation in units of scalars. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:54</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html">cutlass::TileAllocation</a></div><divclass="ttdoc">Class for storing a tile in memory and accessing it through a tensor ref. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:42</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_a69c43b27939e9ecebd23edb18ed3a9dc"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#a69c43b27939e9ecebd23edb18ed3a9dc">cutlass::TileAllocation::data</a></div><divclass="ttdeci">CUTLASS_DEVICE Scalar * data()</div><divclass="ttdoc">Returns a pointer to the raw data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:84</div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_ac39b045286bd3669042f3b223629d73e"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#ac39b045286bd3669042f3b223629d73e">cutlass::TileAllocation::ConstTensorView</a></div><divclass="ttdeci">TensorView< Scalar const, 4 > ConstTensorView</div><divclass="ttdoc">View of memory. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:66</div></div>
<divclass="ttc"id="structcutlass_1_1ZipTileAllocation_html_af9964904e789b3ab58334f1ec1ceee56"><divclass="ttname"><ahref="structcutlass_1_1ZipTileAllocation.html#af9964904e789b3ab58334f1ec1ceee56">cutlass::ZipTileAllocation::reference</a></div><divclass="ttdeci">CUTLASS_DEVICE ConstTensorRef reference() const</div><divclass="ttdoc">Returns a TensorRef object pointing to the data. </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:163</div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html_a78836a20250ff24c25a6622ad818b421"><divclass="ttname"><ahref="structcutlass_1_1Shape.html#a78836a20250ff24c25a6622ad818b421">cutlass::Shape::kW</a></div><divclass="ttdeci">static int const kW</div><divclass="ttdoc">The width of the cube. </div><divclass="ttdef"><b>Definition:</b> shape.h:70</div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html_a19086a5567d6c710ec853e35a7f29c25"><divclass="ttname"><ahref="structcutlass_1_1Shape.html#a19086a5567d6c710ec853e35a7f29c25">cutlass::Shape::kD</a></div><divclass="ttdeci">static int const kD</div><divclass="ttdoc">The depth of the cube. </div><divclass="ttdef"><b>Definition:</b> shape.h:66</div></div>
<divclass="ttc"id="shape_8h_html"><divclass="ttname"><ahref="shape_8h.html">shape.h</a></div><divclass="ttdoc">Defines Shape implementing the Layout concept for representing a 4D hypercube of objects. </div></div>
<divclass="ttc"id="structcutlass_1_1TileAllocation_html_ace1f396620f3eb69c367bdf69aa27ebd"><divclass="ttname"><ahref="structcutlass_1_1TileAllocation.html#ace1f396620f3eb69c367bdf69aa27ebd">cutlass::TileAllocation::Storage</a></div><divclass="ttdeci">StorageType< sizeof(Scalar)>::Type Storage</div><divclass="ttdoc">The actual storage (may differ from the scalar type) </div><divclass="ttdef"><b>Definition:</b> tile_allocation.h:51</div></div>
<divclass="ttc"id="fragment_8h_html"><divclass="ttname"><ahref="fragment_8h.html">fragment.h</a></div><divclass="ttdoc">Defines Fragment, a statically-sized array for storing parts of matrices within a thread&#39;s registers...</div></div>