1 // RUN: %compile-run-and-check
9 #pragma omp target map(tofrom: max_threads)
10 max_threads
= omp_get_max_threads();
12 #pragma omp target parallel map(tofrom: num_threads)
15 num_threads
= omp_get_num_threads();
18 // CHECK: Max Threads: 128, Num Threads: 128
19 printf("Max Threads: %d, Num Threads: %d\n", max_threads
, num_threads
);