/distributed-systems

Exercises of Pthreads, OpenMPI and OpenMP

Primary LanguageC++MIT LicenseMIT

Distributed Systems

Exercises of Pthreads, OpenMPI and OpenMP for UCI CS 131: Parallel and Distributed Systems

1. Pthreads

DPP.c: A naive dining philosophers solver. For a robust and lock-free one, see my repo Dining-Philosophers

Sobel.cpp: Sobel filter in pthreads.

2. OpenMPI

WordCnt.cpp: Count frequency of a word in a file in OpenMPI.

Sobel.cpp: Sobel filter in OpenMPI.

3. OpenMP

Sobel.cpp: Sobel filter in OpenMP, supports static and dynamic scheduling.