Open main menu

CDOT Wiki β

Changes

GPU621/Striking

215 bytes added, 13:05, 8 December 2016
Progress
Fist set of this quick sorting is that main thread worked for first half of all elements which starts *begin 9 to *end 1. The *mid value was 9 so it swapped *mid for *end. Since mid moved to end, the second half of all elements was the end to the end which only end value are to be sorted; the actual process will be skipped so no value is changed.
Next set of this is that second element(its value 3) to the last element (its value 9). The *mid value was 9 and swapping it for the *end which was same as before. As you see the rest of the major steps indicated in the data flows diagram. 
</td></tr>
</table>
108
edits