source:
CIVL/mods/dev.civl.abc/examples/pragmas/ompprag1.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 109 bytes | |
| Line | |
|---|---|
| 1 | #define N 10 |
| 2 | |
| 3 | int a[N]; |
| 4 | |
| 5 | int main() { |
| 6 | int i; |
| 7 | |
| 8 | #pragma omp parallel for |
| 9 | for (i=0; i<N; i++) |
| 10 | a[i]=i; |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
