aboutsummaryrefslogtreecommitdiff
path: root/offload/test/api/omp_env_vars.c
blob: a8a574be8c849628a123f173909448197d135163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %libomptarget-compile-generic
// RUN: env OMP_NUM_TEAMS=1 OMP_TEAMS_THREAD_LIMIT=1 LIBOMPTARGET_INFO=16 \
// RUN:   %libomptarget-run-generic 2>&1 | %fcheck-generic
// REQUIRES: gpu

#define N 256

int main() {
  // CHECK: Launching kernel [[KERNEL:.+_main_.+]] with [1,1,1] blocks and [1,1,1] threads
#pragma omp target teams
#pragma omp parallel
  {}
}