| 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 kulik_a_mat_mul_double_ccs { | ||
| 11 | |||
| 12 | struct CCS { | ||
| 13 | size_t n = 0; // кол-во строк | ||
| 14 | size_t m = 0; // кол-во столбцов | ||
| 15 | size_t nz = 0; // кол-во ненулевых элементов | ||
| 16 | std::vector<size_t> col_ind; | ||
| 17 | std::vector<size_t> row; | ||
| 18 | std::vector<double> value; | ||
| 19 | |||
| 20 | CCS() = default; | ||
| 21 |
2/4✓ Branch 2 taken 48 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 48 times.
✗ Branch 6 not taken.
|
48 | CCS(const CCS &) = default; |
| 22 | 48 | CCS &operator=(const CCS &) = default; | |
| 23 | }; | ||
| 24 | |||
| 25 | using InType = std::tuple<CCS, CCS>; | ||
| 26 | using OutType = CCS; | ||
| 27 | using TestType = std::tuple<std::string, std::string>; | ||
| 28 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 29 | |||
| 30 | } // namespace kulik_a_mat_mul_double_ccs | ||
| 31 |