GCC Code Coverage Report


Directory: ./
File: tasks/baranov_a_custom_allreduce/seq/src/ops_seq.cpp
Date: 2026-01-27 01:59:34
Exec Total Coverage
Lines: 0 11 0.0%
Functions: 0 5 0.0%
Branches: 0 6 0.0%

Line Branch Exec Source
1 #include "baranov_a_custom_allreduce/seq/include/ops_seq.hpp"
2
3 #include <cmath>
4 #include <exception>
5 #include <variant>
6
7 #include "baranov_a_custom_allreduce/common/include/common.hpp"
8
9 namespace baranov_a_custom_allreduce {
10
11 BaranovACustomAllreduceSEQ::BaranovACustomAllreduceSEQ(const InType &in) {
12 SetTypeOfTask(GetStaticTypeOfTask());
13 GetInput() = in;
14 GetOutput() = in;
15 }
16
17 bool BaranovACustomAllreduceSEQ::ValidationImpl() {
18 try {
19 return true;
20 } catch (...) {
21 return false;
22 }
23 }
24
25 bool BaranovACustomAllreduceSEQ::PreProcessingImpl() {
26 return true;
27 }
28
29 bool BaranovACustomAllreduceSEQ::RunImpl() {
30 try {
31 GetOutput() = GetInput();
32 return true;
33 } catch (const std::exception &) {
34 return false;
35 }
36 }
37
38 bool BaranovACustomAllreduceSEQ::PostProcessingImpl() {
39 return true;
40 }
41 } // namespace baranov_a_custom_allreduce
42