From b917713ffcb207d9799c6d6863cf805ee54ccfea Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 13 Jan 2023 22:56:39 +0000 Subject: [PATCH] Committing clang-format changes --- src/h5_async_vol.c | 64 +++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/h5_async_vol.c b/src/h5_async_vol.c index 03dbbba..7a7ae52 100644 --- a/src/h5_async_vol.c +++ b/src/h5_async_vol.c @@ -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; @@ -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"); @@ -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 @@ -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; }