diff options
author | Brian Muller <brian.muller@livingsocial.com> | 2012-01-03 23:56:51 +0400 |
---|---|---|
committer | Brian Muller <brian.muller@livingsocial.com> | 2012-01-03 23:56:51 +0400 |
commit | 9f457bf70dcab12082ec07cc6018e3f1a75899a2 (patch) | |
tree | a30f2028788bf291a71200ff5644a3c72a842f27 /vowpalwabbit/allreduce.h | |
parent | 5c267f9404ffbb733c88b759605386aad51e6baf (diff) |
now creating a linkable library
Diffstat (limited to 'vowpalwabbit/allreduce.h')
-rw-r--r-- | vowpalwabbit/allreduce.h | 16 |
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 |