| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <string> | ||
| 4 | #include <tuple> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | #include "task/include/task.hpp" | ||
| 8 | |||
| 9 | namespace yakimov_i_multiplication_of_sparse_matrices_crs_storage_format { | ||
| 10 | |||
| 11 | using InType = int; | ||
| 12 | using OutType = double; | ||
| 13 | using TestType = std::tuple<int, std::string>; | ||
| 14 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 15 | |||
| 16 | struct MatrixCRS { | ||
| 17 | std::vector<double> values; | ||
| 18 | std::vector<int> col_indices; | ||
| 19 | std::vector<int> row_pointers; | ||
| 20 | int rows = 0; | ||
| 21 | int cols = 0; | ||
| 22 | |||
| 23 | 114 | MatrixCRS() = default; | |
| 24 | }; | ||
| 25 | |||
| 26 | } // namespace yakimov_i_multiplication_of_sparse_matrices_crs_storage_format | ||
| 27 |