Changes

Jump to: navigation, search

GPU621/Distributed Workload

68 bytes removed, 03:59, 3 December 2018
no edit summary
}
</pre>
 
== Comparison ==
Both libraries use C++ templates to provide generic programming structures. The libraries do overlap when it comes to the functionality they provide, however STL is designed to be more general use and TBB specializes on parallel programming with threads. <br />
}
</pre>
Some things to notice about this code are as follows. All of the reduce operations are done in the overloaded () operator. The <code>join()</code> and <code>Sum(Sum& s, split)</code> split constructor are needed to split the <code>blocked_range</code> , run the operations in parallel then join the results.
24
edits

Navigation menu