lang:cpp:openmp
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
lang:cpp:openmp [2022/09/05 23:05] – [aligned] : fix format root | lang:cpp:openmp [2022/09/05 23:05] (Version actuelle) – [linear] : fix format root | ||
---|---|---|---|
Ligne 419: | Ligne 419: | ||
===linear=== | ===linear=== | ||
Incrémente pour chaque boucle une variable. | Incrémente pour chaque boucle une variable. | ||
- | < | + | < |
#pragma omp simd linear(b:2) | #pragma omp simd linear(b:2) | ||
for(int n=0; n<8; ++n) array[n] = b; | for(int n=0; n<8; ++n) array[n] = b; |
lang/cpp/openmp.1662411919.txt.gz · Dernière modification : 2022/09/05 23:05 de root