Strumenti Utente

Strumenti Sito


roberto.alfieri:pub:openmp

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
Prossima revisioneEntrambe le parti successive la revisione
roberto.alfieri:pub:openmp [14/10/2020 18:26] – [For directive] roberto.alfieriroberto.alfieri:pub:openmp [18/03/2022 15:43] roberto.alfieri
Linea 1: Linea 1:
 ====== OpenMP ====== ====== OpenMP ======
  
 +====Tutorials, external links ====
 +
 +[[https://hpc-tutorials.llnl.gov/openmp/| LLNL]]
 +
 +
 +**[[http://didattica-linux.unipr.it/~alfieri/matdid/HPC/openmp/base/ | Exercises repository ]]**
 +
 +
 +==== What is openMP ====
  
 [[http://openmp.org/ | OpenMP]] adds constructs for shared-memory threading to C, C++ and Fortran [[http://openmp.org/ | OpenMP]] adds constructs for shared-memory threading to C, C++ and Fortran
  
  
-[[https://computing.llnl.gov/tutorials/openMP/#ProgrammingModel | Memory Model:]] 
  
 {{:roberto.alfieri:pub:shared_mem.png?200|}} {{:roberto.alfieri:pub:shared_mem.png?200|}}
Linea 21: Linea 29:
  
 Version 4.0 (July 2013), 4.5 (Nov 2015 ) and 5.0 (Nov 2018)  add support for accelerators (target directives), vectorization (SIMD directives), thread affinity and cancellation. Version 4.0 (July 2013), 4.5 (Nov 2015 ) and 5.0 (Nov 2018)  add support for accelerators (target directives), vectorization (SIMD directives), thread affinity and cancellation.
-[[https://developers.redhat.com/blog/2019/03/19/whats-new-in-openmp-5-0/ | What's new in OpenMP 5.0 ]] 
  
  
  
-====Tutorials, external links ==== 
- 
-[[https://computing.llnl.gov/tutorials/openMP/ | LLNL]] 
-- 
-[[http://bisqwit.iki.fi/story/howto/openmp/ | Guide into OpenMP: Easy multithreading programming for C++]] 
- 
-**[[http://didattica-linux.unipr.it/~alfieri/matdid/HPC/openmp/base/ | Exercises repository ]]** 
  
 === openMP support in the C/C++ Compilers === === openMP support in the C/C++ Compilers ===
Linea 243: Linea 243:
 All other threads on the team skip this section of code. All other threads on the team skip this section of code.
  
-Examples: single.c+Examples: parallel-single.c
  
 ==== Sections Directive ==== ==== Sections Directive ====
Linea 263: Linea 263:
 There is an implied barrier at the end of a SECTIONS directive There is an implied barrier at the end of a SECTIONS directive
  
- Examples: sections.c sections2.c+ Examples: sections.c
  
 ==== Critical  Directive ==== ==== Critical  Directive ====
Linea 288: Linea 288:
 } }
 </code> </code>
 +Examples: ex2.c
  
  
Linea 339: Linea 339:
  
  
- Examples: for2.c+ Examples: for-schedule.c
  
  
roberto.alfieri/pub/openmp.txt · Ultima modifica: 18/03/2022 16:11 da roberto.alfieri

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki