[OpenMP] NFC: fix test removing the target construct

This commit is contained in:
AndreyChurbanov 2021-02-13 04:49:52 +03:00
parent 091e8daa24
commit 5631842d18
1 changed files with 1 additions and 1 deletions

View 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();