[Openmp-commits] [openmp] r285244 - Fixing typos in __kmp_release_deps trace outputs

Jonathan Peyton via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 26 14:46:43 PDT 2016


Author: jlpeyton
Date: Wed Oct 26 16:46:43 2016
New Revision: 285244

URL: http://llvm.org/viewvc/llvm-project?rev=285244&view=rev
Log:
Fixing typos in __kmp_release_deps trace outputs

Patch by Victor Campos

Differential Revision: https://reviews.llvm.org/D25972

Modified:
    openmp/trunk/runtime/src/kmp_taskdeps.cpp

Modified: openmp/trunk/runtime/src/kmp_taskdeps.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_taskdeps.cpp?rev=285244&r1=285243&r2=285244&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_taskdeps.cpp (original)
+++ openmp/trunk/runtime/src/kmp_taskdeps.cpp Wed Oct 26 16:46:43 2016
@@ -368,13 +368,13 @@ __kmp_release_deps ( kmp_int32 gtid, kmp
     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 @@ __kmp_release_deps ( kmp_int32 gtid, kmp
         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_release_deps ( kmp_int32 gtid, kmp
 
     __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 ) );
 }
 
 /*!




More information about the Openmp-commits mailing list