Skip to main content

Crate cubek_std

Crate cubek_std 

Source

Modules§

as_cmma_layout
cube_count
from_cmma_layout
launch
Shared utilities for launching kernels.
stage
tile
Tile module.

Structs§

FormattedConfigError
Error that arises from invalid configurations
GlobalPartitionSize
Number of global matmul blocks computed by a single cube.
MatmulProblemSize
MatmulProblemSizeExpand
PartitionSize
PartitionSizeExpand
PlaneFlowCounts
Represents how many planes are used for main computation and for loading-only tasks.
SpecializedCubeDim
Plane-flow configuration carried by CubeDimResource::Specialized. Holds the counts for main-flow vs load-only planes and the partition rule used at runtime.
StageSize
StageSizeExpand
SwizzleModes
TileSize
TileSizeExpand

Enums§

CubeDimResource
Number of compute primitives required by some component, specified as either units, planes, or a specialized plane-flow split.
InputBinding
MatmulDim
Matrix dimension specifier for matmul operations.
MatrixLayout
Layout of a 2D structure such as a tensor, shared memory or slice, used within any matmul kernel level
MatrixLayoutExpand
PlaneFlowPartitionRule
How planes are partitioned by id between the main flow and load-only roles.
StageIdent

Functions§

as_cmma_layout
Maps the matmul MatrixLayout to cmma’s MatrixLayout, for use in Cmma API.
from_cmma_layout
Maps the cmma’s MatrixLayout to matmul MatrixLayout.

Type Aliases§

InvalidConfigError
Error that arises from invalid configurations