legate::mapping::Array#

class Array#

Public Functions

bool nullable() const#

Indicates if the array is nullable.

Returns:

true If the array is nullable

Returns:

false Otherwise

std::int32_t dim() const#

Returns the dimension of the array.

Returns:

Array’s dimension

Type type() const#

Returns the array’s type.

Returns:

Type

Store data() const#

Returns metadata of the store containing the array’s data.

Returns:

Store metadata

Store null_mask() const#

Returns metadata of the store containing the array’s null mask.

Throws:

std::invalid_argument – If the array is not nullable

Returns:

Store metadata

std::vector<Store> stores() const#

Returns metadata of all stores associated with this array.

Returns:

Vector of store metadata

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

Returns the array’s domain.

Returns:

Array’s domain

Domain domain() const#

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

Returns:

Array’s domain in a dimension-erased domain type