| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <complex> | ||
| 4 | #include <tuple> | ||
| 5 | #include <vector> | ||
| 6 | |||
| 7 | #include "task/include/task.hpp" | ||
| 8 | |||
| 9 | namespace zagryadskov_m_complex_spmm_ccs { | ||
| 10 | |||
| 11 | struct CCS { | ||
| 12 | int m = 0; | ||
| 13 | int n = 0; | ||
| 14 | std::vector<int> col_ptr; | ||
| 15 | std::vector<int> row_ind; | ||
| 16 | std::vector<std::complex<double>> values; | ||
| 17 | |||
| 18 | CCS() = default; | ||
| 19 |
2/4✓ Branch 2 taken 96 times.
✗ Branch 3 not taken.
✓ Branch 5 taken 96 times.
✗ Branch 6 not taken.
|
96 | CCS(const CCS &) = default; |
| 20 | 144 | CCS &operator=(const CCS &) = default; | |
| 21 | }; | ||
| 22 | |||
| 23 | using InType = std::tuple<CCS, CCS>; | ||
| 24 | using OutType = CCS; | ||
| 25 | using TestType = int; | ||
| 26 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 27 | |||
| 28 | } // namespace zagryadskov_m_complex_spmm_ccs | ||
| 29 |