CUTLASS 2.6 (#298)

CUTLASS 2.6
This commit is contained in:
Manish Gupta
2021-07-23 00:40:53 -04:00
committed by GitHub
parent 6c29fe20ba
commit e5d51840e8
308 changed files with 32408 additions and 4722 deletions
+7
View File
@@ -46,6 +46,9 @@ public:
/// Base type is a Coord of rank=2
using Base = Coord<2, Index>;
/// LongIndex type
using LongIndex = typename Base::LongIndex;
private:
/// Rows dimension
@@ -72,6 +75,10 @@ public:
CUTLASS_HOST_DEVICE
MatrixCoord(Index row, Index column): Base(make_Coord(row, column)) { }
/// Helper to construct from a row and column, which are LongIndex based
CUTLASS_HOST_DEVICE
MatrixCoord(LongIndex row, LongIndex column): Base(make_Coord(Index(row), Index(column))) { }
/// Returns the row of the coordinate
CUTLASS_HOST_DEVICE
Index const & row() const { return this->at(kRow); }