| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <cstddef> | ||
| 4 | #include <string> | ||
| 5 | #include <tuple> | ||
| 6 | #include <utility> | ||
| 7 | #include <vector> | ||
| 8 | |||
| 9 | #include "task/include/task.hpp" | ||
| 10 | |||
| 11 | namespace romanov_m_matrix_ccs { | ||
| 12 | |||
| 13 | 6 | struct MatrixCCS { | |
| 14 | size_t rows_num = 0; | ||
| 15 | size_t cols_num = 0; | ||
| 16 | size_t nnz = 0; | ||
| 17 | std::vector<double> vals; | ||
| 18 | std::vector<size_t> row_inds; | ||
| 19 | std::vector<size_t> col_ptrs; | ||
| 20 | }; | ||
| 21 | |||
| 22 | using InType = std::pair<MatrixCCS, MatrixCCS>; | ||
| 23 | using OutType = MatrixCCS; | ||
| 24 | using TestType = std::tuple<int, std::string>; | ||
| 25 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 26 | |||
| 27 | } // namespace romanov_m_matrix_ccs | ||
| 28 |