File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,8 @@ void CUDAChecker::Enter(const parser::SeparateModuleSubprogram &x) {
520
520
521
521
static int DoConstructTightNesting (
522
522
const parser::DoConstruct *doConstruct, const parser::Block *&innerBlock) {
523
- if (!doConstruct || !doConstruct->IsDoNormal ()) {
523
+ if (!doConstruct ||
524
+ (!doConstruct->IsDoNormal () && !doConstruct->IsDoConcurrent ())) {
524
525
return 0 ;
525
526
}
526
527
innerBlock = &std::get<parser::Block>(doConstruct->t );
Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ program main
130
130
do
131
131
exit
132
132
end do
133
- !ERROR: !$CUF KERNEL DO (1) must be followed by a DO construct with tightly nested outer levels of counted DO loops
134
133
!$cuf kernel do <<< 1, 2 >>>
135
134
do concurrent (j=1:10)
136
135
end do
You can’t perform that action at this time.
0 commit comments