struct gpr::linalg::DistributedShape¶
Block-cyclic shape of a distributed operand. Both the tile width and the grid follow from the order and the rank count; see the page on the SLATE backend for the measured choice.
#include <gpr/linalg/BackendInterface.h>
struct DistributedShape {
// fields
int tile = 0;
int grid_rows = 1;
int grid_cols = 1;
// methods
int ranks() const;
};