Loading...
Searching...
No Matches
gpr::linalg::DistributedShape Struct Reference

#include <gpr/linalg/BackendInterface.h>

Public Member Functions

constexpr int ranks () const noexcept

Public Attributes

int tile = 0
int grid_rows = 1
int grid_cols = 1

Detailed Description

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.

Definition at line 156 of file BackendInterface.h.

Member Function Documentation

◆ ranks()

int gpr::linalg::DistributedShape::ranks ( ) const
inlinenodiscardconstexprnoexcept

Definition at line 161 of file BackendInterface.h.

Member Data Documentation

◆ grid_cols

int gpr::linalg::DistributedShape::grid_cols = 1

Definition at line 159 of file BackendInterface.h.

◆ grid_rows

int gpr::linalg::DistributedShape::grid_rows = 1

Definition at line 158 of file BackendInterface.h.

◆ tile

int gpr::linalg::DistributedShape::tile = 0

Definition at line 157 of file BackendInterface.h.


The documentation for this struct was generated from the following file: