[flang-commits] [flang] [flang][openacc] Lower DO CONCURRENT with acc loop (PR #79223)

Razvan Lupusoru via flang-commits flang-commits at lists.llvm.org
Tue Jan 23 15:29:23 PST 2024


https://github.com/razvanlupusoru commented:

This is great.

I think the acc.loop should also be marked with appropriate attribute as part of this change:
```
3353 2.17.2 Do Concurrent Construct
3354 This section refers to the Fortran do concurrent construct that is a form of do construct. When
3355 do concurrent appears without a loop construct in a kernels construct it is treated as if it is
3356 annotated with loop auto. If it appears in a parallel construct or an accelerator routine then
3357 it is treated as if it is annotated with loop independent.
```

https://github.com/llvm/llvm-project/pull/79223


More information about the flang-commits mailing list