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::ColumnMajorInterleaved< Interleave > Struct Template Reference

#include <matrix_traits.h>

Public Member Functions

CUTLASS_HOST_DEVICE Coord< kStorageRankoperator() (MatrixCoord const &coord) const
 Maps (row, col) to (col, row, col) More...
 

Static Public Member Functions

static CUTLASS_HOST_DEVICE Coord< kStorageRankstride (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::ColumnMajorInterleaved< Interleave >

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

Member Function Documentation

◆ operator()()

template<int Interleave>
CUTLASS_HOST_DEVICE Coord<kStorageRank> cutlass::MatrixLayout::ColumnMajorInterleaved< Interleave >::operator() ( MatrixCoord const &  coord) const
inline

◆ stride()

template<int Interleave>
static CUTLASS_HOST_DEVICE Coord<kStorageRank> cutlass::MatrixLayout::ColumnMajorInterleaved< Interleave >::stride ( int  ldm)
inlinestatic

Member Data Documentation

◆ kInterleave

template<int Interleave>
int const cutlass::MatrixLayout::ColumnMajorInterleaved< Interleave >::kInterleave = Interleave
static

◆ kStorageRank

template<int Interleave>
int const cutlass::MatrixLayout::ColumnMajorInterleaved< Interleave >::kStorageRank = 3
static

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