| 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 alekseev_a_mult_matrix_crs { | ||
| 11 | |||
| 12 | 72 | struct CRSMatrix { | |
| 13 | std::vector<double> values; | ||
| 14 | std::vector<std::size_t> col_indices; | ||
| 15 | std::vector<std::size_t> row_ptr; | ||
| 16 | std::size_t rows = 0; | ||
| 17 | std::size_t cols = 0; | ||
| 18 | }; | ||
| 19 | |||
| 20 | using InType = std::tuple<CRSMatrix, CRSMatrix>; | ||
| 21 | using OutType = CRSMatrix; | ||
| 22 | using TestType = std::tuple<std::string, std::vector<std::vector<double>>, std::vector<std::vector<double>>, | ||
| 23 | std::vector<std::vector<double>>>; | ||
| 24 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 25 | |||
| 26 | } // namespace alekseev_a_mult_matrix_crs | ||
| 27 |