| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "guseva_crs/seq/include/ops_seq.hpp" | ||
| 2 | |||
| 3 | #include "guseva_crs/common/include/common.hpp" | ||
| 4 | #include "guseva_crs/seq/include/multiplier_seq.hpp" | ||
| 5 | |||
| 6 | namespace guseva_crs { | ||
| 7 | |||
| 8 |
1/2✓ Branch 2 taken 48 times.
✗ Branch 3 not taken.
|
48 | GusevaCRSMatMulSeq::GusevaCRSMatMulSeq(const InType &in) { |
| 9 | SetTypeOfTask(GetStaticTypeOfTask()); | ||
| 10 | GetInput() = in; | ||
| 11 | GetOutput(); | ||
| 12 | 48 | } | |
| 13 | |||
| 14 | 48 | bool GusevaCRSMatMulSeq::ValidationImpl() { | |
| 15 | const auto &[a, b] = GetInput(); | ||
| 16 | 48 | return a.ncols == b.nrows; | |
| 17 | } | ||
| 18 | |||
| 19 | 48 | bool GusevaCRSMatMulSeq::PreProcessingImpl() { | |
| 20 | 48 | return true; | |
| 21 | } | ||
| 22 | |||
| 23 | 48 | bool GusevaCRSMatMulSeq::RunImpl() { | |
| 24 | const auto &[a, b] = GetInput(); | ||
| 25 | 48 | auto mult = MultiplierSeq(); | |
| 26 | 48 | GetOutput() = mult.Multiply(a, b); | |
| 27 | 48 | return true; | |
| 28 | } | ||
| 29 | |||
| 30 | 48 | bool GusevaCRSMatMulSeq::PostProcessingImpl() { | |
| 31 | 48 | return true; | |
| 32 | } | ||
| 33 | |||
| 34 | } // namespace guseva_crs | ||
| 35 |