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:22] roberto.alfieriroberto.alfieri:pub:openmp [14/10/2020 18:38] – [Main clauses] roberto.alfieri
Linea 209: Linea 209:
 A parallel region is a block of code that will be executed by multiple threads. This is the fundamental OpenMP parallel construct.  A parallel region is a block of code that will be executed by multiple threads. This is the fundamental OpenMP parallel construct. 
  
-Examples: ex1.c ex2.c [[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/parallel2.c | parallel2.c ]]+Examples: ex1.c ex2.c parallel-single.c
  
  
Linea 231: Linea 231:
   Or use #pragma omp parallel for   Or use #pragma omp parallel for
  
-[[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/Examples]]: for.c for2.c+ Examples: for.c for-schelule.c
  
  
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.
  
-[[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/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
  
-[[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/Examples]]: sections.c sections2.c+ Examples: sections.c
  
 ==== Critical  Directive ==== ==== Critical  Directive ====
Linea 288: Linea 288:
 } }
 </code> </code>
 +Examples: ex2.c
  
  
Linea 312: Linea 312:
  
  
-[[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/Examples]]: reduction.c+ Examples: reduction.c
  
 == Combining FOR and reduce == == Combining FOR and reduce ==
Linea 339: Linea 339:
  
  
-[[http://www.fis.unipr.it/home/roberto.alfieri/didattica/matdid/prog/omp/esempi/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