Skip to content

Commit 24312b7

Browse files
committed
Adrdess review comments
1 parent 054a5a3 commit 24312b7

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

flang/lib/Lower/ConvertVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ static mlir::Value createNewLocal(Fortran::lower::AbstractConverter &converter,
787787
return res;
788788
}
789789

790-
/// Device allocatable component in a derived-type don't have the correct
790+
/// Device allocatable components in a derived-type don't have the correct
791791
/// allocator index in their descriptor when they are created. After
792792
/// initialization, cuf.set_allocator_idx operations are inserted to set the
793793
/// correct allocator index for each device component.

flang/test/Lower/CUDA/cuda-set-allocator.cuf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ contains
2222
! CHECK: cuf.set_allocator_idx %[[Z]] : !fir.ref<!fir.box<!fir.heap<!fir.array<?xi32>>>> {data_attr = #cuf.cuda<device>}
2323

2424
end module
25-
26-
27-
28-
29-

0 commit comments

Comments
 (0)