Represents a view over the partitioned distributed locality metadata used to specify the data used in the tasks.
More...
|
| partitioned_mix_view (partitioned_mix_view const &other) |
|
template<typename Cont > |
| partitioned_mix_view (Cont *c) |
|
location_type | get_location_element (index_type const &index) const |
| Returns the location associated with the elements indexed with the given index .
|
|
bool | is_valid (void) const |
|
view_container_type * | get_container (void) const |
|
view_container_type & | container (void) |
|
view_container_type & | container (void) const |
|
domain_type const & | domain (void) const |
|
domain_type & | domain (void) |
|
void | set_domain (domain_type const &dom) |
|
map_func_type const & | mapfunc (void) const |
|
size_type | size (void) const |
| Returns the number of elements referenced for the view.
|
|
bool | empty (void) const |
| Returns true if the view does not reference any element.
|
|
size_t | get_num_subviews () const |
| Returns the number of elements referenced by the view. More...
|
|
size_t | get_num_local_subviews () const |
| Returns the number of elements stored locally, referenced for the view.
|
|
value_t | get_subview (cid_type const &i) const |
| Returns the element associated with the position i . More...
|
|
cid_type | get_local_vid (cid_type const &index) const |
| Returns the global index of the given local index .
|
|
|
value_type | get_element (index_t const &index) const |
| Get the element index from the container. More...
|
|
future< value_type > | get_element_split (index_t const &index) const |
| Get the element index from the container. More...
|
|
Functor::result_type | apply_get (index_t const &index, Functor f) |
| Applies the provided function to the value referenced for the given index and returns the result of the operation. More...
|
|
Functor::result_type | apply_get (index_t const &index, Functor f) const |
|
|
reference_t | operator[] (index_t const &index) const |
| The bracket operator is the basic access method.
|
|
reference_t | make_reference (index_t const &index) const |
|
|
- Warning
- Methods in the Sequence Iterator group should only be used inside a work function which is processing a segmented view.
|
iterator | begin (void) |
|
const_iterator | begin (void) const |
|
iterator | end (void) |
|
const_iterator | end (void) const |
|
iterator | make_iterator (index_t i) |
|
index_t | next (index_t const &index) const |
| Computes the next index based on the given index . More...
|
|
index_t | prev (index_t const &index) const |
| Computes the previous index based on the given index . More...
|
|
index_t | advance (index_t const &index, Distance n) const |
| Computes the new index after advance n positions from the given index . More...
|
|
long | distance (index_t const &index1, index_t const &index2) const |
|
bool | less_than (index_t const &index1, index_t const &index2) const |
|
template<typename View, typename Part, typename CC>
class stapl::partitioned_mix_view< View, Part, CC >
Represents a view over the partitioned distributed locality metadata used to specify the data used in the tasks.
- Template Parameters
-
View | Type of the original view used to extract the locality metadata. |
Part | Partition generated during the metadata extraction. |
CC | Container used for this view (default is a coarsen_container). |