|
Matrix< const T > | get_const_tiles (idx_t ix, idx_t iy, idx_t nx, idx_t ny) const noexcept |
| Create a const submatrix from a list of tiles.
|
|
constexpr idx_t | get_nx () const noexcept |
| Get number of tiles in x direction.
|
|
constexpr idx_t | get_ny () const noexcept |
| Get number of tiles in y direction.
|
|
Matrix< T > | get_tiles (idx_t ix, idx_t iy, idx_t nx, idx_t ny) noexcept |
| Create a submatrix from a list of tiles.
|
|
Matrix< const T > | map_to_const_tiles (idx_t rowStart, idx_t rowEnd, idx_t colStart, idx_t colEnd) const noexcept |
| Create a const submatrix from starting and ending indices.
|
|
Matrix< T > | map_to_tiles (idx_t rowStart, idx_t rowEnd, idx_t colStart, idx_t colEnd) noexcept |
| Create a submatrix from starting and ending indices.
|
|
constexpr | Matrix (const std::shared_ptr< starpu_data_handle_t > &pHandle, idx_t ix, idx_t iy, idx_t nx, idx_t ny, idx_t row0, idx_t col0, idx_t lastRows, idx_t lastCols) noexcept |
| Create a submatrix from a handle and a grid.
|
|
| Matrix (T *ptr, idx_t m, idx_t n, idx_t ld, idx_t mt, idx_t nt) noexcept |
| Create a matrix of size m-by-n from a pointer in main memory.
|
|
constexpr | Matrix (T *ptr, idx_t m, idx_t n, idx_t mt, idx_t nt) noexcept |
| Create a matrix of size m-by-n from contiguous data in main memory.
|
|
constexpr idx_t | nblockcols () const noexcept |
| Get the maximum number of columns of a tile.
|
|
constexpr idx_t | nblockrows () const noexcept |
| Get the maximum number of rows of a tile.
|
|
constexpr idx_t | ncols () const noexcept override |
| Get the number of columns in the matrix.
|
|
constexpr idx_t | nrows () const noexcept override |
| Get the number of rows in the matrix.
|
|
Matrix & | operator= (const Matrix &)=delete |
|
Tile | tile (idx_t ix, idx_t iy) noexcept |
| Get the data handle of a tile in the matrix or the data handle of the matrix if it is not partitioned.
|
|
template<
class T>
class tlapack::starpu::Matrix< T >
Class for representing a matrix in StarPU that is split into tiles.
This class is a wrapper around a StarPU data handle. The grid is created by the StarPU map filters. In order to be able to extract submatrices, this class stores a virtual partition in addition to the StarPU data handle.
- Template Parameters
-
T | Type of the elements of the matrix |