This shows you the differences between two versions of the page.
app:laboratoare:02 [2022/10/18 14:22] emil.slusanschi |
app:laboratoare:02 [2025/10/15 04:01] (current) alexandru.bala [Clauza nowait] |
||
---|---|---|---|
Line 151: | Line 151: | ||
#pragma omp parallel | #pragma omp parallel | ||
{ | { | ||
- | #pragma omp for nowait private(i) | + | #pragma omp for private(i) |
for (i = 0; i < 16; i++) { | for (i = 0; i < 16; i++) { | ||
c(i); | c(i); | ||
Line 176: | Line 176: | ||
</code> | </code> | ||
- | Rularea rezultata arata astfel: | + | Rularea rezultată arată astfel: |
{{:app:laboratoare:parallel_for_nowait.png?600|Rulare utilizand nowait}} | {{:app:laboratoare:parallel_for_nowait.png?600|Rulare utilizand nowait}} | ||