cutlass/docs/classcutlass_1_1epilogue_1_...

424 lines
29 KiB
HTML

<!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.11"/>
<title>CUTLASS: cutlass::epilogue::thread::LinearCombinationRelu&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt; Class Template 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/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" 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="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
<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.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<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><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</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_1epilogue.html">epilogue</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1epilogue_1_1thread.html">thread</a></li><li class="navelem"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">LinearCombinationRelu</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cutlass::epilogue::thread::LinearCombinationRelu&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="linear__combination__relu_8h_source.html">linear_combination_relu.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_1_1Params.html">Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Host-constructable parameters structure. <a href="structcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:acb1b391e1c4d1573622cb7ee108d74d7"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#acb1b391e1c4d1573622cb7ee108d74d7">ElementOutput</a> = ElementOutput_</td></tr>
<tr class="separator:acb1b391e1c4d1573622cb7ee108d74d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1acf74be026cb3f6165ae02d779ddd4"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#ad1acf74be026cb3f6165ae02d779ddd4">ElementAccumulator</a> = ElementAccumulator_</td></tr>
<tr class="separator:ad1acf74be026cb3f6165ae02d779ddd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21856d54ce2247edfc696b475ffa7a11"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a> = ElementCompute_</td></tr>
<tr class="separator:a21856d54ce2247edfc696b475ffa7a11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14bfd5ef175cf1d0242cc3a3c28e130d"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a> = Array&lt; <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#acb1b391e1c4d1573622cb7ee108d74d7">ElementOutput</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a> &gt;</td></tr>
<tr class="separator:a14bfd5ef175cf1d0242cc3a3c28e130d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37cb96ec3a7e16d88dc7402cd5246ce1"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a37cb96ec3a7e16d88dc7402cd5246ce1">FragmentAccumulator</a> = Array&lt; <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#ad1acf74be026cb3f6165ae02d779ddd4">ElementAccumulator</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a> &gt;</td></tr>
<tr class="separator:a37cb96ec3a7e16d88dc7402cd5246ce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54909b2fb614bf006572ceb79a264d05"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a54909b2fb614bf006572ceb79a264d05">ComputeFragment</a> = Array&lt; <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a> &gt;</td></tr>
<tr class="separator:a54909b2fb614bf006572ceb79a264d05"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae060fd9c16f95f086ff7f784ce40a7e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#ae060fd9c16f95f086ff7f784ce40a7e2">LinearCombinationRelu</a> (<a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_1_1Params.html">Params</a> const &amp;params)</td></tr>
<tr class="memdesc:ae060fd9c16f95f086ff7f784ce40a7e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs the function object, possibly loading from pointers in host memory. <a href="#ae060fd9c16f95f086ff7f784ce40a7e2">More...</a><br /></td></tr>
<tr class="separator:ae060fd9c16f95f086ff7f784ce40a7e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ba2de177b25375afc33043d665a5114"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a6ba2de177b25375afc33043d665a5114">is_source_needed</a> () const </td></tr>
<tr class="memdesc:a6ba2de177b25375afc33043d665a5114"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if source is needed. <a href="#a6ba2de177b25375afc33043d665a5114">More...</a><br /></td></tr>
<tr class="separator:a6ba2de177b25375afc33043d665a5114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa630c8bf7a182a49159fc270ebd0f938"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#aa630c8bf7a182a49159fc270ebd0f938">set_k_partition</a> (int k_partition)</td></tr>
<tr class="memdesc:aa630c8bf7a182a49159fc270ebd0f938"><td class="mdescLeft">&#160;</td><td class="mdescRight">Functionally required for serial reduction in the epilogue. <a href="#aa630c8bf7a182a49159fc270ebd0f938">More...</a><br /></td></tr>
<tr class="separator:aa630c8bf7a182a49159fc270ebd0f938"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93c794d586c7d0a6054a24db70490539"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a93c794d586c7d0a6054a24db70490539">operator()</a> (<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a37cb96ec3a7e16d88dc7402cd5246ce1">FragmentAccumulator</a> const &amp;accumulator, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a> const &amp;source, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a> uniform=<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a>(0)) const </td></tr>
<tr class="memdesc:a93c794d586c7d0a6054a24db70490539"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes linear scaling: D = alpha * accumulator + beta * source. <a href="#a93c794d586c7d0a6054a24db70490539">More...</a><br /></td></tr>
<tr class="separator:a93c794d586c7d0a6054a24db70490539"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a70f9d8e1eef1ab9f67168af75442dfd9"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a> = Count</td></tr>
<tr class="separator:a70f9d8e1eef1ab9f67168af75442dfd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80f6b354f863f10380365994ba0a08ee"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacecutlass.html#aabe6b8ce223bf05f65a4721a3f5447a6">FloatRoundStyle</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a80f6b354f863f10380365994ba0a08ee">kRound</a> = Round</td></tr>
<tr class="separator:a80f6b354f863f10380365994ba0a08ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename ElementOutput_, int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt;<br />
class cutlass::epilogue::thread::LinearCombinationRelu&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;</h3>
<p>Applies a linear combination operator to an array of elements then clamps the output before converting to the output element type.</p>
<p>D = alpha * accumulator + beta * source + uniform </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a54909b2fb614bf006572ceb79a264d05"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a54909b2fb614bf006572ceb79a264d05">ComputeFragment</a> = Array&lt;<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ad1acf74be026cb3f6165ae02d779ddd4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#ad1acf74be026cb3f6165ae02d779ddd4">ElementAccumulator</a> = ElementAccumulator_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a21856d54ce2247edfc696b475ffa7a11"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a> = ElementCompute_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acb1b391e1c4d1573622cb7ee108d74d7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#acb1b391e1c4d1573622cb7ee108d74d7">ElementOutput</a> = ElementOutput_</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a37cb96ec3a7e16d88dc7402cd5246ce1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a37cb96ec3a7e16d88dc7402cd5246ce1">FragmentAccumulator</a> = Array&lt;<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#ad1acf74be026cb3f6165ae02d779ddd4">ElementAccumulator</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a14bfd5ef175cf1d0242cc3a3c28e130d"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a> = Array&lt;<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#acb1b391e1c4d1573622cb7ee108d74d7">ElementOutput</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a70f9d8e1eef1ab9f67168af75442dfd9">kCount</a>&gt;</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae060fd9c16f95f086ff7f784ce40a7e2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<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> <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">LinearCombinationRelu</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu_1_1Params.html">Params</a> const &amp;&#160;</td>
<td class="paramname"><em>params</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">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6ba2de177b25375afc33043d665a5114"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<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> bool <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::is_source_needed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 class="anchor" id="a93c794d586c7d0a6054a24db70490539"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<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> <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a> <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a37cb96ec3a7e16d88dc7402cd5246ce1">FragmentAccumulator</a> const &amp;&#160;</td>
<td class="paramname"><em>accumulator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a14bfd5ef175cf1d0242cc3a3c28e130d">FragmentOutput</a> const &amp;&#160;</td>
<td class="paramname"><em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a>&#160;</td>
<td class="paramname"><em>uniform</em> = <code><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html#a21856d54ce2247edfc696b475ffa7a11">ElementCompute</a>(0)</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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 class="anchor" id="aa630c8bf7a182a49159fc270ebd0f938"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<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> void <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::set_k_partition </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>k_partition</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">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a70f9d8e1eef1ab9f67168af75442dfd9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int const <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::kCount = Count</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a80f6b354f863f10380365994ba0a08ee"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, typename ElementCompute_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacecutlass.html#aabe6b8ce223bf05f65a4721a3f5447a6">FloatRoundStyle</a> const <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1LinearCombinationRelu.html">cutlass::epilogue::thread::LinearCombinationRelu</a>&lt; ElementOutput_, Count, ElementAccumulator_, ElementCompute_, Round &gt;::kRound = Round</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="linear__combination__relu_8h_source.html">linear_combination_relu.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>