Cutlass
CUDA Templates for Linear Algebra Subroutines and Solvers
Classes
Layout Concept

Classes

struct  cutlass::Shape< kD_, kH_, kW_, kC_ >
 A Shape implementing Layout Concept describing the dimensions of a cube. More...
 

Detailed Description

Implementations of layout_concept are used to describe a cube with DxHxW elements and C
scalars per element. A HxW slice of a cube is called an image and a cube consists of D images.
Notations
Let Layout be an implementation of the Layout Concept.
Valid Expressions
  • Layout::D specifies the depth of a cube
  • Layout::H specifies the height of a cube
  • Layout::W specifies the height of a cube
  • Layout::C specifies the number of channels of each element in a cube
  • Layout::W_c specifies the number of scalars of each row in one image of a cube.
  • Layout::H_w specifies the number of elements in an image slice.
  • Layout::H_w_c_specifies the number of scalars in an image slice.
  • Layout::D_h_w specifies the number of elements in a cube.
  • Layout::D_h_w_c specifies the number of scalars in a cube.
  • Layout::Strides is a Layout Concept specifying the strides.