2018-05-17 02:44:56 +08:00
<!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.14" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Cutlass: cutlass::gemm::IdentityBlockSwizzle Struct 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/x-mathjax-config" >
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
< / script > < script type = "text/javascript" async 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 = "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.14 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / 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_1gemm.html" > gemm< / a > < / li > < li class = "navelem" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html" > IdentityBlockSwizzle< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > cutlass::gemm::IdentityBlockSwizzle Struct Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2018-10-27 05:54:58 +08:00
< p > < code > #include < < a class = "el" href = "gemm_2threadblock__swizzle_8h_source.html" > threadblock_swizzle.h< / a > > < / code > < / p >
2018-05-17 02:44:56 +08:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
2018-09-20 05:02:08 +08:00
< tr class = "memitem:a046a5dfd01164df2abd514e9a52987c3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1" > CUTLASS_HOST_DEVICE< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#a046a5dfd01164df2abd514e9a52987c3" > IdentityBlockSwizzle< / a > ()< / td > < / tr >
< tr class = "memdesc:a046a5dfd01164df2abd514e9a52987c3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Ctor. aka ColumnMajorBlockSwizzle< 1> < a href = "#a046a5dfd01164df2abd514e9a52987c3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a046a5dfd01164df2abd514e9a52987c3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-05-17 02:44:56 +08:00
< tr class = "memitem:a0a366c072ee66bbcb390acd7b8bbe5f8" > < td class = "memItemLeft" align = "right" valign = "top" > CUTLASS_DEVICE dim3  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#a0a366c072ee66bbcb390acd7b8bbe5f8" > swizzle< / a > ()< / td > < / tr >
< tr class = "memdesc:a0a366c072ee66bbcb390acd7b8bbe5f8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Swizzle the block index. < a href = "#a0a366c072ee66bbcb390acd7b8bbe5f8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a0a366c072ee66bbcb390acd7b8bbe5f8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-09-20 05:02:08 +08:00
< tr class = "memitem:afc20f302a5cc5b736cfc1c91dfcaa57c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1" > CUTLASS_HOST_DEVICE< / a > dim3  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#afc20f302a5cc5b736cfc1c91dfcaa57c" > get_grid_layout< / a > (< a class = "el" href = "structcutlass_1_1gemm_1_1GemmCoord.html" > GemmCoord< / a > const & problem_size, < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 > const & OutputTile)< / td > < / tr >
< tr class = "separator:afc20f302a5cc5b736cfc1c91dfcaa57c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a386e5cf702b0dcc3d57f9fdb4ab5d236" > < td class = "memItemLeft" align = "right" valign = "top" > CUTLASS_DEVICE < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#a386e5cf702b0dcc3d57f9fdb4ab5d236" > get_threadblock_offset< / a > (< a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 > const & OutputTile)< / td > < / tr >
2018-10-27 05:54:58 +08:00
< tr class = "memdesc:a386e5cf702b0dcc3d57f9fdb4ab5d236" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > get threadblock offset, without considering tha batch dim < a href = "#a386e5cf702b0dcc3d57f9fdb4ab5d236" > More...< / a > < br / > < / td > < / tr >
2018-09-20 05:02:08 +08:00
< tr class = "separator:a386e5cf702b0dcc3d57f9fdb4ab5d236" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8f84a2b830caecff3edd052dc24635e6" > < td class = "memItemLeft" align = "right" valign = "top" > CUTLASS_DEVICE int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#a8f84a2b830caecff3edd052dc24635e6" > get_batch_id< / a > ()< / td > < / tr >
< tr class = "separator:a8f84a2b830caecff3edd052dc24635e6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-10-27 05:54:58 +08:00
< tr class = "memitem:afb0d53bc4c077c787f01e17931e06564" > < td class = "memItemLeft" align = "right" valign = "top" > CUTLASS_DEVICE bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#afb0d53bc4c077c787f01e17931e06564" > is_last_partition< / a > ()< / td > < / tr >
< tr class = "memdesc:afb0d53bc4c077c787f01e17931e06564" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > check if at the last partition < a href = "#afb0d53bc4c077c787f01e17931e06564" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:afb0d53bc4c077c787f01e17931e06564" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4afd3f4a5c5af95d33767d7fb9cf1232" > < td class = "memItemLeft" align = "right" valign = "top" > CUTLASS_DEVICE < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "structcutlass_1_1gemm_1_1IdentityBlockSwizzle.html#a4afd3f4a5c5af95d33767d7fb9cf1232" > get_threadblock_bounds< / a > (< a class = "el" href = "structcutlass_1_1gemm_1_1GemmCoord.html" > GemmCoord< / a > const & problem_size, int partitionK_range)< / td > < / tr >
< tr class = "separator:a4afd3f4a5c5af95d33767d7fb9cf1232" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2018-05-17 02:44:56 +08:00
< / table >
< h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2018-09-20 05:02:08 +08:00
< a id = "a046a5dfd01164df2abd514e9a52987c3" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a046a5dfd01164df2abd514e9a52987c3" > ◆ < / a > < / span > IdentityBlockSwizzle()< / h2 >
2018-05-17 02:44:56 +08:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2018-09-20 05:02:08 +08:00
< td class = "memname" > < a class = "el" href = "cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1" > CUTLASS_HOST_DEVICE< / a > cutlass::gemm::IdentityBlockSwizzle::IdentityBlockSwizzle < / td >
2018-05-17 02:44:56 +08:00
< 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 >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2018-09-20 05:02:08 +08:00
< a id = "a8f84a2b830caecff3edd052dc24635e6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8f84a2b830caecff3edd052dc24635e6" > ◆ < / a > < / span > get_batch_id()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > CUTLASS_DEVICE int cutlass::gemm::IdentityBlockSwizzle::get_batch_id < / 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 id = "afc20f302a5cc5b736cfc1c91dfcaa57c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afc20f302a5cc5b736cfc1c91dfcaa57c" > ◆ < / a > < / span > get_grid_layout()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< 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 > dim3 cutlass::gemm::IdentityBlockSwizzle::get_grid_layout < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structcutlass_1_1gemm_1_1GemmCoord.html" > GemmCoord< / a > const &   < / td >
< td class = "paramname" > < em > problem_size< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 > const &   < / td >
< td class = "paramname" > < em > OutputTile< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / 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" >
2018-10-27 05:54:58 +08:00
< / div >
< / div >
< a id = "a4afd3f4a5c5af95d33767d7fb9cf1232" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4afd3f4a5c5af95d33767d7fb9cf1232" > ◆ < / a > < / span > get_threadblock_bounds()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > CUTLASS_DEVICE < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3> cutlass::gemm::IdentityBlockSwizzle::get_threadblock_bounds < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structcutlass_1_1gemm_1_1GemmCoord.html" > GemmCoord< / a > const &   < / td >
< td class = "paramname" > < em > problem_size< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > partitionK_range< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / 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" >
2018-09-20 05:02:08 +08:00
< / div >
< / div >
< a id = "a386e5cf702b0dcc3d57f9fdb4ab5d236" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a386e5cf702b0dcc3d57f9fdb4ab5d236" > ◆ < / a > < / span > get_threadblock_offset()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > CUTLASS_DEVICE < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3> cutlass::gemm::IdentityBlockSwizzle::get_threadblock_offset < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "structcutlass_1_1Coord.html" > Coord< / a > < 3 > const &   < / td >
< td class = "paramname" > < em > OutputTile< / 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" >
2018-10-27 05:54:58 +08:00
< / div >
< / div >
< a id = "afb0d53bc4c077c787f01e17931e06564" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afb0d53bc4c077c787f01e17931e06564" > ◆ < / a > < / span > is_last_partition()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > CUTLASS_DEVICE bool cutlass::gemm::IdentityBlockSwizzle::is_last_partition < / 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" >
2018-09-20 05:02:08 +08:00
< / div >
< / div >
2018-05-17 02:44:56 +08:00
< a id = "a0a366c072ee66bbcb390acd7b8bbe5f8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0a366c072ee66bbcb390acd7b8bbe5f8" > ◆ < / a > < / span > swizzle()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > CUTLASS_DEVICE dim3 cutlass::gemm::IdentityBlockSwizzle::swizzle < / 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 >
< hr / > The documentation for this struct was generated from the following file:< ul >
2018-10-27 05:54:58 +08:00
< li > < a class = "el" href = "gemm_2threadblock__swizzle_8h_source.html" > gemm/threadblock_swizzle.h< / a > < / li >
2018-05-17 02:44:56 +08:00
< / ul >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2018-10-27 05:54:58 +08:00
Generated on Fri Oct 26 2018 14:53:39 for Cutlass by   < a href = "http://www.doxygen.org/index.html" >
2018-05-17 02:44:56 +08:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.14
< / small > < / address >
< / body >
< / html >