File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,12 @@ subroutine acc_kernels_loop
102102! CHECK: acc.terminator
103103! CHECK-NEXT: }{{$}}
104104
105+ ! $acc kernels loop async(async) device_type(nvidia) async(1)
106+ DO i = 1 , n
107+ a(i) = b(i)
108+ END DO
109+ ! CHECK: acc.kernels combined(loop) async(%{{.*}} : i32, %c1{{.*}} : i32 [#acc.device_type<nvidia>])
110+
105111 ! $acc kernels loop wait
106112 DO i = 1 , n
107113 a(i) = b(i)
Original file line number Diff line number Diff line change @@ -104,6 +104,12 @@ subroutine acc_parallel_loop
104104! CHECK: acc.yield
105105! CHECK-NEXT: }{{$}}
106106
107+ ! $acc parallel loop async(async) device_type(nvidia) async(1)
108+ DO i = 1 , n
109+ a(i) = b(i)
110+ END DO
111+ ! CHECK: acc.parallel combined(loop) async(%{{.*}} : i32, %c1{{.*}} : i32 [#acc.device_type<nvidia>])
112+
107113 ! $acc parallel loop wait
108114 DO i = 1 , n
109115 a(i) = b(i)
Original file line number Diff line number Diff line change @@ -123,6 +123,12 @@ subroutine acc_serial_loop
123123! CHECK: acc.yield
124124! CHECK-NEXT: }{{$}}
125125
126+ ! $acc serial loop async(async) device_type(nvidia) async(1)
127+ DO i = 1 , n
128+ a(i) = b(i)
129+ END DO
130+ ! CHECK: acc.serial combined(loop) async(%{{.*}} : i32, %c1{{.*}} : i32 [#acc.device_type<nvidia>])
131+
126132 ! $acc serial loop wait
127133 DO i = 1 , n
128134 a(i) = b(i)
You can’t perform that action at this time.
0 commit comments