Skip to content

Commit

Permalink
Slightly fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed May 17, 2024
1 parent 3b4aaef commit 3c82490
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,15 @@ hpx::future<return_type> aggregation_region(const size_t team_size,
hpx::call_once(pool_init,
detail::init_area_aggregation_pool<aggregation_pool_t>, team_size);
auto executor_slice_fut = aggregation_pool_t::request_executor_slice();
auto ret_fut = executor_slice_fut.value().then(hpx::annotated_function([aggregation_area](auto && fut) {
typename cppuddle::kernel_aggregation::detail::aggregated_executor<executor_t>::Executor_Slice agg_exec = fut.get();
const size_t slice_id = agg_exec.id;
const size_t number_slices = agg_exec.number_slices;
return aggregation_area(slice_id, number_slices, agg_exec);
}, region_name));
auto ret_fut = executor_slice_fut.value().then(hpx::annotated_function(
[aggregation_area](auto &&fut) {
typename cppuddle::kernel_aggregation::detail::aggregated_executor<
executor_t>::Executor_Slice agg_exec = fut.get();
const size_t slice_id = agg_exec.id;
const size_t number_slices = agg_exec.number_slices;
return aggregation_area(slice_id, number_slices, agg_exec);
},
region_name));
return ret_fut;
}

Expand Down

0 comments on commit 3c82490

Please sign in to comment.