@@ -30,7 +30,7 @@ bool nesterov_a_test_task_all::TestTaskALL::PreProcessingImpl() {
3030 unsigned int input_size = task_data->inputs_count [0 ];
3131 auto *in_ptr = reinterpret_cast <int *>(task_data->inputs [0 ]);
3232 input_ = std::vector<int >(in_ptr, in_ptr + input_size);
33-
33+
3434 unsigned int output_size = task_data->outputs_count [0 ];
3535 output_ = std::vector<int >(output_size, 0 );
3636
@@ -46,9 +46,7 @@ bool nesterov_a_test_task_all::TestTaskALL::ValidationImpl() {
4646bool nesterov_a_test_task_all::TestTaskALL::RunImpl () {
4747 if (world_.rank () == 0 ) {
4848#pragma omp parallel
49- {
50- MatMul (input_, rc_size_, output_);
51- }
49+ { MatMul (input_, rc_size_, output_); }
5250 } else if (world_.rank () == 1 ) {
5351 const int num_threads = ppc::util::GetPPCNumThreads ();
5452 std::vector<std::thread> threads (num_threads);
@@ -58,9 +56,7 @@ bool nesterov_a_test_task_all::TestTaskALL::RunImpl() {
5856 }
5957 } else if (world_.rank () == 2 ) {
6058 oneapi::tbb::task_arena arena;
61- arena.execute ([&] {
62- MatMul (input_, rc_size_, output_);
63- });
59+ arena.execute ([&] { MatMul (input_, rc_size_, output_); });
6460 } else {
6561 MatMulElse (input_, rc_size_, output_);
6662 }
0 commit comments