2 /* { dg-additional-options "-foffload-options=nvptx-none=-latomic" { target { offload_target_nvptx } } } */
14 for (int x
= 0; x
< N
; ++x
)
17 #pragma omp target map(tofrom: result) map(to:a)
18 #pragma omp for simd reduction(&&:result)
19 for (int x
= 0; x
< N
; ++x
)
20 result
= result
&& a
[x
];