<ahref="fragment__multiply__add_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-2018, 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"><ana
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4_html_a7d83cf5bde360251a252c6e728ea80ff"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4.html#a7d83cf5bde360251a252c6e728ea80ff">cutlass::gemm::FragmentMultiplyAdd< half, half, true >::InstructionShape</a></div><divclass="ttdeci">Shape< 1, 1, 1, 1 > InstructionShape</div><divclass="ttdoc">The shape of the instruction. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:92</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4_html_ae7a333f7aa3f52226c76cec9d2da042d"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4.html#ae7a333f7aa3f52226c76cec9d2da042d">cutlass::gemm::FragmentMultiplyAdd< half, half, true >::ScalarAlphaBeta</a></div><divclass="ttdeci">half ScalarAlphaBeta</div><divclass="ttdoc">The type for alpha and beta. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:94</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4_html_a6bed70e7074931419e9441688aee00ea"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4.html#a6bed70e7074931419e9441688aee00ea">cutlass::gemm::FragmentMultiplyAdd< half, half, true >::multiply</a></div><divclass="ttdeci">CUTLASS_DEVICE void multiply(half a, FragmentB_ const &b, FragmentCd_ &d)</div><divclass="ttdoc">Multiply : d = a*b. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:103</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_html_a1e854c281072db280ae90c2569b5f64c"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd.html#a1e854c281072db280ae90c2569b5f64c">cutlass::gemm::FragmentMultiplyAdd::ScalarAccum</a></div><divclass="ttdeci">ScalarAccum_ ScalarAccum</div><divclass="ttdoc">The type for accumlator. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:47</div></div>
<divclass="ttc"id="structcutlass_1_1Shape_html"><divclass="ttname"><ahref="structcutlass_1_1Shape.html">cutlass::Shape</a></div><divclass="ttdoc">A Shape implementing Layout Concept describing the dimensions of a cube. </div><divclass="ttdef"><b>Definition:</b> shape.h:64</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_html_aea565efe23b7a5c17eeab5e8cd0d1322"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd.html#aea565efe23b7a5c17eeab5e8cd0d1322">cutlass::gemm::FragmentMultiplyAdd::ScalarAlphaBeta</a></div><divclass="ttdeci">ScalarAlphaBeta_ ScalarAlphaBeta</div><divclass="ttdoc">The type for alpha and beta. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:45</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4_html_a92edee5611d25b60cdab6a1c8e32141f"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_3_01half_00_01half_00_01true_01_4.html#a92edee5611d25b60cdab6a1c8e32141f">cutlass::gemm::FragmentMultiplyAdd< half, half, true >::multiply_add</a></div><divclass="ttdeci">CUTLASS_DEVICE void multiply_add(half a, FragmentB_ const &b, FragmentCd_ const &c, FragmentCd_ &d)</div><divclass="ttdoc">Multiply : d = a*b + c. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:128</div></div>
<divclass="ttc"id="structcutlass_1_1gemm_1_1FragmentMultiplyAdd_html_aa101be5d45e2be54bb4056517b6d5e76"><divclass="ttname"><ahref="structcutlass_1_1gemm_1_1FragmentMultiplyAdd.html#aa101be5d45e2be54bb4056517b6d5e76">cutlass::gemm::FragmentMultiplyAdd::InstructionShape</a></div><divclass="ttdeci">Shape< 1, 1, 1, 1 > InstructionShape</div><divclass="ttdoc">The shape of the instruction. </div><divclass="ttdef"><b>Definition:</b> fragment_multiply_add.h:43</div></div>
<divclass="ttc"id="fragment_8h_html"><divclass="ttname"><ahref="fragment_8h.html">fragment.h</a></div><divclass="ttdoc">Defines Fragment, a statically-sized array for storing parts of matrices within a thread&#39;s registers...</div></div>