[Openmp-commits] [openmp] 5631842 - [OpenMP] NFC: fix test removing the target construct

via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 12 17:50:32 PST 2021


Author: AndreyChurbanov
Date: 2021-02-13T04:49:52+03:00
New Revision: 5631842d181016207e85e4d035d0c4383f34337a

URL: https://github.com/llvm/llvm-project/commit/5631842d181016207e85e4d035d0c4383f34337a
DIFF: https://github.com/llvm/llvm-project/commit/5631842d181016207e85e4d035d0c4383f34337a.diff

LOG: [OpenMP] NFC: fix test removing the target construct

Added: 
    

Modified: 
    openmp/runtime/test/teams/kmp_num_teams.c

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/teams/kmp_num_teams.c b/openmp/runtime/test/teams/kmp_num_teams.c
index 2027b5e987c1..26a3c3d86325 100644
--- a/openmp/runtime/test/teams/kmp_num_teams.c
+++ b/openmp/runtime/test/teams/kmp_num_teams.c
@@ -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();


        


More information about the Openmp-commits mailing list