<ahref="igemm__global__tile_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="
<divclass="ttc"id="structcutlass_1_1gemm_1_1IgemmGlobalTileTraits_1_1ThreadOffset_html"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalTileTraits_1_1ThreadOffset.html">cutlass::gemm::IgemmGlobalTileTraits::ThreadOffset</a></div><divclass="ttdoc">Computes the thread offset in (H, W) based on thread ID. </div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:77</div></div>
<divclass="ttc"id="gemm__global__tile_8h_html"><divclass="ttname"><ahref="gemm__global__tile_8h.html">gemm_global_tile.h</a></div><divclass="ttdoc">Defines iterators for efficiently loading and storing to global memory. </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_1gemm_1_1IgemmGlobalTileTraits_html_ae1d930fa295d8ddfaa10bda5978258de"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalTileTraits.html#ae1d930fa295d8ddfaa10bda5978258de">cutlass::gemm::IgemmGlobalTileTraits::Iterations</a></div><divclass="ttdeci">Shape< Base::VectorizedTile::kH/Base::Threads::kH/4, 4, Base::VectorizedTile::kW/Base::Threads::kW, Base::VectorizedTile::kC/Base::kAccessSize > Iterations</div><divclass="ttdoc">The number of iterations needed to load/store the tile. </div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:74</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_1gemm_1_1GemmGlobalIteratorAb_html_a85afb31647e5cac591b76959a102cd06"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1GemmGlobalIteratorAb.html#a85afb31647e5cac591b76959a102cd06">cutlass::gemm::GemmGlobalIteratorAb::load_element</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE void load_element(typename Base::AccessType &value, int d, int h, int w, int c) const</div><divclass="ttdoc">Loads a single fragment element from memory. </div><divclass="ttdef"><b>Definition:</b> gemm_global_tile.h:267</div></div>
<divclass="ttc"id="namespacecutlass_1_1MatrixLayout_html_a97ef07af21b122c1804245b0c7784d2b"><divclass="ttname"><ahref="namespacecutlass_1_1MatrixLayout.html#a97ef07af21b122c1804245b0c7784d2b">cutlass::MatrixLayout::Kind</a></div><divclass="ttdeci">Kind</div><divclass="ttdoc">Enumeration defining fundamental contiguous layouts. </div><divclass="ttdef"><b>Definition:</b> matrix_traits.h:159</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_1TileLoadIterator_html"><divclass="ttname"><ahref="structcutlass_1_1TileLoadIterator.html">cutlass::TileLoadIterator</a></div><divclass="ttdoc">An iterator implementing Tile Load Iterator Concept for loading a tile from memory. </div><divclass="ttdef"><b>Definition:</b> tile_iterator.h:402</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb_html_a5cbda0dea8c87ca55499c97cc80b1ccf"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb.html#a5cbda0dea8c87ca55499c97cc80b1ccf">cutlass::gemm::IgemmGlobalIteratorAb::load_element</a></div><divclass="ttdeci">CUTLASS_DEVICE void load_element(typename Base::AccessType &value, int d, int h, int w, int c) const</div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:122</div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html"><divclass="ttname"><ahref="structcutlass_1_1Shape.html">cutlass::Shape</a></div><divclass="ttdoc">A Shape implementing Layout Concept describing the dimensions of a cube. </div><divclass="ttdef"><b>Definition:</b> shape.h:64</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb_html_a07ff2f97fdd57c4df05ef8e817265b30"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb.html#a07ff2f97fdd57c4df05ef8e817265b30">cutlass::gemm::IgemmGlobalIteratorAb::ThreadOffset</a></div><divclass="ttdeci">TileTraits_::ThreadOffset ThreadOffset</div><divclass="ttdoc">The functor to compute the thread offset. </div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:99</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb_html_aa6e76073303f5f5a95053a781ec8b762"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb.html#aa6e76073303f5f5a95053a781ec8b762">cutlass::gemm::IgemmGlobalIteratorAb::mask_</a></div><divclass="ttdeci">uint32_t mask_</div><divclass="ttdoc">The mask to clean up the values. </div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:129</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_1gemm_1_1GemmGlobalTileTraits_html_aa001e09b246fdd8259cbda6a500cad5f"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1GemmGlobalTileTraits.html#aa001e09b246fdd8259cbda6a500cad5f">cutlass::gemm::GemmGlobalTileTraits::kAccessSize</a></div><divclass="ttdeci">static int const kAccessSize</div><divclass="ttdoc">The number of scalars per LDG/STG. </div><divclass="ttdef"><b>Definition:</b> gemm_global_tile.h:80</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1IgemmGlobalTileTraits_html_adab639892c3586464e2ea5f947b9e0f0"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1IgemmGlobalTileTraits.html#adab639892c3586464e2ea5f947b9e0f0">cutlass::gemm::IgemmGlobalTileTraits::Delta</a></div><divclass="ttdeci">Shape< Base::Threads::kH *4, 1, Base::Threads::kW, Base::kAccessSize > Delta</div><divclass="ttdoc">The strides in each dimension between different loads/stores. </div><divclass="ttdef"><b>Definition:</b> igemm_global_tile.h:68</div></div>
<divclass="ttc"id="matrix__traits_8h_html"><divclass="ttname"><ahref="matrix__traits_8h.html">matrix_traits.h</a></div><divclass="ttdoc">Defines properties of matrices used to denote layout and operands to GEMM kernels. </div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1GemmGlobalIteratorAb_html_a1864c5556529afdc8445021cad780b04"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1GemmGlobalIteratorAb.html#a1864c5556529afdc8445021cad780b04">cutlass::gemm::GemmGlobalIteratorAb::thread_offset</a></div><divclass="ttdeci">Coord< 4 > thread_offset</div><divclass="ttdoc">Offset of an individual lane from the start of the tile. </div><divclass="ttdef"><b>Definition:</b> gemm_global_tile.h:213</div></div>