cutlass/docs/host_2tensor__fill_8h.html

239 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: tensor_fill.h File 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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><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="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#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="dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html">tools</a></li><li class="navelem"><a class="el" href="dir_88de82f9e8d739a2f42f92d95f0d7933.html">util</a></li><li class="navelem"><a class="el" href="dir_7e9e609009df72bf6226de354e72c328.html">include</a></li><li class="navelem"><a class="el" href="dir_ade2f6ff57439d30f4164e14e54bcf30.html">cutlass</a></li><li class="navelem"><a class="el" href="dir_ff60863f958a43c892071bb1f8a4c81a.html">util</a></li><li class="navelem"><a class="el" href="dir_01de8928c960cafb028e5f164701e1de.html">reference</a></li><li class="navelem"><a class="el" href="dir_b790a865367d69962c5919afdba4a959.html">host</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">host/tensor_fill.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;utility&gt;</code><br />
<code>#include &lt;cstdlib&gt;</code><br />
<code>#include &lt;cmath&gt;</code><br />
<code>#include &quot;<a class="el" href="cutlass_8h_source.html">cutlass/cutlass.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="complex_8h_source.html">cutlass/complex.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="array_8h_source.html">cutlass/array.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="numeric__types_8h_source.html">cutlass/numeric_types.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="distribution_8h_source.html">cutlass/util/distribution.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="host_2tensor__foreach_8h_source.html">tensor_foreach.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for host/tensor_fill.h:</div>
<div class="dyncontent">
<div class="center"><img src="host_2tensor__fill_8h__incl.png" border="0" usemap="#tensor__fill_8h" alt=""/></div>
<map name="tensor__fill_8h" id="tensor__fill_8h">
</map>
</div>
</div>
<p><a href="host_2tensor__fill_8h_source.html">Go to the source code of this file.</a></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_1reference_1_1host_1_1detail_1_1TensorFillFunc.html">cutlass::reference::host::detail::TensorFillFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Layout function <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1RandomGaussianFunc.html">cutlass::reference::host::detail::RandomGaussianFunc&lt; Element &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html">cutlass::reference::host::detail::RandomGaussianFunc&lt; complex&lt; Element &gt; &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Partial specialization for initializing a complex value. <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html">cutlass::reference::host::detail::TensorFillGaussianFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution. <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1RandomUniformFunc.html">cutlass::reference::host::detail::RandomUniformFunc&lt; Element &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html">cutlass::reference::host::detail::RandomUniformFunc&lt; complex&lt; Element &gt; &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Partial specialization for initializing a complex value. <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html">cutlass::reference::host::detail::TensorFillRandomUniformFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution. <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc.html">cutlass::reference::host::detail::TensorFillDiagonalFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Layout function <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1TensorUpdateOffDiagonalFunc.html">cutlass::reference::host::detail::TensorUpdateOffDiagonalFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Layout function <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorUpdateOffDiagonalFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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_1reference_1_1host_1_1detail_1_1TensorFillLinearFunc.html">cutlass::reference::host::detail::TensorFillLinearFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">&lt; Layout function <a href="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillLinearFunc.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="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacecutlass"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass.html">cutlass</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference.html">cutlass::reference</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference_1_1host"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html">cutlass::reference::host</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference_1_1host_1_1detail"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host_1_1detail.html">cutlass::reference::host::detail</a></td></tr>
<tr class="memdesc:namespacecutlass_1_1reference_1_1host_1_1detail"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines several helpers. <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="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a81b0f81940ce0ecc0d486d2f45659f6e"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a81b0f81940ce0ecc0d486d2f45659f6e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a81b0f81940ce0ecc0d486d2f45659f6e">cutlass::reference::host::TensorFill</a> (TensorView&lt; Element, Layout &gt; dst, Element val=Element(0))</td></tr>
<tr class="memdesc:a81b0f81940ce0ecc0d486d2f45659f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with a uniform value. <a href="namespacecutlass_1_1reference_1_1host.html#a81b0f81940ce0ecc0d486d2f45659f6e">More...</a><br /></td></tr>
<tr class="separator:a81b0f81940ce0ecc0d486d2f45659f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5187d9f07f2b1edebfbad067c7a84826"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a5187d9f07f2b1edebfbad067c7a84826"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a5187d9f07f2b1edebfbad067c7a84826">cutlass::reference::host::TensorFillRandomGaussian</a> (TensorView&lt; Element, Layout &gt; dst, uint64_t seed, double mean=0, double stddev=1, int bits=-1)</td></tr>
<tr class="memdesc:a5187d9f07f2b1edebfbad067c7a84826"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a Gaussian distribution. <a href="namespacecutlass_1_1reference_1_1host.html#a5187d9f07f2b1edebfbad067c7a84826">More...</a><br /></td></tr>
<tr class="separator:a5187d9f07f2b1edebfbad067c7a84826"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a121079d5cb24dd0e0339cee552a854de"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a121079d5cb24dd0e0339cee552a854de"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a121079d5cb24dd0e0339cee552a854de">cutlass::reference::host::BlockFillRandomGaussian</a> (Element *ptr, size_t capacity, uint64_t seed, double mean=0, double stddev=1, int bits=-1)</td></tr>
<tr class="memdesc:a121079d5cb24dd0e0339cee552a854de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a Gaussian distribution. <a href="namespacecutlass_1_1reference_1_1host.html#a121079d5cb24dd0e0339cee552a854de">More...</a><br /></td></tr>
<tr class="separator:a121079d5cb24dd0e0339cee552a854de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f1500a3e2cb694323bf9d25bafc0fbc"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a8f1500a3e2cb694323bf9d25bafc0fbc"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a8f1500a3e2cb694323bf9d25bafc0fbc">cutlass::reference::host::TensorFillRandomUniform</a> (TensorView&lt; Element, Layout &gt; dst, uint64_t seed, double max=1, double min=0, int bits=-1)</td></tr>
<tr class="memdesc:a8f1500a3e2cb694323bf9d25bafc0fbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a uniform random distribution. <a href="namespacecutlass_1_1reference_1_1host.html#a8f1500a3e2cb694323bf9d25bafc0fbc">More...</a><br /></td></tr>
<tr class="separator:a8f1500a3e2cb694323bf9d25bafc0fbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a417152b59865d2ef6995ee2398bcea8d"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a417152b59865d2ef6995ee2398bcea8d"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a417152b59865d2ef6995ee2398bcea8d">cutlass::reference::host::BlockFillRandomUniform</a> (Element *ptr, size_t capacity, uint64_t seed, double max=1, double min=0, int bits=-1)</td></tr>
<tr class="memdesc:a417152b59865d2ef6995ee2398bcea8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a uniform random distribution. <a href="namespacecutlass_1_1reference_1_1host.html#a417152b59865d2ef6995ee2398bcea8d">More...</a><br /></td></tr>
<tr class="separator:a417152b59865d2ef6995ee2398bcea8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c81144ca36832a48d04d1b5b6498080"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a1c81144ca36832a48d04d1b5b6498080"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a1c81144ca36832a48d04d1b5b6498080">cutlass::reference::host::TensorFillDiagonal</a> (TensorView&lt; Element, Layout &gt; dst, Element diag=Element(1), Element other=Element(0))</td></tr>
<tr class="memdesc:a1c81144ca36832a48d04d1b5b6498080"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor everywhere with a unique value for its diagonal. <a href="namespacecutlass_1_1reference_1_1host.html#a1c81144ca36832a48d04d1b5b6498080">More...</a><br /></td></tr>
<tr class="separator:a1c81144ca36832a48d04d1b5b6498080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29548cb522d9c147cf34263ecac75d89"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a29548cb522d9c147cf34263ecac75d89"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a29548cb522d9c147cf34263ecac75d89">cutlass::reference::host::TensorFillIdentity</a> (TensorView&lt; Element, Layout &gt; dst)</td></tr>
<tr class="memdesc:a29548cb522d9c147cf34263ecac75d89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper to fill a tensor's diagonal with 1 and 0 everywhere else. <a href="namespacecutlass_1_1reference_1_1host.html#a29548cb522d9c147cf34263ecac75d89">More...</a><br /></td></tr>
<tr class="separator:a29548cb522d9c147cf34263ecac75d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf747241e8ac6ef9b1702b735a7913e"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:acbf747241e8ac6ef9b1702b735a7913e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#acbf747241e8ac6ef9b1702b735a7913e">cutlass::reference::host::TensorUpdateDiagonal</a> (TensorView&lt; Element, Layout &gt; dst, Element val=Element(1))</td></tr>
<tr class="memdesc:acbf747241e8ac6ef9b1702b735a7913e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a uniform value to the diagonal of a tensor without modifying off-diagonal elements. <a href="namespacecutlass_1_1reference_1_1host.html#acbf747241e8ac6ef9b1702b735a7913e">More...</a><br /></td></tr>
<tr class="separator:acbf747241e8ac6ef9b1702b735a7913e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d146dc0390e4c045f08b5d2adfcf48a"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a6d146dc0390e4c045f08b5d2adfcf48a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a6d146dc0390e4c045f08b5d2adfcf48a">cutlass::reference::host::TensorUpdateOffDiagonal</a> (TensorView&lt; Element, Layout &gt; dst, Element other=Element(1))</td></tr>
<tr class="memdesc:a6d146dc0390e4c045f08b5d2adfcf48a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a uniform value to all elements in the tensor without modifying diagonal elements. <a href="namespacecutlass_1_1reference_1_1host.html#a6d146dc0390e4c045f08b5d2adfcf48a">More...</a><br /></td></tr>
<tr class="separator:a6d146dc0390e4c045f08b5d2adfcf48a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23a650217ddd1640807c2e91e69ab91"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:ac23a650217ddd1640807c2e91e69ab91"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#ac23a650217ddd1640807c2e91e69ab91">cutlass::reference::host::TensorFillLinear</a> (TensorView&lt; Element, Layout &gt; dst, Array&lt; Element, Layout::kRank &gt; const &amp;v, Element s=Element(0))</td></tr>
<tr class="memdesc:ac23a650217ddd1640807c2e91e69ab91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills tensor with a linear combination of its coordinate and another vector. <a href="namespacecutlass_1_1reference_1_1host.html#ac23a650217ddd1640807c2e91e69ab91">More...</a><br /></td></tr>
<tr class="separator:ac23a650217ddd1640807c2e91e69ab91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6e2cd99b8096eaaf79c0a6edbd3e420"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:ad6e2cd99b8096eaaf79c0a6edbd3e420"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#ad6e2cd99b8096eaaf79c0a6edbd3e420">cutlass::reference::host::TensorFillSequential</a> (TensorView&lt; Element, Layout &gt; dst, Element s=Element(0))</td></tr>
<tr class="memdesc:ad6e2cd99b8096eaaf79c0a6edbd3e420"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills tensor with a linear combination of its coordinate and another vector. <a href="namespacecutlass_1_1reference_1_1host.html#ad6e2cd99b8096eaaf79c0a6edbd3e420">More...</a><br /></td></tr>
<tr class="separator:ad6e2cd99b8096eaaf79c0a6edbd3e420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1808624141976837e298340c9f6c0f6b"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a1808624141976837e298340c9f6c0f6b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a1808624141976837e298340c9f6c0f6b">cutlass::reference::host::BlockFillSequential</a> (Element *ptr, int64_t capacity, Element v=Element(1), Element s=Element(0))</td></tr>
<tr class="memdesc:a1808624141976837e298340c9f6c0f6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a block of data with sequential elements. <a href="namespacecutlass_1_1reference_1_1host.html#a1808624141976837e298340c9f6c0f6b">More...</a><br /></td></tr>
<tr class="separator:a1808624141976837e298340c9f6c0f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6171d78c959aefff277cec4cad8fdb3"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:ae6171d78c959aefff277cec4cad8fdb3"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#ae6171d78c959aefff277cec4cad8fdb3">cutlass::reference::host::BlockFillRandom</a> (Element *ptr, size_t capacity, uint64_t seed, Distribution dist)</td></tr>
<tr class="memdesc:ae6171d78c959aefff277cec4cad8fdb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a block of data with sequential elements. <a href="namespacecutlass_1_1reference_1_1host.html#ae6171d78c959aefff277cec4cad8fdb3">More...</a><br /></td></tr>
<tr class="separator:ae6171d78c959aefff277cec4cad8fdb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a224f376c3199603bde4ededa4357eea3"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a224f376c3199603bde4ededa4357eea3"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a224f376c3199603bde4ededa4357eea3">cutlass::reference::host::TensorCopyDiagonalIn</a> (TensorView&lt; Element, Layout &gt; dst, Element const *ptr)</td></tr>
<tr class="memdesc:a224f376c3199603bde4ededa4357eea3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a diagonal in from host memory without modifying off-diagonal elements. <a href="namespacecutlass_1_1reference_1_1host.html#a224f376c3199603bde4ededa4357eea3">More...</a><br /></td></tr>
<tr class="separator:a224f376c3199603bde4ededa4357eea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f6629dd3aabb499ba430d84cb98e05"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a63f6629dd3aabb499ba430d84cb98e05"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1host.html#a63f6629dd3aabb499ba430d84cb98e05">cutlass::reference::host::TensorCopyDiagonalOut</a> (Element *ptr, TensorView&lt; Element, Layout &gt; src)</td></tr>
<tr class="memdesc:a63f6629dd3aabb499ba430d84cb98e05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the diagonal of a tensor into a dense buffer in host memory. <a href="namespacecutlass_1_1reference_1_1host.html#a63f6629dd3aabb499ba430d84cb98e05">More...</a><br /></td></tr>
<tr class="separator:a63f6629dd3aabb499ba430d84cb98e05"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</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>