legate::mapping::Store#

class Store#

A metadata class that mirrors the structure of legate::PhysicalStore but contains only the data relevant to mapping.

Public Functions

bool is_future() const#

Indicates whether the store is backed by a future.

Returns:

true The store is backed by a future

Returns:

false The store is backed by a region field

bool unbound() const#

Indicates whether the store is unbound.

Returns:

true The store is unbound

Returns:

false The store is a normal store

std::uint32_t dim() const#

Returns the store’s dimension.

Returns:

Store’s dimension

bool is_reduction() const#

Indicates whether the store is a reduction store.

Returns:

true The store is a reduction store

Returns:

false The store is either an input or output store

GlobalRedopID redop() const#

Returns the reduction operator id for the store.

Returns:

Reduction operator id

bool can_colocate_with(const Store &other) const#

Indicates whether the store can colocate in an instance with a given store.

Parameters:

otherStore against which the colocation is checked

Returns:

true The store can colocate with the input

Returns:

false The store cannot colocate with the input

template<std::int32_t DIM>
Rect<DIM> shape() const#

Returns the store’s domain.

Returns:

Store’s domain

Domain domain() const#

Returns the store’s domain in a dimension-erased domain type.

Returns:

Store’s domain in a dimension-erased domain type