Cutlass CUDA Templates for Linear Algebra Subroutines and Solvers

Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
cutlass::MatrixLayout::RowMajorInterleaved< Interleave > Struct Template Reference

`#include <matrix_traits.h>`

## Public Member Functions
CUTLASS_HOST_DEVICE Coord< kStorageRank > | operator() (MatrixCoord const &coord) const
| Maps (row, col) to (row, col, row) More...

## Static Public Member Functions
static CUTLASS_HOST_DEVICE Coord< kStorageRank > | stride (int ldm)
| Helper to compute stride vector from leading dimension. More...

## Static Public Attributes
static int const | kStorageRank = 3
| Rank of storage n-D array. More...
static int const | kInterleave = Interleave
| Interleaving size. More...

## Detailed Description

### template<int Interleave>
struct cutlass::MatrixLayout::RowMajorInterleaved< Interleave >

Mapping function for interleaved matrices. Matrix is structured as row-major arrangement of fixed-size columns.

## Member Function Documentation

## ◆ operator()()

template<int Interleave>

CUTLASS_HOST_DEVICE Coord<kStorageRank> cutlass::MatrixLayout::RowMajorInterleaved< Interleave >::operator() | ( | MatrixCoord const & | coord | ) | const
| inline

## ◆ stride()

template<int Interleave>

static CUTLASS_HOST_DEVICE Coord<kStorageRank> cutlass::MatrixLayout::RowMajorInterleaved< Interleave >::stride | ( | int | ldm | ) |
| inline static

## Member Data Documentation

## ◆ kInterleave

template<int Interleave>

int const cutlass::MatrixLayout::RowMajorInterleaved< Interleave >::kInterleave = Interleave
| static

## ◆ kStorageRank

template<int Interleave>

int const cutlass::MatrixLayout::RowMajorInterleaved< Interleave >::kStorageRank = 3
| static

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

- matrix_traits.h