<!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.17"/> <title>PhasicFlow: src/phasicFlow/Kokkos/ViewAlgorithms.hpp 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="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.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"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function() { init_search(); }); /* @license-end */ </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="customdoxygen.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="projectalign" style="padding-left: 0.5em;"> <div id="projectname"><a href="https://cemf.ir">PhasicFlow</a>  <span id="projectnumber"><a href="https://cemf.ir">v0.1</a></span> </div> <div id="projectbrief"><a href="www.github.com/PhasicFlow">www.cemf.ir</a></div> </td> <td> <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> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.17 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('ViewAlgorithms_8hpp.html',''); initResizable(); }); /* @license-end */ </script> <div id="doc-content"> <!-- 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 class="header"> <div class="summary"> <a href="#namespaces">Namespaces</a> | <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">ViewAlgorithms.hpp File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><div class="dynheader"> Include dependency graph for ViewAlgorithms.hpp:</div> <div class="dyncontent"> <div class="center"><img src="ViewAlgorithms_8hpp__incl.png" border="0" usemap="#src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hpp" alt=""/></div> <map name="src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hpp" id="src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hpp"> <area shape="rect" title=" " alt="" coords="368,5,536,47"/> <area shape="rect" href="numericConstants_8hpp.html" title=" " alt="" coords="5,95,173,121"/> <area shape="rect" href="KokkosUtilities_8hpp.html" title=" " alt="" coords="197,95,344,121"/> <area shape="rect" href="kokkosAlgorithms_8hpp.html" title=" " alt="" coords="369,95,535,121"/> <area shape="rect" href="stdAlgorithms_8hpp.html" title=" " alt="" coords="560,95,701,121"/> <area shape="rect" href="cudaAlgorithms_8hpp.html" title=" " alt="" coords="725,95,877,121"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="ViewAlgorithms_8hpp__dep__incl.png" border="0" usemap="#src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hppdep" alt=""/></div> <map name="src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hppdep" id="src_2phasicFlow_2Kokkos_2ViewAlgorithms_8hppdep"> <area shape="rect" title=" " alt="" coords="367,5,535,47"/> <area shape="rect" href="mapperNBS_8hpp.html" title=" " alt="" coords="5,95,216,136"/> <area shape="rect" href="indexContainer_8hpp.html" title=" " alt="" coords="241,95,495,136"/> <area shape="rect" href="VectorSingle_8hpp.html" title=" " alt="" coords="351,184,551,225"/> <area shape="rect" href="VectorDual_8hpp.html" title=" " alt="" coords="571,95,762,136"/> </map> </div> </div> <p><a href="ViewAlgorithms_8hpp_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="namespaces"></a> Namespaces</h2></td></tr> <tr class="memitem:namespacepFlow"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow.html">pFlow</a></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="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a4b05260ed7ad18431bcc95efe0a361b4"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:a4b05260ed7ad18431bcc95efe0a361b4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> int32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a4b05260ed7ad18431bcc95efe0a361b4">count</a> (const ViewType1D< T, properties... > &view, int32 start, int32 end, const T &val)</td></tr> <tr class="separator:a4b05260ed7ad18431bcc95efe0a361b4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acdecb939784a381bf057758bc957d2b2"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:acdecb939784a381bf057758bc957d2b2"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#acdecb939784a381bf057758bc957d2b2">fill</a> (ViewType1D< T, properties... > &view, range span, T val)</td></tr> <tr class="separator:acdecb939784a381bf057758bc957d2b2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afc3c01d8f547ed1badd7ed6c147049ca"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:afc3c01d8f547ed1badd7ed6c147049ca"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#afc3c01d8f547ed1badd7ed6c147049ca">fill</a> (ViewType1D< T, properties... > &view, int32 start, int32 end, T val)</td></tr> <tr class="separator:afc3c01d8f547ed1badd7ed6c147049ca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7cb7f01ced2554a9794394e1ecf15787"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties> </td></tr> <tr class="memitem:a7cb7f01ced2554a9794394e1ecf15787"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a7cb7f01ced2554a9794394e1ecf15787">fillSequence</a> (ViewType1D< Type, properties... > &view, int32 start, int32 end, const Type startVal)</td></tr> <tr class="separator:a7cb7f01ced2554a9794394e1ecf15787"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afc708bac1bfdcb588d08f13f08b12097"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties, typename indexType , typename... indexProperties> </td></tr> <tr class="memitem:afc708bac1bfdcb588d08f13f08b12097"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#afc708bac1bfdcb588d08f13f08b12097">fillSelected</a> (ViewType1D< Type, properties... > view, const ViewType1D< indexType, indexProperties... > indices, const int32 numElems, const Type val, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< indexType, indexProperties... >::memory_space >(), bool >=true)</td></tr> <tr class="separator:afc708bac1bfdcb588d08f13f08b12097"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62818637482d630a81567439a876d325"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties, typename indexType , typename... indexProperties> </td></tr> <tr class="memitem:a62818637482d630a81567439a876d325"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a62818637482d630a81567439a876d325">fillSelected</a> (ViewType1D< Type, properties... > view, const ViewType1D< indexType, indexProperties... > indices, const ViewType1D< Type, indexProperties... > vals, const int32 numElems, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< indexType, indexProperties... >::memory_space >(), bool >=true)</td></tr> <tr class="separator:a62818637482d630a81567439a876d325"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8676769ebfede76766bc9c7823bfb757"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:a8676769ebfede76766bc9c7823bfb757"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a8676769ebfede76766bc9c7823bfb757">min</a> (const ViewType1D< T, properties... > &view, int32 start, int32 end)</td></tr> <tr class="separator:a8676769ebfede76766bc9c7823bfb757"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7df21d0b3e2405ee2a8c97eea924def1"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:a7df21d0b3e2405ee2a8c97eea924def1"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a7df21d0b3e2405ee2a8c97eea924def1">max</a> (const ViewType1D< T, properties... > &view, int32 start, int32 end)</td></tr> <tr class="separator:a7df21d0b3e2405ee2a8c97eea924def1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62ec15081e56a59f0f3b0426c8beea5d"><td class="memTemplParams" colspan="2">template<typename dType , typename... dProperties, typename sType , typename... sProperties> </td></tr> <tr class="memitem:a62ec15081e56a59f0f3b0426c8beea5d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a62ec15081e56a59f0f3b0426c8beea5d">copy</a> (const ViewType1D< dType, dProperties... > &dst, const ViewType1D< sType, sProperties... > &src)</td></tr> <tr class="separator:a62ec15081e56a59f0f3b0426c8beea5d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a70e5e3cc8c943414a9f947281bbb856e"><td class="memTemplParams" colspan="2">template<typename dType , typename... dProperties, typename sType , typename... sProperties> </td></tr> <tr class="memitem:a70e5e3cc8c943414a9f947281bbb856e"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a70e5e3cc8c943414a9f947281bbb856e">copy</a> (const ViewType1D< dType, dProperties... > &dst, int32 dStart, const ViewType1D< sType, sProperties... > &src, int32 sStart, int32 sEnd)</td></tr> <tr class="separator:a70e5e3cc8c943414a9f947281bbb856e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6d520da609fc90f60f2df1bbf07d4ed9"><td class="memTemplParams" colspan="2">template<typename dType , typename sType , typename... sProperties> </td></tr> <tr class="memitem:a6d520da609fc90f60f2df1bbf07d4ed9"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a6d520da609fc90f60f2df1bbf07d4ed9">getNth</a> (dType &dst, const ViewType1D< sType, sProperties... > &src, const int32 <a class="el" href="NBSLoop_8hpp.html#aad8b608072a1b6dcd9e91de38ee2925f">n</a>)</td></tr> <tr class="separator:a6d520da609fc90f60f2df1bbf07d4ed9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a086312ba47994385b032d92b794cb184"><td class="memTemplParams" colspan="2">template<typename T , typename... properties> </td></tr> <tr class="memitem:a086312ba47994385b032d92b794cb184"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a086312ba47994385b032d92b794cb184">sort</a> (ViewType1D< T, properties... > &view, int32 start, int32 end)</td></tr> <tr class="separator:a086312ba47994385b032d92b794cb184"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a01038f6b78d8396255964c474bd62cf3"><td class="memTemplParams" colspan="2">template<typename T , typename... properties, typename CompareFunc > </td></tr> <tr class="memitem:a01038f6b78d8396255964c474bd62cf3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a01038f6b78d8396255964c474bd62cf3">sort</a> (ViewType1D< T, properties... > &view, int32 start, int32 end, CompareFunc compare)</td></tr> <tr class="separator:a01038f6b78d8396255964c474bd62cf3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a499ad8d5da97d3beb1610fd3f1782811"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties, typename permType , typename... permProperties> </td></tr> <tr class="memitem:a499ad8d5da97d3beb1610fd3f1782811"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a499ad8d5da97d3beb1610fd3f1782811">permuteSort</a> (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< permType, permProperties... > &permuteView, int32 permStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< permType, permProperties... >::memory_space >(), bool >=true)</td></tr> <tr class="separator:a499ad8d5da97d3beb1610fd3f1782811"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3bd64e8adc68abe4a5cb3f2b42413c6e"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties> </td></tr> <tr class="memitem:a3bd64e8adc68abe4a5cb3f2b42413c6e"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e">INLINE_FUNCTION_HD</a> int32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a3bd64e8adc68abe4a5cb3f2b42413c6e">binarySearch</a> (const ViewType1D< Type, properties... > &view, int32 start, int32 end, const Type &val)</td></tr> <tr class="separator:a3bd64e8adc68abe4a5cb3f2b42413c6e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62eee0d1a7a9daa418e35741649bcdb3"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties, typename dType , typename... dProperties> </td></tr> <tr class="memitem:a62eee0d1a7a9daa418e35741649bcdb3"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a62eee0d1a7a9daa418e35741649bcdb3">exclusiveScan</a> (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< dType, dProperties... > &dView, int32 dStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< dType, dProperties... >::memory_space >(), bool >=true)</td></tr> <tr class="separator:a62eee0d1a7a9daa418e35741649bcdb3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a849b8494f5dcf693b7df4de336388719"><td class="memTemplParams" colspan="2">template<typename Type , typename... properties, typename dType , typename... dProperties> </td></tr> <tr class="memitem:a849b8494f5dcf693b7df4de336388719"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#a849b8494f5dcf693b7df4de336388719">inclusiveScan</a> (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< dType, dProperties... > &dView, int32 dStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< dType, dProperties... >::memory_space >(), bool >=true)</td></tr> <tr class="separator:a849b8494f5dcf693b7df4de336388719"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:ac46039fa2cecc2d2292a6d256a3aacd1"><td class="memItemLeft" align="right" valign="top">const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow.html#ac46039fa2cecc2d2292a6d256a3aacd1">maxSizeToSerial__</a> = 64</td></tr> <tr class="separator:ac46039fa2cecc2d2292a6d256a3aacd1"><td class="memSeparator" colspan="2"> </td></tr> </table> </div><!-- contents --> </div><!-- doc-content --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cd7a5046d028e114fc17b2ebc2bd02d2.html">phasicFlow</a></li><li class="navelem"><a class="el" href="dir_9522ed5fbd948bd0f422a9c3c511773e.html">Kokkos</a></li><li class="navelem"><a class="el" href="ViewAlgorithms_8hpp.html">ViewAlgorithms.hpp</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> </ul> </div> </body> </html>