File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ class TestTask : public ppc::core::Task {
1414 public:
1515 explicit TestTask (const std::vector<T>& in) : input_(in) {}
1616
17- bool ValidationImpl () override {
18- return !input_.empty ();
19- }
17+ bool ValidationImpl () override { return !input_.empty (); }
2018
2119 bool PreProcessingImpl () override {
2220 output_ = 0 ;
@@ -30,9 +28,7 @@ class TestTask : public ppc::core::Task {
3028 return true ;
3129 }
3230
33- bool PostProcessingImpl () override {
34- return true ;
35- }
31+ bool PostProcessingImpl () override { return true ; }
3632
3733 T Get () { return output_; }
3834
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ class TestTask : public ppc::core::Task {
1313 public:
1414 explicit TestTask (const std::vector<T>& in) : input_(in) {}
1515
16- bool ValidationImpl () override {
17- return !input_.empty ();
18- }
16+ bool ValidationImpl () override { return !input_.empty (); }
1917
2018 bool PreProcessingImpl () override {
2119 output_ = 0 ;
@@ -29,9 +27,7 @@ class TestTask : public ppc::core::Task {
2927 return true ;
3028 }
3129
32- bool PostProcessingImpl () override {
33- return true ;
34- }
30+ bool PostProcessingImpl () override { return true ; }
3531
3632 T Get () { return output_; }
3733
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ class Task {
2929 virtual bool PostProcessing () final ;
3030
3131 // get state of testing
32- StateOfTesting& GetStateOfTesting () {
33- return state_of_testing_;
34- }
32+ StateOfTesting &GetStateOfTesting () { return state_of_testing_; }
3533
3634 virtual ~Task ();
3735
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ class TestTaskALL : public ppc::core::Task {
1414 bool PreProcessingImpl () override ;
1515 bool RunImpl () override ;
1616 bool PostProcessingImpl () override ;
17- std::vector<int > Get () {
18- return output_;
19- }
17+ std::vector<int > Get () { return output_; }
2018
2119 private:
2220 std::vector<int > input_, output_;
Original file line number Diff line number Diff line change @@ -68,6 +68,4 @@ bool nesterov_a_test_task_all::TestTaskALL::RunImpl() {
6868 return true ;
6969}
7070
71- bool nesterov_a_test_task_all::TestTaskALL::PostProcessingImpl () {
72- return true ;
73- }
71+ bool nesterov_a_test_task_all::TestTaskALL::PostProcessingImpl () { return true ; }
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ class TestTaskMPI : public ppc::core::Task {
1414 bool PreProcessingImpl () override ;
1515 bool RunImpl () override ;
1616 bool PostProcessingImpl () override ;
17- std::vector<int > Get () {
18- return output_;
19- }
17+ std::vector<int > Get () { return output_; }
2018
2119 private:
2220 std::vector<int > input_, output_;
Original file line number Diff line number Diff line change @@ -55,6 +55,4 @@ void nesterov_a_test_task_mpi::TestTaskMPI::MultiplyColumnMajor() {
5555 }
5656}
5757
58- bool nesterov_a_test_task_mpi::TestTaskMPI::PostProcessingImpl () {
59- return true ;
60- }
58+ bool nesterov_a_test_task_mpi::TestTaskMPI::PostProcessingImpl () { return true ; }
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ class TestTaskOpenMP : public ppc::core::Task {
1414 bool PreProcessingImpl () override ;
1515 bool RunImpl () override ;
1616 bool PostProcessingImpl () override ;
17- std::vector<int > Get () {
18- return output_;
19- }
17+ std::vector<int > Get () { return output_; }
2018
2119 private:
2220 std::vector<int > input_, output_;
Original file line number Diff line number Diff line change @@ -34,6 +34,4 @@ bool nesterov_a_test_task_omp::TestTaskOpenMP::RunImpl() {
3434 return true ;
3535}
3636
37- bool nesterov_a_test_task_omp::TestTaskOpenMP::PostProcessingImpl () {
38- return true ;
39- }
37+ bool nesterov_a_test_task_omp::TestTaskOpenMP::PostProcessingImpl () { return true ; }
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ class TestTaskSequential : public ppc::core::Task {
1414 bool PreProcessingImpl () override ;
1515 bool RunImpl () override ;
1616 bool PostProcessingImpl () override ;
17- std::vector<int > Get () {
18- return output_;
19- }
17+ std::vector<int > Get () { return output_; }
2018
2119 private:
2220 std::vector<int > input_, output_;
You can’t perform that action at this time.
0 commit comments