GCC Code Coverage Report


Directory: ./
File: tasks/sabutay_sparse_complex_ccs_mult_all/common/include/common.hpp
Date: 2026-06-04 20:25:32
Exec Total Coverage
Lines: 2 2 100.0%
Functions: 2 2 100.0%
Branches: 2 4 50.0%

Line Branch Exec Source
1 #pragma once
2
3 #include <complex>
4 #include <tuple>
5 #include <vector>
6
7 #include "task/include/task.hpp"
8
9 namespace sabutay_sparse_complex_ccs_mult_all {
10
11 /// Compressed columns (CCS): for each j in [0, col_count), nonzeros in column j are
12 /// (row_index[t], nz[t]) with t in [col_start[j], col_start[j+1]) and row_index strictly increasing.
13 struct CCS {
14 int row_count{0};
15 int col_count{0};
16 std::vector<int> col_start;
17 std::vector<int> row_index;
18 std::vector<std::complex<double>> nz;
19
20 CCS() = default;
21
2/4
✓ Branch 2 taken 48 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 48 times.
✗ Branch 6 not taken.
48 CCS(const CCS &) = default;
22 240 CCS &operator=(const CCS &) = default;
23 };
24
25 using InType = std::tuple<CCS, CCS>;
26 using OutType = CCS;
27 using TestType = int;
28 using BaseTask = ppc::task::Task<InType, OutType>;
29
30 } // namespace sabutay_sparse_complex_ccs_mult_all
31