[Openmp-commits] [PATCH] D27647: Fix arguments of trace output in __kmp_push_stack

Victor Campos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 9 17:40:18 PST 2016

vhscampos created this revision.
vhscampos added reviewers: jcownie, jlpeyton, AndreyChurbanov.
vhscampos added a subscriber: openmp-commits.

In the trace output in line 341, the argument placement of variables 'head' and 'tail' were inverted.



Index: runtime/src/kmp_tasking.c
--- runtime/src/kmp_tasking.c
+++ runtime/src/kmp_tasking.c
@@ -341,7 +341,7 @@
     KA_TRACE(20, ("__kmp_push_task: T#%d returning TASK_SUCCESSFULLY_PUSHED: "
                   "task=%p ntasks=%d head=%u tail=%u\n",
                   gtid, taskdata, thread_data->td.td_deque_ntasks,
-                  thread_data->td.td_deque_tail, thread_data->td.td_deque_head) );
+                  thread_data->td.td_deque_head, thread_data->td.td_deque_tail) );

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27647.80985.patch
Type: text/x-patch
Size: 598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20161210/ec8e96be/attachment.bin>

More information about the Openmp-commits mailing list