[Openmp-commits] [PATCH] D50651: [OpenMP] Fix tasking bug for decreasing hot team nthreads
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Aug 24 11:08:36 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rOMP340632: [OpenMP] Fix tasking bug for decreasing hot team nthreads (authored by jlpeyton, committed by ).
Repository:
rOMP OpenMP
https://reviews.llvm.org/D50651
Files:
runtime/src/kmp_tasking.cpp
Index: runtime/src/kmp_tasking.cpp
===================================================================
--- runtime/src/kmp_tasking.cpp
+++ runtime/src/kmp_tasking.cpp
@@ -2469,7 +2469,7 @@
KMP_DEBUG_ASSERT(__kmp_tasking_mode != tskm_immediate_exec);
KMP_DEBUG_ASSERT(thread == __kmp_threads[gtid]);
- if (task_team == NULL)
+ if (task_team == NULL || current_task == NULL)
return FALSE;
KA_TRACE(15, ("__kmp_execute_tasks_template(enter): T#%d final_spin=%d "
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50651.162426.patch
Type: text/x-patch
Size: 480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180824/94074b0d/attachment-0001.bin>
More information about the Openmp-commits
mailing list