Skip to content

Commit

Permalink
[flang][OpenMP] Add support for multi-range do concurrent loops (fl…
Browse files Browse the repository at this point in the history
…ang-compiler#89)

* [flang][OpenMP] Add support for multi-range `do concurrent` loops

Extends `do concurrent` to OpenMP mapping by adding support for
multi-range loops. The current implementation only works for perfectly
nested loops. So taking this input:

```fortran
do concurrent(i=1:n, j=1:m)
  a(i,j,k) = i * j
end do
```

will behave in exactly the same way as this input:

```
do concurrent(i=1:n)
  do concurrent(j=1:m)
    a(i,j,k) = i * j
  end do
end do
```
  • Loading branch information
ergawy authored Jun 17, 2024
1 parent 5612daf commit 49a0052
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 103 deletions.
Loading

0 comments on commit 49a0052

Please sign in to comment.