legate::PartitionPlacement#
-
class PartitionPlacement#
Information about how a partition color maps to a specific device.
Public Functions
- InternalSharedPtr<detail::PartitionPlacement> impl
Constructor for PartitionPlacement.
- Parameters:
impl – The implementation of the PartitionPlacement
-
Span<const std::uint64_t> partition_color() const#
Get partition color coordinates (e.g., [0, 1] for a 2D partition)
- Returns:
Partition color coordinates
-
std::uint32_t node_id() const#
Get Node ID where this partition color was executed.
- Returns:
Node ID where this partition color was executed
-
mapping::StoreTarget memory_type() const#
Get memory type used for this partition.
- Returns:
Memory type used for this partition