1 /* { dg-additional-options "-foffload-options=nvptx-none=-latomic" { target { offload_target_nvptx } } } */
10 #pragma omp declare reduction(+: struct s: omp_out.i += omp_in.i)
17 struct s counter_N0
= { 0 };
19 #pragma omp for simd reduction(+: counter_N0)
20 for (int i0
= 0 ; i0
< N0
; i0
++ )
23 if (counter_N0
.i
!= N0
)