CUTLASS 2.0 (#62)

CUTLASS 2.0

Substantially refactored for

- Better performance, particularly for native Turing Tensor Cores
- Robust and durable templates spanning the design space
- Encapsulated functionality embodying modern C++11 programming techniques
- Optimized containers and data types for efficient, generic, portable device code

Updates to:
- Quick start guide
- Documentation
- Utilities
- CUTLASS Profiler

Native Turing Tensor Cores
- Efficient GEMM kernels targeting Turing Tensor Cores
- Mixed-precision floating point, 8-bit integer, 4-bit integer, and binarized operands

Coverage of existing CUTLASS functionality:
- GEMM kernels targeting CUDA and Tensor Cores in NVIDIA GPUs
- Volta Tensor Cores through native mma.sync and through WMMA API
- Optimizations such as parallel reductions, threadblock rasterization, and intra-threadblock reductions
- Batched GEMM operations
- Complex-valued GEMMs

Note: this commit and all that follow require a host compiler supporting C++11 or greater.
This commit is contained in:
Andrew Kerr
2019-11-19 16:55:34 -08:00
committed by GitHub
parent b5cab177a9
commit fb335f6a5f
5434 changed files with 599799 additions and 250176 deletions
+112 -26
View File
@@ -3,21 +3,23 @@
<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: Class Members - Variables</title>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: Class Members - Variables</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/javascript">
$(document).ready(function() { init_search(); });
</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>
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
@@ -26,8 +28,9 @@
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Cutlass
<div id="projectname">CUTLASS
</div>
<div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
</td>
@@ -36,22 +39,78 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;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&amp;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>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li class="current"><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="navrow3" class="tabs2">
<ul class="tablist">
<li><a href="functions.html"><span>All</span></a></li>
<li><a href="functions_func.html"><span>Functions</span></a></li>
<li class="current"><a href="functions_vars.html"><span>Variables</span></a></li>
<li><a href="functions_type.html"><span>Typedefs</span></a></li>
<li><a href="functions_enum.html"><span>Enumerations</span></a></li>
<li><a href="functions_eval.html"><span>Enumerator</span></a></li>
</ul>
</div>
<div id="navrow4" class="tabs3">
<ul class="tablist">
<li><a href="functions_vars.html#index_a"><span>a</span></a></li>
<li><a href="functions_vars_b.html#index_b"><span>b</span></a></li>
<li><a href="functions_vars_c.html#index_c"><span>c</span></a></li>
<li><a href="functions_vars_d.html#index_d"><span>d</span></a></li>
<li><a href="functions_vars_e.html#index_e"><span>e</span></a></li>
<li><a href="functions_vars_f.html#index_f"><span>f</span></a></li>
<li><a href="functions_vars_g.html#index_g"><span>g</span></a></li>
<li><a href="functions_vars_h.html#index_h"><span>h</span></a></li>
<li><a href="functions_vars_i.html#index_i"><span>i</span></a></li>
<li><a href="functions_vars_k.html#index_k"><span>k</span></a></li>
<li><a href="functions_vars_l.html#index_l"><span>l</span></a></li>
<li class="current"><a href="functions_vars_m.html#index_m"><span>m</span></a></li>
<li><a href="functions_vars_n.html#index_n"><span>n</span></a></li>
<li><a href="functions_vars_o.html#index_o"><span>o</span></a></li>
<li><a href="functions_vars_p.html#index_p"><span>p</span></a></li>
<li><a href="functions_vars_r.html#index_r"><span>r</span></a></li>
<li><a href="functions_vars_s.html#index_s"><span>s</span></a></li>
<li><a href="functions_vars_t.html#index_t"><span>t</span></a></li>
<li><a href="functions_vars_u.html#index_u"><span>u</span></a></li>
<li><a href="functions_vars_v.html#index_v"><span>v</span></a></li>
<li><a href="functions_vars_w.html#index_w"><span>w</span></a></li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -70,12 +129,20 @@ $(function() {
<div class="contents">
&#160;
<h3><a id="index_m"></a>- m -</h3><ul>
<h3><a class="anchor" id="index_m"></a>- m -</h3><ul>
<li>main_loop
: <a class="el" href="unioncutlass_1_1gemm_1_1GemmTraits_1_1SharedStorage.html#aa5dd7edc3cffa785eb1e5b62c18c74c4">cutlass::gemm::GemmTraits&lt; GemmConfig_, GlobalLoadStreamA_, GlobalLoadStreamB_, SharedLoadStreamA_, SharedLoadStreamB_, Epilogue_, BlockSwizzle_, Index_, ClearAccumulators_ &gt;::SharedStorage</a>
: <a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1Gemm_1_1SharedStorage.html#a25ca6f379b42d97b73de07473e2fdf02">cutlass::gemm::kernel::Gemm&lt; Mma_, Epilogue_, ThreadblockSwizzle_, SplitKSerial &gt;::SharedStorage</a>
, <a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmBatched_1_1SharedStorage.html#ae9f9d72c08cbf031961d95dca828d573">cutlass::gemm::kernel::GemmBatched&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::SharedStorage</a>
, <a class="el" href="unioncutlass_1_1gemm_1_1kernel_1_1GemmSplitKParallel_1_1SharedStorage.html#a9a4c11bb49a8cadae9cb2c17c92bf6db">cutlass::gemm::kernel::GemmSplitKParallel&lt; Mma_, Epilogue_, ThreadblockSwizzle_ &gt;::SharedStorage</a>
</li>
<li>mask_
: <a class="el" href="structcutlass_1_1gemm_1_1IgemmGlobalIteratorAb.html#aa6e76073303f5f5a95053a781ec8b762">cutlass::gemm::IgemmGlobalIteratorAb&lt; TileTraits_, Index_ &gt;</a>
<li>math_instruction
: <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#aad96c46afa29cb6c02f8e0737eeaf963">cutlass::library::TileDescription</a>
</li>
<li>max
: <a class="el" href="structcutlass_1_1Distribution.html#a824641fd3addfa360999614970adfac0">cutlass::Distribution</a>
</li>
<li>maximum_compute_capability
: <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a37f5925a2f04995091c56c034f4f2572">cutlass::library::TileDescription</a>
</li>
<li>maxInReg
: <a class="el" href="structcutlass_1_1reduction_1_1BatchedReductionTraits.html#af11a3284195a24e580d2f379f179f05a">cutlass::reduction::BatchedReductionTraits&lt; ScalarA_, ScalarC_, ScalarD_, ScalarAlphaBeta_, ScalarAccum_, ReductionSize_, OutputTile_, SubTile_, ThreadShape_, Index_, BlockSwizzle_, maxInReg_, maxOutReg_, Functor_ &gt;</a>
@@ -83,16 +150,35 @@ $(function() {
<li>maxOutReg
: <a class="el" href="structcutlass_1_1reduction_1_1BatchedReductionTraits.html#ac28e31791c5888bbe7b04abe6376a422">cutlass::reduction::BatchedReductionTraits&lt; ScalarA_, ScalarC_, ScalarD_, ScalarAlphaBeta_, ScalarAccum_, ReductionSize_, OutputTile_, SubTile_, ThreadShape_, Index_, BlockSwizzle_, maxInReg_, maxOutReg_, Functor_ &gt;</a>
</li>
<li>multiplicand_bounds
: <a class="el" href="structcutlass_1_1gemm_1_1GlobalLoadStream.html#a386f2f4d2e239075f0fe1489ed7788c1">cutlass::gemm::GlobalLoadStream&lt; Operand, LoadIterator_, StoreIterator_, Transformer_ &gt;</a>
<li>mean
: <a class="el" href="structcutlass_1_1Distribution.html#a776df53c7ad1b7de983c9f9d17d7438c">cutlass::Distribution</a>
, <a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomGaussianFunc_1_1Params.html#a07d12eba25e8e2e9da03ce735b1b8113">cutlass::reference::device::detail::RandomGaussianFunc&lt; Element &gt;::Params</a>
, <a class="el" href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc.html#a5da7c7b953aa178bb356ba8578245d89">cutlass::reference::host::detail::RandomGaussianFunc&lt; Element &gt;</a>
, <a class="el" href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#ad8c60b0630a2867fd80a0d09a3cf63cd">cutlass::reference::host::detail::RandomGaussianFunc&lt; complex&lt; Element &gt; &gt;</a>
</li>
<li>min
: <a class="el" href="structcutlass_1_1Distribution.html#a846430e3a21ed25c779fc6e714bc1bcc">cutlass::Distribution</a>
, <a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomUniformFunc_1_1Params.html#a5f49e5175fa2fc3c3c7fb495fe6958db">cutlass::reference::device::detail::RandomUniformFunc&lt; Element &gt;::Params</a>
, <a class="el" href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc.html#ab3de08baeb9246f5472a1c8ec19c68fa">cutlass::reference::host::detail::RandomUniformFunc&lt; Element &gt;</a>
, <a class="el" href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#a005299ae9f0e4533f6847a7f6ff9e6ad">cutlass::reference::host::detail::RandomUniformFunc&lt; complex&lt; Element &gt; &gt;</a>
</li>
<li>minimum_compute_capability
: <a class="el" href="structcutlass_1_1library_1_1TileDescription.html#a25557ce7220e284c095ef7f691b16fa0">cutlass::library::TileDescription</a>
</li>
<li>mma
: <a class="el" href="classcutlass_1_1gemm_1_1warp_1_1MmaTensorOp.html#a2eddba2b1644d2df5ade4de535b95ed7">cutlass::gemm::warp::MmaTensorOp&lt; Shape_, ElementA_, LayoutA_, ElementB_, LayoutB_, ElementC_, LayoutC_, Policy_, PartitionsK_, AccumulatorsInRowMajor, PartitionsN_, Enable &gt;</a>
, <a class="el" href="classcutlass_1_1gemm_1_1warp_1_1MmaVoltaTensorOp.html#aa4837cb1fd3eac3713e99d0625f14842">cutlass::gemm::warp::MmaVoltaTensorOp&lt; Shape_, ElementA_, LayoutA_, ElementB_, LayoutB_, ElementC_, LayoutC_, Policy_, Enable &gt;</a>
</li>
<li>msg
: <a class="el" href="classcutlass_1_1cuda__exception.html#af748a69a87ad9863985f6a77260ba77a">cutlass::cuda_exception</a>
</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Oct 26 2018 14:53:41 for Cutlass by &#160;<a href="http://www.doxygen.org/index.html">
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</a> 1.8.11
</small></address>
</body>
</html>