Skip to content

6851-2021/parallel-bitonic-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Bitonic Sequence Sort Example

Instructions

  1. Install OpenCilk from here
  2. Compile with clang++ ./bitonic_sort.cpp -O3 -march=native -fopencilk if you want parallel code or clang++ ./bitonic_sort.cpp -O3 -march=native -DNPARALLEL for serial code.
  3. Run ./a.out [n] where n is the size of array you want generated and tested

CilkScale Instructions

CilkScale can measure the parallelism this code exhibits in practice.

  1. Compile with clang++ ./bitonic_sort.cpp -O3 -march=native -fopencilk -fcilktool=cilkscale
  2. Run ./a.out [n] where n is the size of array you want generated and tested

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages