[flang-commits] [flang] Allow do concurrent inside cuf kernel directive (PR #127693)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Thu Feb 20 12:33:15 PST 2025
================
@@ -133,6 +133,10 @@ program main
!$cuf kernel do <<< 1, 2 >>>
do concurrent (j=1:10)
end do
+ !ERROR: !$CUF KERNEL DO (2) must be followed by a DO construct with tightly nested outer levels of counted DO loops
----------------
clementval wrote:
Maybe we need to adapt the message to add do concurrent in it.
```
!$CUF KERNEL DO (2) must be followed by a DO construct with tightly nested outer levels of counted DO loops or a DO CONCURRENT construct with at least 2 concurrent headers
```
https://github.com/llvm/llvm-project/pull/127693
More information about the flang-commits
mailing list