00001 #ifndef FUPERMOD_BCAST_H_
00002 #define FUPERMOD_BCAST_H_
00003
00004 #include <mpi.h>
00005
00006 typedef enum fupermod_bcast_algo {
00007 lin,
00008 binary,
00009 flat,
00010 binomial,
00011 original,
00012 scatter_lr_allgather
00013 } fupermod_bcast_algo;
00014
00015 void fupermod_bcast(void *buffer, int count, MPI_Datatype datatype,
00016 int root, MPI_Comm comm, fupermod_bcast_algo algorithm);
00017
00018 void bcast_scatter_lr_allgather(void * buff, int count, MPI_Datatype data_type,
00019 int root, MPI_Comm comm);
00020
00021 #endif