[Openmp-commits] [PATCH] D25972: Fixing typos in __kmp_release_deps trace outputs
Victor Campos via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 25 16:54:09 PDT 2016
vhscampos created this revision.
vhscampos added reviewers: jcownie, Hahnfeld.
vhscampos added a subscriber: openmp-commits.
The strings in trace outputs inside __kmp_release_deps had typos, which have been fixed. They were: realease and succesors.
https://reviews.llvm.org/D25972
Files:
runtime/src/kmp_taskdeps.cpp
Index: runtime/src/kmp_taskdeps.cpp
===================================================================
--- runtime/src/kmp_taskdeps.cpp
+++ runtime/src/kmp_taskdeps.cpp
@@ -368,13 +368,13 @@
kmp_depnode_t *node = task->td_depnode;
if ( task->td_dephash ) {
- KA_TRACE(40, ("__kmp_realease_deps: T#%d freeing dependencies hash of task %p.\n", gtid, task ) );
+ KA_TRACE(40, ("__kmp_release_deps: T#%d freeing dependencies hash of task %p.\n", gtid, task ) );
__kmp_dephash_free(thread,task->td_dephash);
}
if ( !node ) return;
- KA_TRACE(20, ("__kmp_realease_deps: T#%d notifying succesors of task %p.\n", gtid, task ) );
+ KA_TRACE(20, ("__kmp_release_deps: T#%d notifying successors of task %p.\n", gtid, task ) );
KMP_ACQUIRE_DEPNODE(gtid,node);
node->dn.task = NULL; // mark this task as finished, so no new dependencies are generated
@@ -389,7 +389,7 @@
if ( npredecessors == 0 ) {
KMP_MB();
if ( successor->dn.task ) {
- KA_TRACE(20, ("__kmp_realease_deps: T#%d successor %p of %p scheduled for execution.\n", gtid, successor->dn.task, task ) );
+ KA_TRACE(20, ("__kmp_release_deps: T#%d successor %p of %p scheduled for execution.\n", gtid, successor->dn.task, task ) );
__kmp_omp_task(gtid,successor->dn.task,false);
}
}
@@ -405,7 +405,7 @@
__kmp_node_deref(thread,node);
- KA_TRACE(20, ("__kmp_realease_deps: T#%d all successors of %p notified of completation\n", gtid, task ) );
+ KA_TRACE(20, ("__kmp_release_deps: T#%d all successors of %p notified of completion\n", gtid, task ) );
}
/*!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25972.75814.patch
Type: text/x-patch
Size: 1691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20161025/d3e60dfd/attachment.bin>
More information about the Openmp-commits
mailing list