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) {
520520
521521static int DoConstructTightNesting (
522522 const parser::DoConstruct *doConstruct, const parser::Block *&innerBlock) {
523- if (!doConstruct || !doConstruct->IsDoNormal ()) {
523+ if (!doConstruct ||
524+ (!doConstruct->IsDoNormal () && !doConstruct->IsDoConcurrent ())) {
524525 return 0 ;
525526 }
526527 innerBlock = &std::get<parser::Block>(doConstruct->t );
Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ program main
130130 do
131131 exit
132132 end do
133- !ERROR: !$CUF KERNEL DO (1) must be followed by a DO construct with tightly nested outer levels of counted DO loops
134133 !$cuf kernel do <<< 1, 2 >>>
135134 do concurrent (j=1:10)
136135 end do
You can’t perform that action at this time.
0 commit comments