Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Muller <brian.muller@livingsocial.com>2012-01-03 23:56:51 +0400
committerBrian Muller <brian.muller@livingsocial.com>2012-01-03 23:56:51 +0400
commit9f457bf70dcab12082ec07cc6018e3f1a75899a2 (patch)
treea30f2028788bf291a71200ff5644a3c72a842f27 /vowpalwabbit/allreduce.h
parent5c267f9404ffbb733c88b759605386aad51e6baf (diff)
now creating a linkable library
Diffstat (limited to 'vowpalwabbit/allreduce.h')
-rw-r--r--vowpalwabbit/allreduce.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/vowpalwabbit/allreduce.h b/vowpalwabbit/allreduce.h
new file mode 100644
index 00000000..d5e5982c
--- /dev/null
+++ b/vowpalwabbit/allreduce.h
@@ -0,0 +1,16 @@
+/*
+Copyright (c) 2011 Yahoo! Inc. All rights reserved. The copyrights
+embodied in the content of this file are licensed under the BSD
+(revised) open source license
+
+This implements the allreduce function of MPI.
+
+ */
+
+#ifndef ALLREDUCE_H
+#define ALLREDUCE_H
+#include <string>
+
+void all_reduce(float* buffer, int n, std::string master_location, size_t unique_id, size_t total, size_t node);
+
+#endif