Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 27, 2021
1 parent b347be0 commit 1e52c92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions h5bench_patterns/h5bench_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ read_h5_data(time_step *ts, hid_t loc, hid_t *dset_ids, hid_t filespace, hid_t m
hid_t dapl;
unsigned long t1, t2, t3;
dapl = H5Pcreate(H5P_DATASET_ACCESS);
#if H5_VERSION_GE(1,10,0)
#if H5_VERSION_GE(1, 10, 0)
H5Pset_all_coll_metadata_ops(dapl, true);
#endif
#endif

t1 = get_time_usec();
dset_ids[0] = H5Dopen_async(loc, "x", dapl, ts->es_meta_create);
Expand Down Expand Up @@ -343,14 +343,14 @@ set_pl(hid_t *fapl, hid_t *gapl)
{
*fapl = H5Pcreate(H5P_FILE_ACCESS);
H5Pset_fapl_mpio(*fapl, MPI_COMM_WORLD, MPI_INFO_NULL);
#if H5_VERSION_GE(1,10,0)
#if H5_VERSION_GE(1, 10, 0)
H5Pset_all_coll_metadata_ops(*fapl, true);
H5Pset_coll_metadata_write(*fapl, true);
#endif
#endif
*gapl = H5Pcreate(H5P_GROUP_ACCESS);
#if H5_VERSION_GE(1,10,0)
#if H5_VERSION_GE(1, 10, 0)
H5Pset_all_coll_metadata_ops(*gapl, true);
#endif
#endif
}

void
Expand Down
4 changes: 2 additions & 2 deletions h5bench_patterns/h5bench_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,10 +885,10 @@ set_metadata(hid_t fapl, int align, unsigned long threshold, unsigned long align
if (meta_collective == 1) {
if (MY_RANK == 0)
printf("Collective write: enabled.\n");
#if H5_VERSION_GE(1,10,0)
#if H5_VERSION_GE(1, 10, 0)
H5Pset_all_coll_metadata_ops(fapl, 1);
H5Pset_coll_metadata_write(fapl, 1);
#endif
#endif
}
else {
if (MY_RANK == 0)
Expand Down

0 comments on commit 1e52c92

Please sign in to comment.