GCC Code Coverage Report


Directory: ./
File: tasks/goriacheva_k_mult_sparse_complex_matrix_ccs/common/include/common.hpp
Date: 2026-04-02 17:12:27
Exec Total Coverage
Lines: 1 1 100.0%
Functions: 0 0 -%
Branches: 0 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 goriacheva_k_mult_sparse_complex_matrix_ccs {
11
12 using Complex = std::complex<double>;
13
14 168 struct SparseMatrixCCS {
15 int rows{};
16 int cols{};
17
18 std::vector<Complex> values;
19 std::vector<int> row_ind;
20 std::vector<int> col_ptr;
21 };
22
23 using InType = std::tuple<SparseMatrixCCS, SparseMatrixCCS>;
24 using OutType = SparseMatrixCCS;
25 using TestType = std::tuple<int, std::string>;
26
27 using BaseTask = ppc::task::Task<InType, OutType>;
28
29 } // namespace goriacheva_k_mult_sparse_complex_matrix_ccs
30