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// REQUIRES: gpu
5
6#define N 256
7
8int main() {
9 // CHECK: Launching kernel [[KERNEL:.+_main_.+]] with [1,1,1] blocks and [1,1,1] threads
10#pragma omp target teams
11#pragma omp parallel
12 {}
13}
14

source code of offload/test/api/omp_env_vars.c