[Openmp-commits] [openmp] r336575 - [OpenMP] Fix a few formatting issues
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jul 9 11:09:25 PDT 2018
Author: jlpeyton
Date: Mon Jul 9 11:09:25 2018
New Revision: 336575
URL: http://llvm.org/viewvc/llvm-project?rev=336575&view=rev
Log:
[OpenMP] Fix a few formatting issues
Modified:
openmp/trunk/runtime/src/kmp_runtime.cpp
openmp/trunk/runtime/src/kmp_taskdeps.cpp
openmp/trunk/runtime/src/kmp_threadprivate.cpp
Modified: openmp/trunk/runtime/src/kmp_runtime.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_runtime.cpp?rev=336575&r1=336574&r2=336575&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_runtime.cpp (original)
+++ openmp/trunk/runtime/src/kmp_runtime.cpp Mon Jul 9 11:09:25 2018
@@ -3397,7 +3397,8 @@ void __kmp_print_structure(void) {
root->r.r_uber_thread);
__kmp_printf(" Active?: %2d\n", root->r.r_active);
__kmp_printf(" Nested?: %2d\n", root->r.r_nested);
- __kmp_printf(" In Parallel: %2d\n", KMP_ATOMIC_LD_RLX(&root->r.r_in_parallel));
+ __kmp_printf(" In Parallel: %2d\n",
+ KMP_ATOMIC_LD_RLX(&root->r.r_in_parallel));
__kmp_printf("\n");
__kmp_print_structure_team_accum(list, root->r.r_root_team);
__kmp_print_structure_team_accum(list, root->r.r_hot_team);
Modified: openmp/trunk/runtime/src/kmp_taskdeps.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_taskdeps.cpp?rev=336575&r1=336574&r2=336575&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_taskdeps.cpp (original)
+++ openmp/trunk/runtime/src/kmp_taskdeps.cpp Mon Jul 9 11:09:25 2018
@@ -40,7 +40,8 @@ static void __kmp_init_node(kmp_depnode_
// task once dependences have been processed
node->dn.successors = NULL;
__kmp_init_lock(&node->dn.lock);
- KMP_ATOMIC_ST_RLX(&node->dn.nrefs, 1); // init creates the first reference to the node
+ KMP_ATOMIC_ST_RLX(&node->dn.nrefs,
+ 1); // init creates the first reference to the node
#ifdef KMP_SUPPORT_GRAPH_OUTPUT
node->dn.id = KMP_ATOMIC_INC(&kmp_node_id_seed);
#endif
Modified: openmp/trunk/runtime/src/kmp_threadprivate.cpp
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/src/kmp_threadprivate.cpp?rev=336575&r1=336574&r2=336575&view=diff
==============================================================================
--- openmp/trunk/runtime/src/kmp_threadprivate.cpp (original)
+++ openmp/trunk/runtime/src/kmp_threadprivate.cpp Mon Jul 9 11:09:25 2018
@@ -719,7 +719,7 @@ void __kmp_threadprivate_resize_cache(in
// compilers use new method.)
(void)KMP_COMPARE_AND_STORE_PTR(tp_cache_addr->compiler_cache, old_cache,
my_cache);
- //TCW_PTR(*(tp_cache_addr->compiler_cache), my_cache);
+ // TCW_PTR(*(tp_cache_addr->compiler_cache), my_cache);
// If the store doesn't happen here, the compiler's old behavior will
// inevitably call __kmpc_threadprivate_cache with a new location for the
More information about the Openmp-commits
mailing list