summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/runtime/src/kmp_tasking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_tasking.cpp b/openmp/runtime/src/kmp_tasking.cpp
index 1df82ff4d14..5daca2837cf 100644
--- a/openmp/runtime/src/kmp_tasking.cpp
+++ b/openmp/runtime/src/kmp_tasking.cpp
@@ -4015,7 +4015,7 @@ void __kmp_taskloop_recur(ident_t *loc, int gtid, kmp_task_t *task,
// schedule new task with correct return address for OMPT events
__kmp_omp_taskloop_task(NULL, gtid, new_task, codeptr_ra);
#else
- __kmp_omp_task(NULL, gtid, new_task); // schedule new task
+ __kmp_omp_task(gtid, new_task, true); // schedule new task
#endif
// execute the 1st half of current subrange
OpenPOWER on IntegriCloud