Open main menu

CDOT Wiki β

Lucky Charms

Progress

A1: Select and Assess

There wasn't a project source code for this. Everything was written by yours truly. etc. etc. etc. The 10 algorithms tested are:

Source Code

bubble sort

 

selection sort

 

insertion sort

   

merge sort

 

heap sort

 

quick sort

 

counting sort

 

radix sort

 

bucket sort

 

shell sort

 

files

sort.h algorithms file, main.cpp (v1) file, main.cpp (v2) file, utilities.h file


Results

Flat Profile

 

Call Graph

 

Clustered Column Chart

 



A2: Parallelize

Source Code

bubble sort

 

selection sort

 

insertion sort

Cant be parallelized.

radix sort

Results

Visual Profiler

Parallel NSight

Comparison

A3: Optimize

Source Code

bubble sort

 

selection sort

 

radix sort

Results

Visual Profiler

Parallel NSight

Comparison