GCC Code Coverage Report


Directory: ./
File: tasks/guseva_crs/tbb/src/ops_tbb.cpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 12 12 100.0%
Functions: 5 5 100.0%
Branches: 1 2 50.0%

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