#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../offload/offload_library.h"
#include "common/grid_library.h"
#include "grid_replay.h"
Go to the source code of this file.
|
static void | mpi_sum_func (long *number, int mpi_comm) |
| Standin for mpi_sum, passed to grid_library_print_stats. More...
|
|
static void | print_func (char *message, int output_unit) |
| Wrapper for printf, passed to grid_library_print_stats. More...
|
|
static int | run_test (const char cp2k_root_dir[], const char task_file[]) |
| Unit test for the grid code. More...
|
|
int | main (int argc, char *argv[]) |
|
◆ mpi_sum_func()
static void mpi_sum_func |
( |
long * |
number, |
|
|
int |
mpi_comm |
|
) |
| |
|
static |
Standin for mpi_sum, passed to grid_library_print_stats.
- Author
- Ole Schuett
Definition at line 25 of file grid_unittest.c.
◆ print_func()
static void print_func |
( |
char * |
message, |
|
|
int |
output_unit |
|
) |
| |
|
static |
Wrapper for printf, passed to grid_library_print_stats.
- Author
- Ole Schuett
Definition at line 34 of file grid_unittest.c.
◆ run_test()
static int run_test |
( |
const char |
cp2k_root_dir[], |
|
|
const char |
task_file[] |
|
) |
| |
|
static |
Unit test for the grid code.
- Author
- Ole Schuett
Definition at line 43 of file grid_unittest.c.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |