<ahref="pitch__linear__thread__map_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-2019, 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"><a
<divclass="ttc"id="structcutlass_1_1layout_1_1PitchLinearCoord_html"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearCoord.html">cutlass::layout::PitchLinearCoord</a></div><divclass="ttdoc">Coordinate in pitch-linear space. </div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:52</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="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_1transform_1_1PitchLinearWarpStripedThreadMap_1_1Detail_html_a3c9d519f149afb61d0e083ead0e2a13f"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpStripedThreadMap_1_1Detail.html#a3c9d519f149afb61d0e083ead0e2a13f">cutlass::transform::PitchLinearWarpStripedThreadMap::Detail::WarpThreadArrangement</a></div><divclass="ttdeci">WarpThreadArrangement_ WarpThreadArrangement</div><divclass="ttdoc">Fixed arrangement of threads within a warp (units of threads). </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:512</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap_html_a79dd4ad5e5e96c8c992d683825f32c48"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap.html#a79dd4ad5e5e96c8c992d683825f32c48">cutlass::transform::PitchLinearStripminedThreadMap::kElementsPerAccess</a></div><divclass="ttdeci">static int const kElementsPerAccess</div><divclass="ttdoc">Extract vector length from Layout. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:71</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearWarpStripedThreadMap_html_acc6d9ccbb71792f3dea2e7c6c88f3a07"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpStripedThreadMap.html#acc6d9ccbb71792f3dea2e7c6c88f3a07">cutlass::transform::PitchLinearWarpStripedThreadMap::initial_offset</a></div><divclass="ttdeci">static CUTLASS_HOST_DEVICE TensorCoord initial_offset(int thread_id)</div><divclass="ttdoc">Maps thread ID to a coordinate offset within the tensor&#39;s logical coordinate space. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:569</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_1layout_1_1PitchLinearShape_html"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearShape.html">cutlass::layout::PitchLinearShape</a></div><divclass="ttdoc">Template defining a shape used by pitch-linear operators. </div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:43</div></div>
<divclass="ttc"id="array_8h_html"><divclass="ttname"><ahref="array_8h.html">array.h</a></div><divclass="ttdoc">Statically sized array of elements that accommodates all CUTLASS-supported numeric types and is safe ...</div></div>
<divclass="ttc"id="predicate__vector_8h_html"><divclass="ttname"><ahref="predicate__vector_8h.html">predicate_vector.h</a></div><divclass="ttdoc">Defines container classes and iterators for managing a statically sized vector of boolean predicates...</div></div>
<divclass="ttc"id="structcutlass_1_1layout_1_1PitchLinearShape_html_aaec0afa0c26627d951d2d2b98a3e5601"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearShape.html#aaec0afa0c26627d951d2d2b98a3e5601">cutlass::layout::PitchLinearShape::kStrided</a></div><divclass="ttdeci">static int const kStrided</div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:45</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinear2DThreadTileStripminedThreadMap_3_01Shape___00_01Thread0082c3467229b12cc9dd996283ee7160_html_a1ccecc2d9406a5d052b2ed15a74c1abe"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinear2DThreadTileStripminedThreadMap_3_01Shape___00_01Thread0082c3467229b12cc9dd996283ee7160.html#a1ccecc2d9406a5d052b2ed15a74c1abe">cutlass::transform::PitchLinear2DThreadTileStripminedThreadMap< Shape_, Threads, cutlass::layout::PitchLinearShape< 4, 4 >>::Iterations</a></div><divclass="ttdeci">typename platform::conditional< Threads >=Detail::ShapeVec::kContiguous, layout::PitchLinearShape< 1,(Threads >=Detail::ShapeVec::kContiguous?Detail::ShapeVec::kStrided/(kThreads/Detail::ShapeVec::kContiguous):0) >, layout::PitchLinearShape< Detail::ShapeVec::kContiguous/kThreads, Detail::ShapeVec::kStrided >>::type Iterations</div><divclass="ttdoc">Number of iterations by each thread. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:684</div></div>
<divclass="ttc"id="structcutlass_1_1layout_1_1PitchLinearShape_html_a0d1cfb72e7511d162d123fcb36d181b7"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearShape.html#a0d1cfb72e7511d162d123fcb36d181b7">cutlass::layout::PitchLinearShape::kContiguous</a></div><divclass="ttdeci">static int const kContiguous</div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:44</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap_1_1Detail_html_ae5f2c732f0ae6ecedb89b86de30aacf1"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap_1_1Detail.html#ae5f2c732f0ae6ecedb89b86de30aacf1">cutlass::transform::PitchLinearWarpRakedThreadMap::Detail::WarpThreadArrangement</a></div><divclass="ttdeci">WarpThreadArrangement_ WarpThreadArrangement</div><divclass="ttdoc">Fixed arrangement of threads within a warp (units of threads). </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:226</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap2DThreadTile_html"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap2DThreadTile.html">cutlass::transform::TransposePitchLinearThreadMap2DThreadTile</a></div><divclass="ttdoc">Thread Mapping a 2D threadtiled mapping as a transposed Pitchlinear2DThreadTile mapping. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:713</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap_1_1Detail_html_a6df9849627a40c17ac90a758ef5d2f9e"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap_1_1Detail.html#a6df9849627a40c17ac90a758ef5d2f9e">cutlass::transform::TransposePitchLinearThreadMap::Detail::WarpThreadArrangement</a></div><divclass="ttdeci">WarpThreadArrangement_ WarpThreadArrangement</div><divclass="ttdoc">Fixed arrangement of threads within a warp (units of threads). </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:355</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap_1_1Detail_html"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1TransposePitchLinearThreadMap_1_1Detail.html">cutlass::transform::TransposePitchLinearThreadMap::Detail</a></div><divclass="ttdoc">Internal details made public to facilitate introspection Iterations along each dimension (concept: Pi...</div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:353</div></div>
<divclass="ttc"id="structcutlass_1_1layout_1_1PitchLinearCoord_html_adb31bc9b8cf49dfff64245b70a850834"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearCoord.html#adb31bc9b8cf49dfff64245b70a850834">cutlass::layout::PitchLinearCoord::contiguous</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & contiguous() const </div><divclass="ttdoc">Returns the contiguous dimension. </div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:89</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap_html_ad4089315fc07133a415189b088a6d04c"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap.html#ad4089315fc07133a415189b088a6d04c">cutlass::transform::PitchLinearStripminedThreadMap::kThreads</a></div><divclass="ttdeci">static int const kThreads</div><divclass="ttdoc">Number of threads total. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:68</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap_html_a495158bd07a83fa73c78bc4e41b92c86"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap.html#a495158bd07a83fa73c78bc4e41b92c86">cutlass::transform::PitchLinearWarpRakedThreadMap::initial_offset</a></div><divclass="ttdeci">static CUTLASS_HOST_DEVICE TensorCoord initial_offset(int thread_id)</div><divclass="ttdoc">Maps thread ID to a coordinate offset within the tensor&#39;s logical coordinate space. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:285</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap_1_1Detail_html"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpRakedThreadMap_1_1Detail.html">cutlass::transform::PitchLinearWarpRakedThreadMap::Detail</a></div><divclass="ttdoc">Internal details made public to facilitate introspection Iterations along each dimension (concept: Pi...</div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:223</div></div>
<divclass="ttc"id="pitch__linear_8h_html"><divclass="ttname"><ahref="pitch__linear_8h.html">pitch_linear.h</a></div><divclass="ttdoc">Defines layout functions used by TensorRef and derived classes for pitch-linear memory. </div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap_html_a784640fa418b1d9b55f912f65925e705"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearStripminedThreadMap.html#a784640fa418b1d9b55f912f65925e705">cutlass::transform::PitchLinearStripminedThreadMap::Iterations</a></div><divclass="ttdeci">typename platform::conditional< Threads >=Detail::ShapeVec::kContiguous, layout::PitchLinearShape< 1,(Threads >=Detail::ShapeVec::kContiguous?Detail::ShapeVec::kStrided/(kThreads/Detail::ShapeVec::kContiguous):0) >, layout::PitchLinearShape< Detail::ShapeVec::kContiguous/kThreads, Detail::ShapeVec::kStrided >>::type Iterations</div><divclass="ttdoc">Number of iterations by each thread. </div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:108</div></div>
<divclass="ttc"id="cutlass_8h_html"><divclass="ttname"><ahref="cutlass_8h.html">cutlass.h</a></div><divclass="ttdoc">Basic include for CUTLASS. </div></div>
<divclass="ttc"id="structcutlass_1_1layout_1_1PitchLinearCoord_html_aa828f8dbee3903754b56759c1e6a6043"><divclass="ttname"><ahref="structcutlass_1_1layout_1_1PitchLinearCoord.html#aa828f8dbee3903754b56759c1e6a6043">cutlass::layout::PitchLinearCoord::strided</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Index const & strided() const </div><divclass="ttdoc">Returns the column of the coordinate. </div><divclass="ttdef"><b>Definition:</b> pitch_linear.h:97</div></div>
<divclass="ttc"id="structcutlass_1_1transform_1_1PitchLinearWarpStripedThreadMap_1_1Detail_html"><divclass="ttname"><ahref="structcutlass_1_1transform_1_1PitchLinearWarpStripedThreadMap_1_1Detail.html">cutlass::transform::PitchLinearWarpStripedThreadMap::Detail</a></div><divclass="ttdoc">Internal details made public to facilitate introspection Iterations along each dimension (concept: Pi...</div><divclass="ttdef"><b>Definition:</b> pitch_linear_thread_map.h:509</div></div>