From 176a021ce9d32f814f9da845a273164e64034521 Mon Sep 17 00:00:00 2001 From: paboyle Date: Fri, 12 Jan 2018 23:38:15 +0000 Subject: [PATCH] =?UTF-8?q?Formatting,=20NAMESPACE=C2=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/threads/Threads.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/threads/Threads.h b/lib/threads/Threads.h index 36daf2af..59c6f3cb 100644 --- a/lib/threads/Threads.h +++ b/lib/threads/Threads.h @@ -1,4 +1,4 @@ - /************************************************************************************* +/************************************************************************************* Grid physics library, www.github.com/paboyle/Grid @@ -24,8 +24,8 @@ Author: paboyle 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. See the full license in the file "LICENSE" in the top level distribution directory - *************************************************************************************/ - /* END LEGAL */ +*************************************************************************************/ +/* END LEGAL */ #ifndef GRID_THREADS_H #define GRID_THREADS_H @@ -56,13 +56,13 @@ Author: paboyle #define parallel_for_internal PARALLEL_FOR_LOOP_INTERN for #define parallel_for_nest2 PARALLEL_NESTED_LOOP2 for -namespace Grid { +NAMESPACE_BEGIN(Grid); - // Introduce a class to gain deterministic bit reproducible reduction. - // make static; perhaps just a namespace is required. +// Introduce a class to gain deterministic bit reproducible reduction. +// make static; perhaps just a namespace is required. class GridThread { - public: +public: static int _threads; static int _hyperthreads; static int _cores; @@ -153,5 +153,5 @@ class GridThread { }; -} +NAMESPACE_END(Grid); #endif