5 #ifndef GKO_PUBLIC_CORE_DISTRIBUTED_PARTITION_HELPERS_HPP_
6 #define GKO_PUBLIC_CORE_DISTRIBUTED_PARTITION_HELPERS_HPP_
9 #include <ginkgo/config.hpp>
15 #include <ginkgo/core/base/mpi.hpp>
16 #include <ginkgo/core/base/range.hpp>
20 namespace experimental {
21 namespace distributed {
23 template <
typename LocalIndexType,
typename GlobalIndexType>
43 template <
typename LocalIndexType,
typename GlobalIndexType>
44 std::unique_ptr<Partition<LocalIndexType, GlobalIndexType>>
46 mpi::communicator comm, span local_range);
61 template <
typename LocalIndexType,
typename GlobalIndexType>
62 std::unique_ptr<Partition<LocalIndexType, GlobalIndexType>>
64 mpi::communicator comm,
size_type local_size);
72 #endif // GINKGO_BUILD_MPI
73 #endif // GKO_PUBLIC_CORE_DISTRIBUTED_PARTITION_HELPERS_HPP_