Changes

Jump to: navigation, search

GPU621/Fighting Mongooses

86 bytes added, 22:17, 30 November 2016
Comparing STL/PPL to TBB: Sorting Algorithm
Let’s compare a simple sorting algorithm between TBB and STL/PPL.
===='''Serial===='''
[[File:SortSerial.png]]
===='''TBB===='''
[[File:SortTBB.png]]
===='''STL===='''
[[File:SortSTL.png]]
==='''Results==='''
[[File:ResultsTable.png]]
The clear differentiation in the code is that TBB does not have to operate using random access iterators, while STL’s parallel solution to sorting (and serial solution) does. If TBB sort is run using a vector instead of a simple array, you will see more even times.
23
edits

Navigation menu