Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/cutlass/layout/matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ struct AffineRank2RowMajor {
/// Helper returns a layout to a tightly packed tensor
CUTLASS_HOST_DEVICE
static AffineRank2RowMajor packed(MatrixCoord const &extent) {
return AffineRank2RowMajor(1, extent.row());
return AffineRank2RowMajor(extent.column(), 1);
}

/// Returns the offset of a coordinate in linear memory.
Expand Down