We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3871ee commit 58686e3Copy full SHA for 58686e3
1 file changed
docs/parallel/openmp/2-7-2-6-reduction.md
@@ -47,10 +47,13 @@ variable-list
47
48
```
49
50
- x = xopexprxbinop= exprx = expropx (except for subtraction)
51
-x++
52
-++xx--
53
---x
+x = x op expr
+x binop= expr
+x = expr op x (except for subtraction)
+x++
54
+++x
55
+x--
56
+--x
57
58
59
where:
@@ -126,4 +129,4 @@ for (i=0; i<n; i++) {
126
129
/* ERROR - variable x cannot be specified in both
127
130
a shared and a reduction clause */
128
131
#pragma omp parallel for shared(x) reduction(+: x)
- ```
132
+ ```
0 commit comments