@@ -57,8 +57,7 @@ const int num_neighbors = 26;
5757// Functions for checking and printing results
5858//
5959void checkResult (std::vector<double *> const & vars,
60- std::vector<double *> const & vars_ref,
61- int var_size,
60+ std::vector<double *> const & vars_ref, int var_size,
6261 int num_vars);
6362void printResult (std::vector<double *> const & vars, int var_size, int num_vars);
6463
@@ -67,12 +66,10 @@ void printResult(std::vector<double*> const& vars, int var_size, int num_vars);
6766//
6867void create_pack_lists (std::vector<int *>& pack_index_lists,
6968 std::vector<int >& pack_index_list_lengths,
70- const int halo_width,
71- const int * grid_dims);
69+ const int halo_width, const int * grid_dims);
7270void create_unpack_lists (std::vector<int *>& unpack_index_lists,
7371 std::vector<int >& unpack_index_list_lengths,
74- const int halo_width,
75- const int * grid_dims);
72+ const int halo_width, const int * grid_dims);
7673void destroy_pack_lists (std::vector<int *>& pack_index_lists);
7774void destroy_unpack_lists (std::vector<int *>& unpack_index_lists);
7875
@@ -1758,8 +1755,7 @@ int main(int argc, char** argv)
17581755// Function to compare result to reference and report P/F.
17591756//
17601757void checkResult (std::vector<double *> const & vars,
1761- std::vector<double *> const & vars_ref,
1762- int var_size,
1758+ std::vector<double *> const & vars_ref, int var_size,
17631759 int num_vars)
17641760{
17651761 bool correct = true ;
@@ -1809,8 +1805,7 @@ struct Extent {
18091805//
18101806void create_pack_lists (std::vector<int *>& pack_index_lists,
18111807 std::vector<int >& pack_index_list_lengths,
1812- const int halo_width,
1813- const int * grid_dims)
1808+ const int halo_width, const int * grid_dims)
18141809{
18151810 std::vector<Extent> pack_index_list_extents (num_neighbors);
18161811
@@ -2026,8 +2021,7 @@ void destroy_pack_lists(std::vector<int*>& pack_index_lists)
20262021//
20272022void create_unpack_lists (std::vector<int *>& unpack_index_lists,
20282023 std::vector<int >& unpack_index_list_lengths,
2029- const int halo_width,
2030- const int * grid_dims)
2024+ const int halo_width, const int * grid_dims)
20312025{
20322026 std::vector<Extent> unpack_index_list_extents (num_neighbors);
20332027
0 commit comments