libpressio 0.93.0
|
a helper class and functions for using libdistributed with libpressio More...
#include <mpi.h>
#include <libdistributed/libdistributed_work_queue.h>
#include <libdistributed/libdistributed_work_queue_options.h>
#include <std_compat/optional.h>
#include <utility>
#include <cassert>
#include "configurable.h"
#include "errorable.h"
#include "options.h"
#include "data.h"
#include <pressio_option.h>
#include <pressio_options.h>
Go to the source code of this file.
Classes | |
class | pressio_distributed_manager |
Functions | |
compat::optional< std::vector< size_t > > | distributed_build_groups (const unsigned int size, const unsigned int n_workers_groups, const unsigned int n_masters, const unsigned int root) |
int | distributed_world_size () |
a helper class and functions for using libdistributed with libpressio
compat::optional< std::vector< size_t > > distributed_build_groups | ( | const unsigned int | size, |
const unsigned int | n_workers_groups, | ||
const unsigned int | n_masters, | ||
const unsigned int | root | ||
) |
build an array of workers, tries to be fault tolerant in degenerate cases
int distributed_world_size | ( | ) |