Changes

Jump to: navigation, search

GPUSquad

7 bytes added, 23:40, 25 February 2018
Idea 3 - MergeSort
It has been adjust to work only with int arrays and perform operation on worst case scenario for merge sort, which is something similar to this array - [0, 2, 4, 6, 1, 3, 5, 7].
*********************=====================
<b>CODE</b>
*********************=====================
To compile on matrix - <b>g++ -O2 -g -pg -oa1 a1.cpp</b>
</source>
******************==================
<b>Profiling</b>
******************==================
<source>
</source>
******************==================<b>Analysing</b>******************==================
The most time consuming part is merging, which can be at least partially paralleled. The Big(O) of this case is O(n).

Navigation menu