pipelined allreduce for large messages implemented, use -D_PIPELINED_ALLREDUCE_ to...
[charm.git] / src / ck-core / ckcallback.h
index d2d8f39f3650b9d0a0600dffaae7448c2ccb6ffb..2d8764e0a7bce5880f5be6874f06746a1586cc80 100644 (file)
@@ -29,6 +29,9 @@ class ArrayElement;
 
 class CkCallback {
 public:
+#ifdef _PIPELINED_ALLREDUCE_
+       friend class ArrayElement;
+#endif
        typedef enum {
        invalid=0, //Invalid callback
        ignore, //Do nothing