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 Jan 13, 2023
1 parent 42c2cc9 commit b917713
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions src/h5_async_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,20 +200,20 @@ typedef struct async_instance_t {
int nfopen;
int mpi_size;
int mpi_rank;
bool ex_delay; /* Delay background thread execution */
bool ex_fclose; /* Delay background thread execution until file close */
bool ex_gclose; /* Delay background thread execution until group close */
bool ex_dclose; /* Delay background thread execution until dset close */
bool start_abt_push; /* Start pushing tasks to Argobots pool */
bool prev_push_state; /* Previous state of start_abt_push before a change*/
bool pause; /* Pause background thread execution */
bool disable_implicit_file; /* Disable implicit async execution globally */
bool disable_implicit; /* Disable implicit async execution for dxpl */
bool disable_implicit_nondrw; /* Disable non-dataset read/write implicit async execution globally */
bool delay_time_env; /* Flag that indicates the delay time is set by env variable */
bool disable_async_dset_get; /* Disable async execution for dataset get */
uint64_t delay_time; /* Sleep time before background thread trying to acquire global mutex */
int sleep_time; /* Sleep time between checking the global mutex attemp count */
bool ex_delay; /* Delay background thread execution */
bool ex_fclose; /* Delay background thread execution until file close */
bool ex_gclose; /* Delay background thread execution until group close */
bool ex_dclose; /* Delay background thread execution until dset close */
bool start_abt_push; /* Start pushing tasks to Argobots pool */
bool prev_push_state; /* Previous state of start_abt_push before a change*/
bool pause; /* Pause background thread execution */
bool disable_implicit_file; /* Disable implicit async execution globally */
bool disable_implicit; /* Disable implicit async execution for dxpl */
bool disable_implicit_nondrw; /* Disable non-dataset read/write implicit async execution globally */
bool delay_time_env; /* Flag that indicates the delay time is set by env variable */
bool disable_async_dset_get; /* Disable async execution for dataset get */
uint64_t delay_time; /* Sleep time before background thread trying to acquire global mutex */
int sleep_time; /* Sleep time between checking the global mutex attemp count */
#ifdef ENABLE_WRITE_MEMCPY
hsize_t max_mem;
hsize_t used_mem;
Expand Down Expand Up @@ -1322,22 +1322,22 @@ async_instance_init(int backing_thread_count)
} // end for
} // end else

aid->pool = pool;
aid->xstreams = progress_xstreams;
aid->num_xstreams = backing_thread_count;
aid->progress_scheds = progress_scheds;
aid->nfopen = 0;
aid->ex_delay = false;
aid->ex_fclose = false;
aid->ex_gclose = false;
aid->ex_dclose = false;
aid->pause = false;
aid->start_abt_push = false;
aid->disable_implicit = false;
aid->disable_implicit_file = false;
aid->delay_time_env = false;
aid->disable_async_dset_get = true;
aid->disable_implicit_nondrw = false;
aid->pool = pool;
aid->xstreams = progress_xstreams;
aid->num_xstreams = backing_thread_count;
aid->progress_scheds = progress_scheds;
aid->nfopen = 0;
aid->ex_delay = false;
aid->ex_fclose = false;
aid->ex_gclose = false;
aid->ex_dclose = false;
aid->pause = false;
aid->start_abt_push = false;
aid->disable_implicit = false;
aid->disable_implicit_file = false;
aid->delay_time_env = false;
aid->disable_async_dset_get = true;
aid->disable_implicit_nondrw = false;

// Check for delaying operations to file / group / dataset close operations
env_var = getenv("HDF5_ASYNC_EXE_FCLOSE");
Expand Down Expand Up @@ -1366,7 +1366,7 @@ async_instance_init(int backing_thread_count)

env_var = getenv("HDF5_ASYNC_DISABLE_IMPLICIT_NON_DSET_RW");
if (env_var && *env_var && atoi(env_var) > 0)
aid->disable_implicit_nondrw = true;
aid->disable_implicit_nondrw = true;

#ifdef ENABLE_WRITE_MEMCPY
// Get max memory allowed for async memcpy
Expand Down Expand Up @@ -21819,7 +21819,7 @@ H5VL_async_is_implicit_disabled(int op_type, const char *func_name)
ret_value = 1;
}
// Need file ops to be implicit to init requried internal data structures
if (op_type != FILE_OP && op_type != DSET_RW_OP && async_instance_g->disable_implicit_nondrw ) {
if (op_type != FILE_OP && op_type != DSET_RW_OP && async_instance_g->disable_implicit_nondrw) {
func_log(func_name, "implicit async disabled with disable_implicit_nondrw ");
ret_value = 1;
}
Expand Down

0 comments on commit b917713

Please sign in to comment.