Enable GROUP_LEVEL_TREE in ckreduction when the build is multicore or non-smp to...
authorChao Mei <chaomei2@illinois.edu>
Wed, 16 Mar 2011 21:23:07 +0000 (16:23 -0500)
committerChao Mei <chaomei2@illinois.edu>
Wed, 16 Mar 2011 21:23:07 +0000 (16:23 -0500)
src/ck-core/ckreduction.h

index a383c3f7f22440c0e7ace0d74f5942016511fe83..646ac4a2acf69fa498200e320cab776b2011eb85 100644 (file)
@@ -22,7 +22,7 @@ The calls needed to use the reduction manager are:
 
 #include "CkArrayReductionMgr.decl.h"
 
-#if CMK_BLUEGENE_CHARM
+#if CMK_BLUEGENE_CHARM || CMK_MULTICORE || !CMK_SMP
 #define GROUP_LEVEL_REDUCTION           1
 #endif