PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | EPSILON ((TYPE)1.0e-6) |
Functions | |
void | run_benchmark (void *vargs) |
void | input_to_data (int fd, void *vdata) |
void | data_to_input (int fd, void *vdata) |
void | output_to_data (int fd, void *vdata) |
void | data_to_output (int fd, void *vdata) |
int | check_data (void *vdata, void *vref) |
Variables | |
int | INPUT_SIZE = sizeof(struct bench_args_t) |
#define EPSILON ((TYPE)1.0e-6) |
Definition at line 6 of file local_support.c.
Referenced by check_data().
int check_data | ( | void * | vdata, |
void * | vref | ||
) |
Definition at line 106 of file local_support.c.
References EPSILON, bench_args_t::force_x, bench_args_t::force_y, bench_args_t::force_z, nAtoms, and TYPE.
void data_to_input | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 48 of file local_support.c.
References maxNeighbors, nAtoms, bench_args_t::NL, bench_args_t::position_x, bench_args_t::position_y, bench_args_t::position_z, STAC, TYPE, write_int32_t_array(), and write_section_header().
void data_to_output | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 93 of file local_support.c.
References bench_args_t::force_x, bench_args_t::force_y, bench_args_t::force_z, nAtoms, STAC, TYPE, and write_section_header().
void input_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 26 of file local_support.c.
References find_section_start(), maxNeighbors, nAtoms, bench_args_t::NL, parse_int32_t_array(), bench_args_t::position_x, bench_args_t::position_y, bench_args_t::position_z, readfile(), STAC, and TYPE.
void output_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 74 of file local_support.c.
References find_section_start(), bench_args_t::force_x, bench_args_t::force_y, bench_args_t::force_z, nAtoms, readfile(), STAC, and TYPE.
void run_benchmark | ( | void * | vargs | ) |
Definition at line 8 of file local_support.c.
References test_panda::args, bench_args_t::force_x, bench_args_t::force_y, bench_args_t::force_z, md_kernel(), bench_args_t::NL, bench_args_t::position_x, bench_args_t::position_y, and bench_args_t::position_z.
int INPUT_SIZE = sizeof(struct bench_args_t) |
Definition at line 4 of file local_support.c.