| 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 |