1 | // RUN: %libomptarget-compile-generic |
---|---|
2 | // RUN: env OMP_NUM_TEAMS=1 OMP_TEAMS_THREAD_LIMIT=1 LIBOMPTARGET_INFO=16 \ |
3 | // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic |
4 | |
5 | #define N 256 |
6 | |
7 | int main() { |
8 | // CHECK: Launching kernel [[KERNEL:.+_main_.+]] with 1 blocks and 1 threads |
9 | #pragma omp target teams |
10 | #pragma omp parallel |
11 | {} |
12 | } |
13 |