Skip to content

Commit

Permalink
Doc: Add complex header to inshpect rules (#1243)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca committed Dec 18, 2024
1 parent 6cc593f commit 77bc1c2
Show file tree
Hide file tree
Showing 95 changed files with 4,408 additions and 4,344 deletions.
48 changes: 25 additions & 23 deletions master/add_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,30 +95,32 @@
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#ifdef DLAF_WITH_GPU</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &lt;blas.hh&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include &lt;whip.hpp&gt;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &lt;dlaf/gpu/blas/api.h&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">dlaf/types.h</a>&gt;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="keyword">namespace </span>dlaf::gpulapack {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include &lt;complex&gt;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include &lt;blas.hh&gt;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include &lt;whip.hpp&gt;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include &lt;dlaf/gpu/blas/api.h&gt;</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#include &lt;<a class="code" href="types_8h.html">dlaf/types.h</a>&gt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keywordtype">void</span> <a class="code hl_function" href="tile__extensions_8h.html#aaff9e7cefc29db10ec4d5619a723b1e8">add</a>(<span class="keyword">const</span> blas::Uplo uplo, <span class="keyword">const</span> SizeType m, <span class="keyword">const</span> SizeType n, <span class="keyword">const</span> T&amp; alpha, <span class="keyword">const</span> T* a,</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">const</span> SizeType lda, T* b, <span class="keyword">const</span> SizeType ldb, <span class="keyword">const</span> whip::stream_t stream);</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#define DLAF_CUBLAS_ADD_ETI(kword, Type) \</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor"> kword template void add(const blas::Uplo uplo, const SizeType m, const SizeType n, const Type&amp; alpha, \</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor"> const Type* a, const SizeType lda, Type* b, const SizeType ldb, \</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor"> const whip::stream_t stream)</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, <span class="keywordtype">float</span>);</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, <span class="keywordtype">double</span>);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, std::complex&lt;float&gt;);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, std::complex&lt;double&gt;);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>}</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">namespace </span>dlaf::gpulapack {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">template</span> &lt;<span class="keyword">class</span> T&gt;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keywordtype">void</span> <a class="code hl_function" href="tile__extensions_8h.html#aaff9e7cefc29db10ec4d5619a723b1e8">add</a>(<span class="keyword">const</span> blas::Uplo uplo, <span class="keyword">const</span> SizeType m, <span class="keyword">const</span> SizeType n, <span class="keyword">const</span> T&amp; alpha, <span class="keyword">const</span> T* a,</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">const</span> SizeType lda, T* b, <span class="keyword">const</span> SizeType ldb, <span class="keyword">const</span> whip::stream_t stream);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#define DLAF_CUBLAS_ADD_ETI(kword, Type) \</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="preprocessor"> kword template void add(const blas::Uplo uplo, const SizeType m, const SizeType n, const Type&amp; alpha, \</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor"> const Type* a, const SizeType lda, Type* b, const SizeType ldb, \</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="preprocessor"> const whip::stream_t stream)</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, <span class="keywordtype">float</span>);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, <span class="keywordtype">double</span>);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, std::complex&lt;float&gt;);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span>DLAF_CUBLAS_ADD_ETI(<span class="keyword">extern</span>, std::complex&lt;double&gt;);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>}</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="atile__extensions_8h_html_aaff9e7cefc29db10ec4d5619a723b1e8"><div class="ttname"><a href="tile__extensions_8h.html#aaff9e7cefc29db10ec4d5619a723b1e8">dlaf::tile::add</a></div><div class="ttdeci">void add(T alpha, const matrix::Tile&lt; const T, D &gt; &amp;tile_b, const matrix::Tile&lt; T, D &gt; &amp;tile_a)</div></div>
<div class="ttc" id="atypes_8h_html"><div class="ttname"><a href="types_8h.html">types.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
Expand Down
Loading

0 comments on commit 77bc1c2

Please sign in to comment.