| 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 dolov_v_torus_topology { | ||
| 10 | |||
| 11 | 350 | struct InputData { | |
| 12 | int sender_rank = 0; | ||
| 13 | int receiver_rank = 0; | ||
| 14 | int total_procs = 0; | ||
| 15 | std::vector<int> message; | ||
| 16 | }; | ||
| 17 | |||
| 18 | 70 | struct OutputData { | |
| 19 | std::vector<int> route; | ||
| 20 | std::vector<int> received_message; | ||
| 21 | }; | ||
| 22 | |||
| 23 | using InType = InputData; | ||
| 24 | using OutType = OutputData; | ||
| 25 | using TestType = std::tuple<int, std::string>; | ||
| 26 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 27 | |||
| 28 | } // namespace dolov_v_torus_topology | ||
| 29 |