[Openmp-commits] [openmp] r252086 - Remove incorrect debug assert.

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 4 14:31:57 PST 2015


Author: jlpeyton
Date: Wed Nov  4 16:31:57 2015
New Revision: 252086

URL: http://llvm.org/viewvc/llvm-project?rev=252086&view=rev
Log:
Remove incorrect debug assert.

in __kmp_free_team(), the team's number of processors can be == 1.

Modified:
    openmp/trunk/runtime/src/kmp_runtime.c

Modified: openmp/trunk/runtime/src/kmp_runtime.c
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_runtime.c?rev=252086&r1=252085&r2=252086&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_runtime.c (original)
+++ openmp/trunk/runtime/src/kmp_runtime.c Wed Nov  4 16:31:57 2015
@@ -5280,7 +5280,6 @@ __kmp_free_team( kmp_root_t *root, kmp_t
                         team->t.t_threads[f]->th.th_task_team = NULL;
                     }
                     KA_TRACE( 20, ( "__kmp_free_team: T#%d deactivating task_team %p on team %d\n", __kmp_get_gtid(), task_team, team->t.t_id ) );
-                    KMP_DEBUG_ASSERT( team->t.t_nproc > 1 );
                     __kmp_free_task_team( master, task_team );
                     team->t.t_task_team[tt_idx] = NULL;
                 }




More information about the Openmp-commits mailing list