GCC Code Coverage Report


Directory: ./
File: tasks/ermakov_a_spar_mat_mult/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 0 0 -%
Branches: 3 6 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <complex>
4 #include <string>
5 #include <tuple>
6 #include <vector>
7
8 #include "task/include/task.hpp"
9
10 namespace ermakov_a_spar_mat_mult {
11
12
1/2
✓ Branch 1 taken 48 times.
✗ Branch 2 not taken.
48 struct MatrixCRS {
13 int rows = 0;
14 int cols = 0;
15 std::vector<std::complex<double>> values;
16 std::vector<int> col_index;
17 std::vector<int> row_ptr;
18 };
19
20
2/4
✓ Branch 3 taken 48 times.
✗ Branch 4 not taken.
✓ Branch 6 taken 48 times.
✗ Branch 7 not taken.
144 struct InData {
21 MatrixCRS A;
22 MatrixCRS B;
23 };
24
25 using OutData = MatrixCRS;
26
27 using InType = InData;
28 using OutType = OutData;
29 using TestType = std::tuple<int, std::string>;
30 using BaseTask = ppc::task::Task<InType, OutType>;
31
32 } // namespace ermakov_a_spar_mat_mult
33