<ahref="host_2tensor__fill_8h.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/***************************************************************************************************</span></div><divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> * Copyright (c) 2017-2019, NVIDIA CORPORATION. All rights reserved.</span></div><divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> * Redistribution and use in source and binary forms, with or without modification, are permitted</span></div><divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> * provided that the following conditions are met:</span></div><divclass="line"><aname="l00006"></a><spanclass="lineno"> 6</span> <spanclass="comment"> * * Redistributions of source code must retain the above copyright notice, this list of</span></div><divclass="line"><aname="l00007"></a><spanclass="lineno"> 7</span> <spanclass="comment"> * conditions and the following disclaimer.</span></div><divclass="line"><aname="l00008"></a><spanclass="lineno"> 8</span> <spanclass="comment"> * * Redistributions in binary form must reproduce the above copyright notice, this list of</span></div><divclass="line"><aname="l00009"></a><spanclass="lineno"> 9</span> <spanclass="comment"> * conditions and the following disclaimer in the documentation and/or other materials</span></div><divclass="line"><aname="l00010"></a><spanclass="lineno"> 10</span> <spanclass="comment"> * provided with the distribution.</span></div><divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> * * Neither the name of the NVIDIA CORPORATION nor the names of its contributors may be used</span></div><divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> * to endorse or promote products derived from this software without specific prior written</span></div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> * permission.</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> <spanclass="comment"> *</span></div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> <spanclass="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="comment"> * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="comment"> * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="comment"> * STRICT LIABILITY, OR TOR (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></div><divclass="line"><aname="l
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc_html_a9841b5a0391cd0dc747f5a30660ea7d9"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html#a9841b5a0391cd0dc747f5a30660ea7d9">cutlass::reference::host::detail::TensorFillRandomUniformFunc::operator()</a></div><divclass="ttdeci">void operator()(Coord< Layout::kRank > const &coord) const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:429</div></div>
<divclass="ttc"id="namespacecutlass_html_a2337866060023f87d4d821850738541f"><divclass="ttname"><ahref="namespacecutlass.html#a2337866060023f87d4d821850738541f">cutlass::cos</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE complex< T > cos(complex< T > const &z)</div><divclass="ttdoc">Computes the cosine of complex z. </div><divclass="ttdef"><b>Definition:</b> complex.h:401</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_a005299ae9f0e4533f6847a7f6ff9e6ad"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#a005299ae9f0e4533f6847a7f6ff9e6ad">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::min</a></div><divclass="ttdeci">double min</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:356</div></div>
<divclass="ttc"id="namespacecutlass_1_1platform_html_af6a9a165e53d7e85ae121d5789aa03e0"><divclass="ttname"><ahref="namespacecutlass_1_1platform.html#af6a9a165e53d7e85ae121d5789aa03e0">cutlass::platform::max</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE constexpr const T & max(const T &a, const T &b)</div><divclass="ttdoc">std::max </div><divclass="ttdef"><b>Definition:</b> platform.h:189</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_html_a317b294d017b81224eb1aca2742e8a3c"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc.html#a317b294d017b81224eb1aca2742e8a3c">cutlass::reference::host::detail::RandomUniformFunc::Real</a></div><divclass="ttdeci">typename RealType< Element >::Type Real</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:303</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a63f6629dd3aabb499ba430d84cb98e05"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a63f6629dd3aabb499ba430d84cb98e05">cutlass::reference::host::TensorCopyDiagonalOut</a></div><divclass="ttdeci">void TensorCopyDiagonalOut(Element *ptr, TensorView< Element, Layout > src)</div><divclass="ttdoc">Copies the diagonal of a tensor into a dense buffer in host memory. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:836</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc.html">cutlass::reference::host::detail::TensorFillDiagonalFunc</a></div><divclass="ttdoc">< Layout function </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:494</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_aa894090fefa7f3cc99ec66f5b6e7b7ac"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#aa894090fefa7f3cc99ec66f5b6e7b7ac">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::RandomUniformFunc</a></div><divclass="ttdeci">RandomUniformFunc(uint64_t seed_=0, double max=1, double min_=0, int int_scale_=-1)</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:363</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_html_a0208d33ceb87f0fc273dc17a66a5e990"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc.html#a0208d33ceb87f0fc273dc17a66a5e990">cutlass::reference::host::detail::RandomGaussianFunc::operator()</a></div><divclass="ttdeci">Element operator()() const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:132</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a81b0f81940ce0ecc0d486d2f45659f6e"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a81b0f81940ce0ecc0d486d2f45659f6e">cutlass::reference::host::TensorFill</a></div><divclass="ttdeci">void TensorFill(TensorView< Element, Layout > dst, Element val=Element(0))</div><divclass="ttdoc">Fills a tensor with a uniform value. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:92</div></div>
<divclass="ttc"id="classcutlass_1_1TensorView_html_a7d3914dd5042c9c40be9e21a7b4e9ece"><divclass="ttname"><ahref="classcutlass_1_1TensorView.html#a7d3914dd5042c9c40be9e21a7b4e9ece">cutlass::TensorView::extent</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE TensorCoord const & extent() const </div><divclass="ttdoc">Returns the extent of the view (the size along each logical dimension). </div><divclass="ttdef"><b>Definition:</b> tensor_view.h:167</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_html_ac39a320d0975f140d51cf2cd7dd53441"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc.html#ac39a320d0975f140d51cf2cd7dd53441">cutlass::reference::host::detail::RandomUniformFunc::RandomUniformFunc</a></div><divclass="ttdeci">RandomUniformFunc(uint64_t seed_=0, double max=1, double min_=0, int int_scale_=-1)</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:314</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4_html_a72b71664e9ddc5ce392e1db822cfdada"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#a72b71664e9ddc5ce392e1db822cfdada">cutlass::reference::host::detail::RandomGaussianFunc< complex< Element >>::RandomGaussianFunc</a></div><divclass="ttdeci">RandomGaussianFunc(uint64_t seed_=0, double mean_=0, double stddev_=1, int int_scale_=-1)</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:170</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a1c81144ca36832a48d04d1b5b6498080"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a1c81144ca36832a48d04d1b5b6498080">cutlass::reference::host::TensorFillDiagonal</a></div><divclass="ttdeci">void TensorFillDiagonal(TensorView< Element, Layout > dst, Element diag=Element(1), Element other=Element(0))</div><divclass="ttdoc">Fills a tensor everywhere with a unique value for its diagonal. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:540</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillLinearFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillLinearFunc.html">cutlass::reference::host::detail::TensorFillLinearFunc</a></div><divclass="ttdoc">< Layout function </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:667</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorUpdateOffDiagonalFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorUpdateOffDiagonalFunc.html">cutlass::reference::host::detail::TensorUpdateOffDiagonalFunc</a></div><divclass="ttdoc">< Layout function </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:597</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_ad0de7d4946af855288d7f9cccb9a18eb"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#ad0de7d4946af855288d7f9cccb9a18eb">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::int_scale</a></div><divclass="ttdeci">int int_scale</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:357</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a29548cb522d9c147cf34263ecac75d89"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a29548cb522d9c147cf34263ecac75d89">cutlass::reference::host::TensorFillIdentity</a></div><divclass="ttdeci">void TensorFillIdentity(TensorView< Element, Layout > dst)</div><divclass="ttdoc">Helper to fill a tensor&#39;s diagonal with 1 and 0 everywhere else. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:564</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_a6ef7020f1108432fe51853dffb7e727c"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#a6ef7020f1108432fe51853dffb7e727c">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::operator()</a></div><divclass="ttdeci">complex< Element > operator()() const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:375</div></div>
<divclass="ttc"id="namespacecutlass_html_a67f9e83dd59615eff837ea66984c121c"><divclass="ttname"><ahref="namespacecutlass.html#a67f9e83dd59615eff837ea66984c121c">cutlass::log</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE complex< T > log(complex< T > const &z)</div><divclass="ttdoc">Computes the complex exponential of z. </div><divclass="ttdef"><b>Definition:</b> complex.h:381</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc_html_a4e447a80bd94cde69fa66f9e9d882b28"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html#a4e447a80bd94cde69fa66f9e9d882b28">cutlass::reference::host::detail::TensorFillGaussianFunc::operator()</a></div><divclass="ttdeci">void operator()(Coord< Layout::kRank > const &coord) const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:236</div></div>
<divclass="ttc"id="array_8h_html"><divclass="ttname"><ahref="array_8h.html">array.h</a></div><divclass="ttdoc">Statically sized array of elements that accommodates all CUTLASS-supported numeric types and is safe ...</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a6d146dc0390e4c045f08b5d2adfcf48a"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a6d146dc0390e4c045f08b5d2adfcf48a">cutlass::reference::host::TensorUpdateOffDiagonal</a></div><divclass="ttdeci">void TensorUpdateOffDiagonal(TensorView< Element, Layout > dst, Element other=Element(1))</div><divclass="ttdoc">Writes a uniform value to all elements in the tensor without modifying diagonal elements. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:643</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_abd7e66b999df7719f6ac77f0a82a0d5d"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#abd7e66b999df7719f6ac77f0a82a0d5d">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::Real</a></div><divclass="ttdeci">typename RealType< Element >::Type Real</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:352</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a5187d9f07f2b1edebfbad067c7a84826"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a5187d9f07f2b1edebfbad067c7a84826">cutlass::reference::host::TensorFillRandomGaussian</a></div><divclass="ttdeci">void TensorFillRandomGaussian(TensorView< Element, Layout > dst, uint64_t seed, double mean=0, double stddev=1, int bits=-1)</div><divclass="ttdoc">Fills a tensor with random values with a Gaussian distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:249</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4_html_a4c1cec1d0871654b9e3c5cf132099034"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#a4c1cec1d0871654b9e3c5cf132099034">cutlass::reference::host::detail::RandomGaussianFunc< complex< Element >>::stddev</a></div><divclass="ttdeci">double stddev</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:163</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4_html_a04ad19f3f63c0cba77a76a2ce243b727"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#a04ad19f3f63c0cba77a76a2ce243b727">cutlass::reference::host::detail::RandomGaussianFunc< complex< Element >>::operator()</a></div><divclass="ttdeci">complex< Element > operator()() const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:181</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_ac23a650217ddd1640807c2e91e69ab91"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#ac23a650217ddd1640807c2e91e69ab91">cutlass::reference::host::TensorFillLinear</a></div><divclass="ttdeci">void TensorFillLinear(TensorView< Element, Layout > dst, Array< Element, Layout::kRank > const &v, Element s=Element(0))</div><divclass="ttdoc">Fills tensor with a linear combination of its coordinate and another vector. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:715</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html">cutlass::reference::host::detail::TensorFillGaussianFunc</a></div><divclass="ttdoc">Computes a random Gaussian distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:211</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_acbf747241e8ac6ef9b1702b735a7913e"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#acbf747241e8ac6ef9b1702b735a7913e">cutlass::reference::host::TensorUpdateDiagonal</a></div><divclass="ttdeci">void TensorUpdateDiagonal(TensorView< Element, Layout > dst, Element val=Element(1))</div><divclass="ttdoc">Writes a uniform value to the diagonal of a tensor without modifying off-diagonal elements...</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:577</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a121079d5cb24dd0e0339cee552a854de"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a121079d5cb24dd0e0339cee552a854de">cutlass::reference::host::BlockFillRandomGaussian</a></div><divclass="ttdeci">void BlockFillRandomGaussian(Element *ptr, size_t capacity, uint64_t seed, double mean=0, double stddev=1, int bits=-1)</div><divclass="ttdoc">Fills a tensor with random values with a Gaussian distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:277</div></div>
<divclass="ttc"id="distribution_8h_html"><divclass="ttname"><ahref="distribution_8h.html">distribution.h</a></div><divclass="ttdoc">This header contains a class to parametrize a statistical distribution function. </div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_html_a09db614d063fec17a6a2fbe23389f10a"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc.html#a09db614d063fec17a6a2fbe23389f10a">cutlass::reference::host::detail::RandomUniformFunc::operator()</a></div><divclass="ttdeci">Element operator()() const </div><divclass="ttdoc">Compute random value and update RNG state. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:326</div></div>
<divclass="ttc"id="numeric__types_8h_html"><divclass="ttname"><ahref="numeric__types_8h.html">numeric_types.h</a></div><divclass="ttdoc">Top-level include for all CUTLASS numeric types. </div></div>
<divclass="ttc"id="namespacecutlass_1_1platform_html_a57c071d2a7305dd4ec60542e66b0c81c"><divclass="ttname"><ahref="namespacecutlass_1_1platform.html#a57c071d2a7305dd4ec60542e66b0c81c">cutlass::platform::min</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE constexpr const T & min(const T &a, const T &b)</div><divclass="ttdoc">std::min </div><divclass="ttdef"><b>Definition:</b> platform.h:183</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_a17c91db74ff727d9f42442c09d21d0b3"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#a17c91db74ff727d9f42442c09d21d0b3">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::range</a></div><divclass="ttdeci">double range</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:355</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a1808624141976837e298340c9f6c0f6b"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a1808624141976837e298340c9f6c0f6b">cutlass::reference::host::BlockFillSequential</a></div><divclass="ttdeci">void BlockFillSequential(Element *ptr, int64_t capacity, Element v=Element(1), Element s=Element(0))</div><divclass="ttdoc">Fills a block of data with sequential elements. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:761</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc_html_a4b365f33d4c2d36c2e8052965bc3c787"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html#a4b365f33d4c2d36c2e8052965bc3c787">cutlass::reference::host::detail::TensorFillGaussianFunc::TensorFillGaussianFunc</a></div><divclass="ttdeci">TensorFillGaussianFunc(TensorView view_=TensorView(), RandomGaussianFunc< Element > func_=RandomGaussianFunc< Element >())</div><divclass="ttdoc">Construction of Gaussian RNG functor. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:227</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc_html_ac288b85512ed45e0180987bf5b85dd23"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillDiagonalFunc.html#ac288b85512ed45e0180987bf5b85dd23">cutlass::reference::host::detail::TensorFillDiagonalFunc::TensorFillDiagonalFunc</a></div><divclass="ttdeci">TensorFillDiagonalFunc(TensorView const &view_=TensorView(), Element diag_=Element(1), Element other_=Element(0))</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:510</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_html_a45ca53d7fcac978533361d8fc5f15311"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc.html#a45ca53d7fcac978533361d8fc5f15311">cutlass::reference::host::detail::RandomGaussianFunc::RandomGaussianFunc</a></div><divclass="ttdeci">RandomGaussianFunc(uint64_t seed_=0, double mean_=0, double stddev_=1, int int_scale_=-1)</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:121</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4_html_a8065a5275af20c18429a8f279be98e97"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomUniformFunc_3_01complex_3_01Element_01_4_01_4.html#a8065a5275af20c18429a8f279be98e97">cutlass::reference::host::detail::RandomUniformFunc< complex< Element >>::seed</a></div><divclass="ttdeci">uint64_t seed</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:354</div></div>
<divclass="ttc"id="classcutlass_1_1TensorRef_html_a8758907a1c9b1fcd00e7ece626d03b76"><divclass="ttname"><ahref="classcutlass_1_1TensorRef.html#a8758907a1c9b1fcd00e7ece626d03b76">cutlass::TensorRef::at</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE Reference at(TensorCoord const &coord) const </div><divclass="ttdoc">Returns a reference to the element at a given Coord. </div><divclass="ttdef"><b>Definition:</b> tensor_ref.h:307</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a417152b59865d2ef6995ee2398bcea8d"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a417152b59865d2ef6995ee2398bcea8d">cutlass::reference::host::BlockFillRandomUniform</a></div><divclass="ttdeci">void BlockFillRandomUniform(Element *ptr, size_t capacity, uint64_t seed, double max=1, double min=0, int bits=-1)</div><divclass="ttdoc">Fills a tensor with random values with a uniform random distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:470</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc_html_a9272276afdeec7284dfcc6605f153c97"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html#a9272276afdeec7284dfcc6605f153c97">cutlass::reference::host::detail::TensorFillRandomUniformFunc::func</a></div><divclass="ttdeci">RandomUniformFunc< Element > func</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:413</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a8c798c04df572b34e3ed3976d69f993d"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a8c798c04df572b34e3ed3976d69f993d">cutlass::reference::host::TensorForEach</a></div><divclass="ttdeci">void TensorForEach(Coord< Rank > extent, Func &func)</div><divclass="ttdoc">Iterates over the index space of a tensor. </div><divclass="ttdef"><b>Definition:</b> host/tensor_foreach.h:87</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a8f1500a3e2cb694323bf9d25bafc0fbc"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a8f1500a3e2cb694323bf9d25bafc0fbc">cutlass::reference::host::TensorFillRandomUniform</a></div><divclass="ttdeci">void TensorFillRandomUniform(TensorView< Element, Layout > dst, uint64_t seed, double max=1, double min=0, int bits=-1)</div><divclass="ttdoc">Fills a tensor with random values with a uniform random distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:443</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_a224f376c3199603bde4ededa4357eea3"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#a224f376c3199603bde4ededa4357eea3">cutlass::reference::host::TensorCopyDiagonalIn</a></div><divclass="ttdeci">void TensorCopyDiagonalIn(TensorView< Element, Layout > dst, Element const *ptr)</div><divclass="ttdoc">Copies a diagonal in from host memory without modifying off-diagonal elements. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:817</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc_html_aa6cc9355b27c1d33e351a31bcf4aece7"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillGaussianFunc.html#aa6cc9355b27c1d33e351a31bcf4aece7">cutlass::reference::host::detail::TensorFillGaussianFunc::func</a></div><divclass="ttdeci">RandomGaussianFunc< Element > func</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:220</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_ad6e2cd99b8096eaaf79c0a6edbd3e420"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#ad6e2cd99b8096eaaf79c0a6edbd3e420">cutlass::reference::host::TensorFillSequential</a></div><divclass="ttdeci">void TensorFillSequential(TensorView< Element, Layout > dst, Element s=Element(0))</div><divclass="ttdoc">Fills tensor with a linear combination of its coordinate and another vector. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:738</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillFunc.html">cutlass::reference::host::detail::TensorFillFunc</a></div><divclass="ttdoc">< Layout function </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:59</div></div>
<divclass="ttc"id="structcutlass_1_1Distribution_html_a676b1d8b87691b4218f6ed308e6adfc1"><divclass="ttname"><ahref="structcutlass_1_1Distribution.html#a676b1d8b87691b4218f6ed308e6adfc1">cutlass::Distribution::int_scale</a></div><divclass="ttdeci">int int_scale</div><divclass="ttdoc">Random values are cast to integer after scaling by this power of two. </div><divclass="ttdef"><b>Definition:</b> distribution.h:67</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillFunc_html_a55353997540e39108d75456f681a703d"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillFunc.html#a55353997540e39108d75456f681a703d">cutlass::reference::host::detail::TensorFillFunc::TensorFillFunc</a></div><divclass="ttdeci">TensorFillFunc(TensorView const &view_=TensorView(), Element value_=Element(0))</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:74</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc_html"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html">cutlass::reference::host::detail::TensorFillRandomUniformFunc</a></div><divclass="ttdoc">Computes a random Gaussian distribution. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:404</div></div>
<divclass="ttc"id="cutlass_8h_html"><divclass="ttname"><ahref="cutlass_8h.html">cutlass.h</a></div><divclass="ttdoc">Basic include for CUTLASS. </div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4_html_ad8c60b0630a2867fd80a0d09a3cf63cd"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1RandomGaussianFunc_3_01complex_3_01Element_01_4_01_4.html#ad8c60b0630a2867fd80a0d09a3cf63cd">cutlass::reference::host::detail::RandomGaussianFunc< complex< Element >>::mean</a></div><divclass="ttdeci">double mean</div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:162</div></div>
<divclass="ttc"id="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc_html_aa192b9b11c26dff5b0279fff30e3731c"><divclass="ttname"><ahref="structcutlass_1_1reference_1_1host_1_1detail_1_1TensorFillRandomUniformFunc.html#aa192b9b11c26dff5b0279fff30e3731c">cutlass::reference::host::detail::TensorFillRandomUniformFunc::TensorFillRandomUniformFunc</a></div><divclass="ttdeci">TensorFillRandomUniformFunc(TensorView view_=TensorView(), RandomUniformFunc< Element > func_=RandomUniformFunc< Element >())</div><divclass="ttdoc">Construction of Gaussian RNG functor. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:420</div></div>
<divclass="ttc"id="namespacecutlass_html_a28f05d94dbdfc97cddbeab3a5d23839d"><divclass="ttname"><ahref="namespacecutlass.html#a28f05d94dbdfc97cddbeab3a5d23839d">cutlass::sqrt</a></div><divclass="ttdeci">CUTLASS_HOST_DEVICE complex< T > sqrt(complex< T > const &z)</div><divclass="ttdoc">Computes the square root of complex number z. </div><divclass="ttdef"><b>Definition:</b> complex.h:393</div></div>
<divclass="ttc"id="namespacecutlass_1_1reference_1_1host_html_ae6171d78c959aefff277cec4cad8fdb3"><divclass="ttname"><ahref="namespacecutlass_1_1reference_1_1host.html#ae6171d78c959aefff277cec4cad8fdb3">cutlass::reference::host::BlockFillRandom</a></div><divclass="ttdeci">void BlockFillRandom(Element *ptr, size_t capacity, uint64_t seed, Distribution dist)</div><divclass="ttdoc">Fills a block of data with sequential elements. </div><divclass="ttdef"><b>Definition:</b> host/tensor_fill.h:784</div></div>