@@ -79,13 +79,9 @@ struct Mma_HFMA2 <
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
@@ -98,6 +94,11 @@ struct Mma_HFMA2 <
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -170,13 +171,9 @@ struct Mma_HFMA2<
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
@@ -189,6 +186,11 @@ struct Mma_HFMA2<
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -266,13 +268,9 @@ struct Mma_HFMA2 <
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the GEMM M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
@@ -285,6 +283,11 @@ struct Mma_HFMA2 <
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the GEMM M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -357,14 +360,10 @@ struct Mma_HFMA2<
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
/// B operand storage
|
||||
@@ -375,6 +374,12 @@ struct Mma_HFMA2<
|
||||
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -448,14 +453,10 @@ struct Mma_HFMA2 <
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
/// B operand storage
|
||||
@@ -467,6 +468,11 @@ struct Mma_HFMA2 <
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -543,13 +549,9 @@ struct Mma_HFMA2 <
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
@@ -562,6 +564,11 @@ struct Mma_HFMA2 <
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -638,13 +645,9 @@ struct Mma_HFMA2 <
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
@@ -657,6 +660,11 @@ struct Mma_HFMA2 <
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kM % 2),
|
||||
"Mma_HFMA2 requires the M dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -734,14 +742,10 @@ struct Mma_HFMA2<
|
||||
true
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
/// B operand storage
|
||||
@@ -753,6 +757,11 @@ struct Mma_HFMA2<
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kN % 2),
|
||||
"Mma_HFMA2 requires the N dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -825,14 +834,10 @@ struct Mma_HFMA2<
|
||||
false
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kK % 2),
|
||||
"Mma_HFMA2 requires the K dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
/// B operand storage
|
||||
@@ -844,6 +849,11 @@ struct Mma_HFMA2<
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kK % 2),
|
||||
"Mma_HFMA2 requires the K dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
@@ -909,14 +919,10 @@ struct Mma_HFMA2<
|
||||
false
|
||||
> {
|
||||
|
||||
/// Size of the Gemm problem - concept: gemm::GemmShape<>
|
||||
using Shape = Shape_;
|
||||
|
||||
static_assert(
|
||||
!(Shape::kK % 2),
|
||||
"Mma_HFMA2 requires the K dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
/// A operand storage
|
||||
/// A operand storage
|
||||
using FragmentA = Array<half_t, Shape::kMK>;
|
||||
|
||||
/// B operand storage
|
||||
@@ -927,7 +933,12 @@ struct Mma_HFMA2<
|
||||
|
||||
/// Underlying mathematical operator
|
||||
using Operator = arch::OpMultiplyAdd;
|
||||
|
||||
|
||||
static_assert(
|
||||
!(Shape::kK % 2),
|
||||
"Mma_HFMA2 requires the K dimension to be divisible by 2."
|
||||
);
|
||||
|
||||
//
|
||||
// Methods
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user