![]() |
CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
|
#include <tensor_op_multiplicand_sm70.h>
Public Types | |
| using | Index = int32_t |
| Index type used for coordinates. More... | |
| using | LongIndex = int64_t |
| Long index type used for offsets. More... | |
| using | TensorCoord = PitchLinearCoord |
| Logical coordinate. More... | |
| using | Stride = Coord< kStrideRank, Index, LongIndex > |
| Stride vector. More... | |
Public Member Functions | |
| CUTLASS_HOST_DEVICE | VoltaTensorOpMultiplicandCrosswise (Index ldm=0) |
| Ctor. More... | |
| CUTLASS_HOST_DEVICE | VoltaTensorOpMultiplicandCrosswise (Stride stride) |
| Ctor. More... | |
| CUTLASS_HOST_DEVICE LongIndex | operator() (TensorCoord const &coord) const |
| CUTLASS_HOST_DEVICE Stride | stride () const |
| Returns the stride of the layout. More... | |
| CUTLASS_HOST_DEVICE Stride & | stride () |
| Returns the stride of the layout. More... | |
| CUTLASS_HOST_DEVICE LongIndex | capacity (TensorCoord const &extent) const |
Static Public Member Functions | |
| static CUTLASS_HOST_DEVICE VoltaTensorOpMultiplicandCrosswise | packed (TensorCoord const &extent) |
| Helper returns a layout to a tightly packed tensor. More... | |
Static Public Attributes | |
| static int const | kRank = 2 |
| Logical rank of tensor. More... | |
| static int const | kStrideRank = 1 |
| Rank of stride vector. More... | |
| static int const | kAccessSize = 64 |
| This layout is optimized for 64b accesses. More... | |
| static int const | kElementSize = ElementSize |
| static int const | kElementsPerAccess = kAccessSize / kElementSize |
| static int const | kKBlock = KBlock |
Template based on element size (in bits) - defined in terms of pitch-linear memory and KBlock size (in elements).
| using cutlass::layout::VoltaTensorOpMultiplicandCrosswise< ElementSize, KBlock >::Index = int32_t |
| using cutlass::layout::VoltaTensorOpMultiplicandCrosswise< ElementSize, KBlock >::LongIndex = int64_t |
| using cutlass::layout::VoltaTensorOpMultiplicandCrosswise< ElementSize, KBlock >::Stride = Coord<kStrideRank, Index, LongIndex> |
| using cutlass::layout::VoltaTensorOpMultiplicandCrosswise< ElementSize, KBlock >::TensorCoord = PitchLinearCoord |
|
inline |
|
inline |
|
inline |
Compute the number of contiguous elements needed to store a tensor with the given size
|
inline |
Returns the offset of a coordinate in linear memory. Assumes coordinate has convention (contiguous, strided)
|
inlinestatic |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.11