Eigenvalue SoLvers for Petaflop-Applications (ELPA)
2020.05.001
|
Go to the documentation of this file.
60 #define nelements(x) (sizeof(x)/sizeof(x[0]))
62 #define FOR_ALL_TYPES(X) \
63 X(int, "%d", "%d", -1) \
64 X(double, "%g", "%lg", NAN)
83 typedef const char* (*elpa_index_to_string_int_t)(
int n);
127 #define STRUCT_MEMBERS(TYPE, ...) \
482 double min_val,
int current,
int cardinality,
char* filename);
500 double* min_val,
int* current,
int* cardinality,
char* filename);
Definition: elpa_index.h:123
int elpa_int_value_to_strlen(char *name, int value)
int elpa_index_print_autotune_parameters(elpa_index_t index, int autotune_level, int autotune_domain)
int autotune_level
Definition: elpa_index.h:100
int elpa_int_value_to_string(char *name, int value, const char **string)
int(* elpa_index_enumerate_int_option_t)(elpa_index_t index, int i)
Definition: elpa_index.h:76
char * description
Definition: elpa_index.h:88
elpa_index_cardinality_t cardinality
Definition: elpa_index.h:103
void elpa_index_free(elpa_index_t index)
int default_value
Definition: elpa_index.h:99
char * name
Definition: elpa_index.h:87
int elpa_index_get_int_value(elpa_index_t index, char *name, int *success)
int(* elpa_index_cardinality_t)(elpa_index_t index)
Definition: elpa_index.h:73
int elpa_index_print_autotune_state(elpa_index_t index, int autotune_level, int autotune_domain, int min_loc, double min_val, int current, int cardinality, char *filename)
Definition: elpa_index.h:109
Definition: elpa_index.h:116
int elpa_index_int_is_valid(elpa_index_t index, char *name, int new_value)
int elpa_index_set_double_value(elpa_index_t index, char *name, double value)
int * elpa_index_get_int_loc(elpa_index_t index, char *name)
int once
Definition: elpa_index.h:91
#define STRUCT_MEMBERS(TYPE,...)
Definition: elpa_index.h:127
double * elpa_index_get_double_loc(elpa_index_t index, char *name)
int elpa_int_string_to_value(char *name, char *string, int *value)
elpa_index_enumerate_int_option_t enumerate
Definition: elpa_index.h:104
struct elpa_index_struct * elpa_index_t
Definition: elpa_index.h:70
int elpa_index_is_printing_mpi_rank(elpa_index_t index)
Definition: elpa_index.h:117
Definition: elpa_index.h:122
Definition: elpa_index.h:126
char * env_force
Definition: elpa_index.h:90
char * env_default
Definition: elpa_index.h:89
double elpa_index_get_double_value(elpa_index_t index, char *name, int *success)
elpa_index_entry_t base
Definition: elpa_index.h:110
int(* elpa_index_valid_int_t)(elpa_index_t index, int n, int new_value)
Definition: elpa_index.h:79
int print_flag
Definition: elpa_index.h:93
Definition: elpa_index.h:86
int elpa_index_int_value_to_strlen(elpa_index_t index, char *name)
int elpa_index_set_autotune_parameters(elpa_index_t index, int autotune_level, int autotune_domain, int n)
int elpa_index_load_autotune_state(elpa_index_t index, int *autotune_level, int *autotune_domain, int *min_loc, double *min_val, int *current, int *cardinality, char *filename)
int elpa_option_cardinality(char *name)
const typedef char *(* elpa_index_to_string_int_t)(int n)
Definition: elpa_index.h:83
int(* elpa_index_valid_double_t)(elpa_index_t index, int n, double new_value)
Definition: elpa_index.h:80
int elpa_option_enumerate(char *name, int i)
elpa_index_to_string_int_t to_string
Definition: elpa_index.h:105
int elpa_index_autotune_cardinality(elpa_index_t index, int autotune_level, int autotune_domain)
int elpa_index_print_settings(elpa_index_t index, char *filename)
int readonly
Definition: elpa_index.h:92
double default_value
Definition: elpa_index.h:111
NOTIFY_FLAGS
Definition: elpa_index.h:115
#define FOR_ALL_TYPES(X)
Definition: elpa_index.h:62
PRINT_FLAGS
Definition: elpa_index.h:120
elpa_index_valid_double_t valid
Definition: elpa_index.h:112
elpa_index_t elpa_index_instance()
int elpa_index_int_value_is_set(elpa_index_t index, char *name)
elpa_index_entry_t base
Definition: elpa_index.h:98
Definition: elpa_index.h:97
int elpa_index_load_settings(elpa_index_t index, char *filename)
int elpa_index_set_int_value(elpa_index_t index, char *name, int value)
Definition: elpa_index.h:121
int elpa_index_value_is_set(elpa_index_t index, char *name)
elpa_index_valid_int_t valid
Definition: elpa_index.h:102
int autotune_domain
Definition: elpa_index.h:101
int elpa_index_double_value_is_set(elpa_index_t index, char *name)