Practica of PPP

theory -  project
Introduction to the exercises and mini-project

  Demo code based on Visual Studio 2022: Install the free Visual studio Community edition (select 'Desktop development with C++')

Visual Studio Solution starting code

VectorElementWiseProduct: compare variants of the same algorithm <= use this as template for the mini-project!!

  Documentation & instructions for the exercises upto the mini-project (until OpenMP)

  Mini-project on optimization (20% of marks)

    Project VectorElementWiseProduct: Study the different optimizations and compare 2 related array operations.  Solution   Solution project 'MultithreadingTesting'

    Every student or group of 2 students chooses a different combination of 2 array operations and 2 different data types, and send it to Jan Lemeire for OK.

    Project deadline: 08/11 Mail code + report to Jan Lemeire

  Exercises on multithreading    All solutions (given after the exercise sessions; remind me) - note: to have speedup for the Counting3s, compile without optimizations (Od)

Explanation of solution for exercise 1 & 3 (9 nov 2020). 

Explanation and solution of exercises 4, 5 & 6.

    1.   Implement a multithreaded fibonacci algorithm [project Fibonacci]

    
    2.   Implement a multithreaded matrix multiplication [project MxM].

      3.   Test the the performance of various Count3s implementations [project Counting3s].


        4.   Check Invariance-breaking  (See slides on MT: first example of thread safety) [project InvariantBreaking]

       5.   Implement a Barrier [project Barrier].
6.  Implement a multithreaded solution for the pipeline algorithm. [project Pipeline].
7. Implement an MPI solution for the previous pipeline algorithm. [create project PipelineWithMPI].
8. Test the different MPI point-to-point communication protocols [project QuicksortMPI].



- Back to the top -