You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<!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.4"/> <title>Requirements on parallel_reduce body</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="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <!-- end header part --> <!-- Generated by Doxygen 1.8.4 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</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><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="index.html">Main Page</a></li><li class="navelem"><a class="el" href="a00008.html">TBB concepts</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">Requirements on parallel_reduce body </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><p>Class <code>Body</code> implementing the concept of parallel_reduce body must define:</p> <ul> <li><div class="fragment"><div class="line">Body::Body( Body&, split ); </div> </div><!-- fragment --> Splitting constructor. Must be able to run concurrently with operator() and method <code>join</code> </li> <li><div class="fragment"><div class="line">Body::~Body(); </div> </div><!-- fragment --> Destructor</li> <li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::operator()( Range& r ); </div> </div><!-- fragment --> Function call operator applying body to range <code>r</code> and accumulating the result</li> <li><div class="fragment"><div class="line"><span class="keywordtype">void</span> Body::join( Body& b ); </div> </div><!-- fragment --> Join results. The result in <code>b</code> should be merged into the result of <code>this</code> </li> </ul> </div></div><!-- contents --> <hr> <p></p> Copyright © 2005-2014 Intel Corporation. All Rights Reserved. <p></p> Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries. <p></p> * Other names and brands may be claimed as the property of others.
|