Skip to content

sirawit-suk/OpenMP-ComArch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMP-ComArch

This is CountingSort algorithm using OpenMP (For running in parallel for optimization)

Source Code: Original reference (Nickson Joram)

Confirmation: can-you-do-a-parallel-counting-sort-in-on-p-time

Installation:

How to use:

  • Run file "make t=4 n=10000" or "make all t=4 n=10000" (t=num threads and n=number)

Makefile:

  • all: build, run all executable program
  • run: execute perf and program
  • build: compile new file
  • clean: remove .elf file (.elf is the .exe(window) in linux)(Doesn't necessary)
  • (Obsolete) thread: change software OPEN-MP thread type "make thread t=1" (Not use because can't change threads -> use function omp_set_thread_num(num x);)

Command:

Others:

If you have a problem, feel free to ask me :)

About

OpenMP Project using Counting Sort Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published