[OpenMP] NFC: fix test removing the target construct
authorAndreyChurbanov <andrey.churbanov@intel.com>
Sat, 13 Feb 2021 01:49:52 +0000 (04:49 +0300)
committerAndreyChurbanov <andrey.churbanov@intel.com>
Sat, 13 Feb 2021 01:49:52 +0000 (04:49 +0300)
openmp/runtime/test/teams/kmp_num_teams.c

index 2027b5e..26a3c3d 100644 (file)
@@ -33,7 +33,7 @@ void check_num_teams(int num_teams_lb, int num_teams_ub, int thread_limit) {
   __kmpc_push_num_teams_51(NULL, gtid, num_teams_lb, num_teams_ub,
                            thread_limit);
 
-#pragma omp target teams map(tofrom: a) map(from: nteams, nthreads)
+#pragma omp teams default(shared)
   {
     int priv_nteams;
     int team_num = omp_get_team_num();