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