Yet Another eXchange Tool 0.11.1
|
implementation of configuration object More...
#include <stdint.h>
#include <mpi.h>
#include "core/ppm_visibility.h"
#include "xt/xt_redist.h"
#include "xt/xt_config.h"
#include "xt/sort_common.h"
#include "xt/xt_xmap_dist_dir_bucket_gen.h"
#include "xt_exchanger.h"
Go to the source code of this file.
Classes | |
struct | Xt_sort_algo_funcptr |
struct | Xt_config_ |
Macros | |
#define | XT_CONFIG_GET_FORCE_NOSORT(config) (((config)->flags & xt_force_nosort) != UINT32_C(0)) |
#define | XT_CONFIG_SET_FORCE_NOSORT(config) do { (config)->flags |= (uint32_t)xt_force_nosort; } while (0) |
#define | XT_CONFIG_UNSET_FORCE_NOSORT(config) do { (config)->flags &= ~(uint32_t)xt_force_nosort; } while (0) |
#define | XT_CONFIG_GET_DIST_DIR_STRIPING(config) (((config)->flags >> xt_force_dist_dir_striping_bit_ofs) & 3U) |
#define | XT_CONFIG_SET_DIST_DIR_STRIPING(config, v) |
#define | XT_CONFIG_BUCKET_DESTROY(config, bucket_gen_state) |
Enumerations | |
enum | xt_config_flags { exch_no_dt_dup = 1 << 0 , xt_mthread_mode_bit_ofs = 1 , xt_mthread_mode_num_bits = 1 , xt_mthread_mode_mask = 1 << xt_mthread_mode_bit_ofs , xt_force_nosort_bit_ofs = xt_mthread_mode_bit_ofs + xt_mthread_mode_num_bits , xt_force_nosort = 1 << xt_force_nosort_bit_ofs , xt_force_dist_dir_striping_bit_ofs = xt_force_nosort_bit_ofs + 1 , xt_force_dist_dir_striping_num_bits = 2 , xt_force_dist_dir_striping_mask = 3 << xt_force_dist_dir_striping_bit_ofs } |
Functions | |
PPM_DSO_INTERNAL void | xt_config_defaults_init (void) |
int | xt_sort_algo_id_by_name (const char *name) |
PPM_DSO_INTERNAL Xt_exchanger_new | xt_config_get_exchange_new_by_comm (Xt_config config, MPI_Comm comm) |
Variables | |
struct Xt_config_ | xt_default_config |
implementation of configuration object
Definition in file xt_config_internal.h.
#define XT_CONFIG_BUCKET_DESTROY | ( | config, | |
bucket_gen_state | |||
) |
Definition at line 146 of file xt_config_internal.h.
#define XT_CONFIG_GET_DIST_DIR_STRIPING | ( | config | ) | (((config)->flags >> xt_force_dist_dir_striping_bit_ofs) & 3U) |
Definition at line 138 of file xt_config_internal.h.
#define XT_CONFIG_GET_FORCE_NOSORT | ( | config | ) | (((config)->flags & xt_force_nosort) != UINT32_C(0)) |
Definition at line 131 of file xt_config_internal.h.
#define XT_CONFIG_SET_DIST_DIR_STRIPING | ( | config, | |
v | |||
) |
Definition at line 140 of file xt_config_internal.h.
#define XT_CONFIG_SET_FORCE_NOSORT | ( | config | ) | do { (config)->flags |= (uint32_t)xt_force_nosort; } while (0) |
Definition at line 133 of file xt_config_internal.h.
#define XT_CONFIG_UNSET_FORCE_NOSORT | ( | config | ) | do { (config)->flags &= ~(uint32_t)xt_force_nosort; } while (0) |
Definition at line 135 of file xt_config_internal.h.
enum xt_config_flags |
Definition at line 62 of file xt_config_internal.h.
PPM_DSO_INTERNAL void xt_config_defaults_init | ( | void | ) |
Definition at line 443 of file xt_config.c.
PPM_DSO_INTERNAL Xt_exchanger_new xt_config_get_exchange_new_by_comm | ( | Xt_config | config, |
MPI_Comm | comm | ||
) |
Get appropriate exchanger constructor.
config | configuration object |
comm | communicator to use the constructor with |
Definition at line 157 of file xt_config.c.
int xt_sort_algo_id_by_name | ( | const char * | name | ) |
Definition at line 214 of file xt_config.c.
|
extern |
Definition at line 203 of file xt_config.c.