Practica of PPP

theory -  project
Introduction to the exercises and mini-project

  Demo code based on Visual Studio 2019

Visual Studio Solution

VectorElementWiseProduct: compare variants of the same algorithm <= use this as template!!

  Documentation

  Mini-project on optimization (10% of marks)

    Project VectorElementWiseProduct: Study the different optimizations and compare 2 related array operations.

    Every student or group of 2 students chooses a different combination of 2 array operations and send it to me for OK.

  Exercises on multithreading    All solutions - 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].



- Back to the top -