Skip to content

Commit

Permalink
whitespace cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jun 12, 2019
1 parent bab1c80 commit 9924038
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions tests/cunit/test_perf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ init_logging(int my_rank, int event_num[][NUM_EVENTS])
* @param ioid a pointer that gets the ID of this decomposition.
* @returns 0 for success, error code otherwise.
**/
int create_decomposition_3d(int ntasks, int my_rank, int iosysid, int *ioid)
int
create_decomposition_3d(int ntasks, int my_rank, int iosysid, int *ioid)
{
PIO_Offset elements_per_pe; /* Array elements per processing unit. */
PIO_Offset *compdof; /* The decomposition mapping. */
Expand Down Expand Up @@ -179,9 +180,10 @@ int create_decomposition_3d(int ntasks, int my_rank, int iosysid, int *ioid)
* @param rearranger the rearranger in use.
* @returns 0 for success, error code otherwise.
*/
int test_darray(int iosysid, int ioid, int num_flavors, int *flavor,
int my_rank, int ntasks, int num_io_procs, int provide_fill,
int rearranger)
int
test_darray(int iosysid, int ioid, int num_flavors, int *flavor,
int my_rank, int ntasks, int num_io_procs, int provide_fill,
int rearranger)
{
char filename[PIO_MAX_NAME + 1]; /* Name for the output files. */
int dimids[NDIM]; /* The dimension IDs. */
Expand Down Expand Up @@ -414,9 +416,10 @@ test_decomp_read_write(int iosysid, int ioid, int num_flavors, int *flavor,
* @param test_comm the communicator the test is running on.
* @returns 0 for success, error code otherwise.
*/
int test_all_darray(int iosysid, int num_flavors, int *flavor, int my_rank,
int ntasks, int num_io_procs, int rearranger,
MPI_Comm test_comm)
int
test_all_darray(int iosysid, int num_flavors, int *flavor, int my_rank,
int ntasks, int num_io_procs, int rearranger,
MPI_Comm test_comm)
{
int ioid;
int my_test_size;
Expand Down Expand Up @@ -471,7 +474,8 @@ int test_all_darray(int iosysid, int num_flavors, int *flavor, int my_rank,
}

/* Run tests for darray functions. */
int main(int argc, char **argv)
int
main(int argc, char **argv)
{
int my_rank;
int ntasks;
Expand Down

0 comments on commit 9924038

Please sign in to comment.