1 // RUN: %libomptarget-compilexx-run-and-check-generic
4 // UNSUPPORTED: nvptx64-nvidia-cuda
5 // UNSUPPORTED: nvptx64-nvidia-cuda-LTO
6 // UNSUPPORTED: amdgcn-amd-amdhsa
15 for (int i
= 0; i
< N
; i
++)
21 #pragma omp target teams distribute parallel for num_teams(256) \
22 schedule(static, 1) map(to \
26 for (int i
= 0; i
< N
; i
++) {
32 // CHECK: SUM = 1000000
33 printf("SUM = %d\n", sum
[0]);