ginkgo/core/distributed/partition.hpp Source File#
|
Reference API
|
partition.hpp
Definition polymorphic_object.hpp:743
void move_to(result_type *result) override
Definition polymorphic_object.hpp:751
void convert_to(result_type *result) const override
Definition polymorphic_object.hpp:749
Definition polymorphic_object.hpp:668
Definition array.hpp:166
const value_type * get_const_data() const noexcept
Definition array.hpp:682
Definition partition.hpp:83
comm_index_type get_num_empty_parts() const noexcept
Definition partition.hpp:126
size_type get_num_ranges() const noexcept
Definition partition.hpp:109
const local_index_type * get_part_sizes() const noexcept
Definition partition.hpp:179
const local_index_type * get_range_starting_indices() const noexcept
Definition partition.hpp:168
const segmented_array< size_type > & get_ranges_by_part() const
Definition partition.hpp:199
static std::unique_ptr< Partition > build_from_global_size_uniform(std::shared_ptr< const Executor > exec, comm_index_type num_parts, global_index_type global_size)
bool has_connected_parts() const
const comm_index_type * get_part_ids() const noexcept
Definition partition.hpp:150
local_index_type get_part_size(comm_index_type part) const
size_type get_size() const
Definition partition.hpp:101
comm_index_type get_num_parts() const noexcept
Definition partition.hpp:119
static std::unique_ptr< Partition > build_from_contiguous(std::shared_ptr< const Executor > exec, const array< global_index_type > &ranges, const array< comm_index_type > &part_ids={})
static std::unique_ptr< Partition > build_from_mapping(std::shared_ptr< const Executor > exec, const array< comm_index_type > &mapping, comm_index_type num_parts)
bool has_ordered_parts() const
const global_index_type * get_range_bounds() const noexcept
Definition partition.hpp:138
Generated by