Skip to content

Project for the course Parallel & Distributed Systems: Paradigms & Models @ Unipi

Notifications You must be signed in to change notification settings

AlexPasqua/SPM-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPM project

Project for the course Parallel & Distributed Systems: Paradigms & Models @ University of Pisa

Project track: video motion detect

Compile

All these commands are intended to be executed in the base directory of the project (SPM-project).

Compile everything: make all

Sequential implementation: make sequential or make all

Parallel implementation with native C++ threads: make threads or make all

Parallel implementation with FastFlow: make ff or make all

Script to measure latencies of sequential operations: make seq_funcs_perf_eval or make all

Execute

All these commands are intended to be executed in the base directory of the project (SPM-project).

The arguments of the executables are indicated in angle brackets (<>). Optional arguments are indicated in squared and angle brackets ([<>]).

Sequential implementation:

./bin/main_sequential.out <path to video>

Parallel implementation with OpenMP pragmas:

./bin/main_sequential.out <path to video> [<workers for rgb2gray>] [<workers for smoothing>] [<workers for motion detection>]

Parallel implementation with native C++ threads:

./bin/main_threads.out <path to video> <number of workers>

Parallel implementation with native C++ threads and OpenMP pragmas:

./bin/main_threads.out <path to video> <number of workers> [<workers for rgb2gray>] [<workers for smoothing>] [<workers for motion detection>]

Parallel implementation with FastFlow:

./bin/main_ff.out <path to video> <number of workers>

Parallel implementation with FastFlow and OpenMP pragmas:

./bin/main_ff.out <path to video> <number of workers> [<workers for rgb2gray>] [<workers for smoothing>] [<workers for motion detection>]

Script to measure latencies of sequential operations:

./bin/seq_funcs_perf_eval.out <path to video>

About

Project for the course Parallel & Distributed Systems: Paradigms & Models @ Unipi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published