CUTLASS 3.5.0 (#1411)
This commit is contained in:
@@ -60,6 +60,14 @@ namespace layout {
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// Tag used for 3-D NWC tensors for 1D conv, only used in 3.x API
|
||||
class TensorNWC {};
|
||||
|
||||
/// Tag used for n-D KCSRT tensors for nD conv, only used in 3.x API for wgrad output layouts
|
||||
class TensorKCS {};
|
||||
class TensorKCSR {};
|
||||
class TensorKCSRT {};
|
||||
|
||||
/// Mapping function for 4-D NHWC tensors.
|
||||
class TensorNHWC {
|
||||
public:
|
||||
|
||||
@@ -260,6 +260,8 @@ struct TensorOpMultiplicandCongruous {
|
||||
|
||||
static int const kElementSize = Base::kElementSize;
|
||||
static int const kElementsPerAccess = Base::kElementsPerAccess;
|
||||
static int const kCrosswise = Base::kCrosswise;
|
||||
static int const kFactor = Base::kFactor;
|
||||
using PartitionCount = typename Base::PartitionCount;
|
||||
using AccessCount = typename Base::AccessCount;
|
||||
|
||||
@@ -369,6 +371,8 @@ struct TensorOpMultiplicandCongruous<32, Crosswise> {
|
||||
//
|
||||
static int const kElementSize = 32;
|
||||
static int const kElementsPerAccess = kAccessSize / kElementSize;
|
||||
static int const kCrosswise = Crosswise;
|
||||
static int const kFactor = 1;
|
||||
|
||||
private:
|
||||
//
|
||||
@@ -471,6 +475,8 @@ struct ColumnMajorTensorOpMultiplicandCongruous {
|
||||
|
||||
static int const kElementSize = Base::kElementSize;
|
||||
static int const kElementsPerAccess = Base::kElementsPerAccess;
|
||||
static int const kCrosswise = Base::kCrosswise;
|
||||
static int const kFactor = Base::kFactor;
|
||||
using PartitionCount = typename Base::PartitionCount;
|
||||
using AccessCount = typename Base::AccessCount;
|
||||
|
||||
@@ -576,6 +582,8 @@ struct RowMajorTensorOpMultiplicandCongruous {
|
||||
|
||||
static int const kElementSize = Base::kElementSize;
|
||||
static int const kElementsPerAccess = Base::kElementsPerAccess;
|
||||
static int const kCrosswise = Base::kCrosswise;
|
||||
static int const kFactor = Base::kFactor;
|
||||
using PartitionCount = typename Base::PartitionCount;
|
||||
using AccessCount = typename Base::AccessCount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user