422 lines
28 KiB
HTML
422 lines
28 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::Convert< ElementOutput_, Count, ElementAccumulator_, Round > 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 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 List</span></a></li>
|
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class 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_1Convert.html">Convert</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="classcutlass_1_1epilogue_1_1thread_1_1Convert-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">cutlass::epilogue::thread::Convert< ElementOutput_, Count, ElementAccumulator_, Round > Class Template Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="conversion__op_8h_source.html">conversion_op.h</a>></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  </td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html">Params</a></td></tr>
|
|
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Host-constructable parameters structure. <a href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html#details">More...</a><br /></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:a95d97d23b668c59d5fca000b475768f3"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a95d97d23b668c59d5fca000b475768f3">ElementOutput</a> = ElementOutput_</td></tr>
|
|
<tr class="separator:a95d97d23b668c59d5fca000b475768f3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeac9cd8849cb829c302f1a4be01c71db"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#aeac9cd8849cb829c302f1a4be01c71db">ElementAccumulator</a> = ElementAccumulator_</td></tr>
|
|
<tr class="separator:aeac9cd8849cb829c302f1a4be01c71db"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0c6b4424c6a341b2887656815f1761e"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a> = ElementAccumulator_</td></tr>
|
|
<tr class="separator:ab0c6b4424c6a341b2887656815f1761e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9944ba7d971ea33e7b005d6fba1ef92b"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> = Array< <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a95d97d23b668c59d5fca000b475768f3">ElementOutput</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a00960402e155b59316966c64c4d46907">kCount</a> ></td></tr>
|
|
<tr class="separator:a9944ba7d971ea33e7b005d6fba1ef92b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae914ab18bfbc7835442d948facd649b5"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a> = Array< <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#aeac9cd8849cb829c302f1a4be01c71db">ElementAccumulator</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a00960402e155b59316966c64c4d46907">kCount</a> ></td></tr>
|
|
<tr class="separator:ae914ab18bfbc7835442d948facd649b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f6d13cc82035c3427f0a9367f35f18b"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a1f6d13cc82035c3427f0a9367f35f18b">ComputeFragment</a> = <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a></td></tr>
|
|
<tr class="separator:a1f6d13cc82035c3427f0a9367f35f18b"><td class="memSeparator" colspan="2"> </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:ac7ec0a00e5863dc06f4d99477fd5c056"><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="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ac7ec0a00e5863dc06f4d99477fd5c056">Convert</a> (<a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html">Params</a> const &params=<a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html">Params</a>())</td></tr>
|
|
<tr class="memdesc:ac7ec0a00e5863dc06f4d99477fd5c056"><td class="mdescLeft"> </td><td class="mdescRight">Constructs the function object, possibly loading from pointers in host memory. <a href="#ac7ec0a00e5863dc06f4d99477fd5c056">More...</a><br /></td></tr>
|
|
<tr class="separator:ac7ec0a00e5863dc06f4d99477fd5c056"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7dc10ee38d2433e1e0d5cb4edac38a42"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="platform_8h.html#a72f0657181cca64b44eb186b707eb380">constexpr</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a7dc10ee38d2433e1e0d5cb4edac38a42">is_source_needed</a> () const </td></tr>
|
|
<tr class="memdesc:a7dc10ee38d2433e1e0d5cb4edac38a42"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if source is needed based on state of runtime arguments. <a href="#a7dc10ee38d2433e1e0d5cb4edac38a42">More...</a><br /></td></tr>
|
|
<tr class="separator:a7dc10ee38d2433e1e0d5cb4edac38a42"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3dbcb283d1a62392cb0f00d7334952ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="platform_8h.html#a72f0657181cca64b44eb186b707eb380">constexpr</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a3dbcb283d1a62392cb0f00d7334952ea">is_source_ever_needed</a> () const </td></tr>
|
|
<tr class="separator:a3dbcb283d1a62392cb0f00d7334952ea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afb63b7c6166990357cfe2686ed528909"><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_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#afb63b7c6166990357cfe2686ed528909">operator()</a> (<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a> const &accumulator, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> const &source, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a> uniform=<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a>(0)) const </td></tr>
|
|
<tr class="memdesc:afb63b7c6166990357cfe2686ed528909"><td class="mdescLeft"> </td><td class="mdescRight">Computes linear scaling: D = alpha * accumulator + beta * source. <a href="#afb63b7c6166990357cfe2686ed528909">More...</a><br /></td></tr>
|
|
<tr class="separator:afb63b7c6166990357cfe2686ed528909"><td class="memSeparator" colspan="2"> </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:a00960402e155b59316966c64c4d46907"><td class="memItemLeft" align="right" valign="top">static int const </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a00960402e155b59316966c64c4d46907">kCount</a> = Count</td></tr>
|
|
<tr class="separator:a00960402e155b59316966c64c4d46907"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a843cb16e03bd7b40a99d8262b87534eb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacecutlass.html#aabe6b8ce223bf05f65a4721a3f5447a6">FloatRoundStyle</a> const </td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a843cb16e03bd7b40a99d8262b87534eb">kRound</a> = Round</td></tr>
|
|
<tr class="separator:a843cb16e03bd7b40a99d8262b87534eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><h3>template<typename ElementOutput_, int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest><br />
|
|
class cutlass::epilogue::thread::Convert< ElementOutput_, Count, ElementAccumulator_, Round ></h3>
|
|
|
|
<p>Converts the result without other operations </p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a class="anchor" id="a1f6d13cc82035c3427f0a9367f35f18b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a1f6d13cc82035c3427f0a9367f35f18b">ComputeFragment</a> = <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aeac9cd8849cb829c302f1a4be01c71db"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#aeac9cd8849cb829c302f1a4be01c71db">ElementAccumulator</a> = ElementAccumulator_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab0c6b4424c6a341b2887656815f1761e"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a> = ElementAccumulator_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a95d97d23b668c59d5fca000b475768f3"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a95d97d23b668c59d5fca000b475768f3">ElementOutput</a> = ElementOutput_</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae914ab18bfbc7835442d948facd649b5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a> = Array<<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#aeac9cd8849cb829c302f1a4be01c71db">ElementAccumulator</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a00960402e155b59316966c64c4d46907">kCount</a>></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9944ba7d971ea33e7b005d6fba1ef92b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> = Array<<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a95d97d23b668c59d5fca000b475768f3">ElementOutput</a>, <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#a00960402e155b59316966c64c4d46907">kCount</a>></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="ac7ec0a00e5863dc06f4d99477fd5c056"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::<a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">Convert</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html">Params</a> const & </td>
|
|
<td class="paramname"><em>params</em> = <code><a class="el" href="structcutlass_1_1epilogue_1_1thread_1_1Convert_1_1Params.html">Params</a>()</code></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="a3dbcb283d1a62392cb0f00d7334952ea"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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="platform_8h.html#a72f0657181cca64b44eb186b707eb380">constexpr</a> bool <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::is_source_ever_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">
|
|
<p>Constexpr function to enable the compiler to optimize away the source loading if it is never needed. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7dc10ee38d2433e1e0d5cb4edac38a42"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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="platform_8h.html#a72f0657181cca64b44eb186b707eb380">constexpr</a> bool <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::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="afb63b7c6166990357cfe2686ed528909"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> <a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ae914ab18bfbc7835442d948facd649b5">FragmentAccumulator</a> const & </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_1Convert.html#a9944ba7d971ea33e7b005d6fba1ef92b">FragmentOutput</a> const & </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_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a> </td>
|
|
<td class="paramname"><em>uniform</em> = <code><a class="el" href="classcutlass_1_1epilogue_1_1thread_1_1Convert.html#ab0c6b4424c6a341b2887656815f1761e">ElementCompute</a>(0)</code> </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>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a class="anchor" id="a00960402e155b59316966c64c4d46907"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::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="a843cb16e03bd7b40a99d8262b87534eb"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<typename ElementOutput_ , int Count, typename ElementAccumulator_ = ElementOutput_, FloatRoundStyle Round = FloatRoundStyle::round_to_nearest> </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_1Convert.html">cutlass::epilogue::thread::Convert</a>< ElementOutput_, Count, ElementAccumulator_, Round >::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="conversion__op_8h_source.html">conversion_op.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|