GCC Code Coverage Report


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

Line Branch Exec Source
1 #pragma once
2
3 #include <cstddef>
4 #include <string>
5 #include <tuple>
6 #include <vector>
7
8 #include "task/include/task.hpp"
9
10 namespace korolev_k_matrix_mult {
11
12
2/4
✓ Branch 1 taken 36 times.
✗ Branch 2 not taken.
✓ Branch 4 taken 36 times.
✗ Branch 5 not taken.
36 struct MatrixInput {
13 size_t n{};
14 std::vector<double> A; // row-major, n*n
15 std::vector<double> B;
16 };
17
18 using InType = MatrixInput;
19 using OutType = std::vector<double>; // C = A*B, row-major, n*n
20 using TestType = std::tuple<size_t, std::string>;
21 using BaseTask = ppc::task::Task<InType, OutType>;
22
23 } // namespace korolev_k_matrix_mult
24