GCC Code Coverage Report


Directory: ./
File: tasks/ashihmin_d_mult_matr_crs/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 <string>
4 #include <tuple>
5 #include <utility>
6 #include <vector>
7
8 #include "task/include/task.hpp"
9
10 namespace ashihmin_d_mult_matr_crs {
11
12 72 struct CRSMatrix {
13 int rows{};
14 int cols{};
15 std::vector<double> values;
16 std::vector<int> col_index;
17 std::vector<int> row_ptr;
18 };
19
20 using InType = std::pair<CRSMatrix, CRSMatrix>;
21 using OutType = CRSMatrix;
22
23 using DenseMatrix = std::vector<std::vector<double>>;
24 using TestType = std::tuple<std::string, DenseMatrix, DenseMatrix, DenseMatrix>;
25
26 using BaseTask = ppc::task::Task<InType, OutType>;
27
28 } // namespace ashihmin_d_mult_matr_crs
29