magistraleinformaticanetworking:spm:recupero17
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
magistraleinformaticanetworking:spm:recupero17 [14/11/2017 alle 14:11 (7 anni fa)] – [14 Nov] Marco Danelutto | magistraleinformaticanetworking:spm:recupero17 [13/12/2017 alle 18:08 (7 anni fa)] (versione attuale) – [December 12] Marco Danelutto | ||
---|---|---|---|
Linea 1: | Linea 1: | ||
- | |||
===== SPM 2017 recovery edition lessons ===== | ===== SPM 2017 recovery edition lessons ===== | ||
Linea 103: | Linea 102: | ||
==== Nov 7 ==== | ==== Nov 7 ==== | ||
- | Introduction to parallel patterns/ | + | 2h: Introduction to parallel patterns/ |
* using [[http:// | * using [[http:// | ||
Linea 123: | Linea 122: | ||
==== 14 Nov ==== | ==== 14 Nov ==== | ||
+ | 2h: | ||
+ | |||
Sample code | Sample code | ||
* [[traduttorecpp|code]] with different implementation of a " | * [[traduttorecpp|code]] with different implementation of a " | ||
Linea 137: | Linea 138: | ||
**Assignment**: | **Assignment**: | ||
* implement a divide and conquer computation using c++ threads. The computation should look for a word in a text. Recursively divide the text up to the point you either get something of the a given length (parameter), | * implement a divide and conquer computation using c++ threads. The computation should look for a word in a text. Recursively divide the text up to the point you either get something of the a given length (parameter), | ||
+ | |||
+ | |||
+ | ==== Nov 21 ==== | ||
+ | 2h | ||
+ | |||
+ | * data parallel patterns (map, reduce, google map reduce, stencil, stencil-reduce) | ||
+ | * implementation of pattern frameworks (supporting composition) | ||
+ | * template based | ||
+ | * data flow based | ||
+ | |||
+ | {{ : | ||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | **Assignments** | ||
+ | * read Chapter 4 of the notes | ||
+ | * implement the word count with your own google mapreduce in C++ (//use threads to compute in parallel the map phase and again threads to compute in parallel the reduce phase//) | ||
+ | |||
+ | ==== Nov 28 ==== | ||
+ | 2h | ||
+ | |||
+ | * FastFlow programming framework: Introduction, | ||
+ | * documentation may be found at [[http:// | ||
+ | * download code (via SVN!!) at [[https:// | ||
+ | |||
+ | {{ : | ||
+ | {{ : | ||
+ | {{ : | ||
+ | |||
+ | **Assignments** | ||
+ | * try to write a FF pipeline (with core patterns) that implements the Sieve of Eratostene: one stage emits the stream of integers and stage i filters out all the numbers multiple of i. The last stage prints the results. Try generating 20 integers and using k<20 filter stages. | ||
+ | |||
+ | === Afternoon lesson === | ||
+ | by David Del Rio Astorga: 1h | ||
+ | |||
+ | * Introduction to GrPPI (slides sent as PDF to the course mailing list). | ||
+ | |||
+ | ==== December 12 ==== | ||
+ | |||
+ | Morning: | ||
+ | |||
+ | * methodology to develop parallel code with structured programming | ||
+ | * final project presentation (see the [[http:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Afternoon: 2h (By Massimo Torquati) | ||
+ | * high level usage of core FastFlow patterns | ||
+ | * {{ : | ||
+ | * {{ : | ||
+ | |||
+ | ==== End of lessons ==== |
magistraleinformaticanetworking/spm/recupero17.1510668716.txt.gz · Ultima modifica: 14/11/2017 alle 14:11 (7 anni fa) da Marco Danelutto