(git:ccc2433)
grid_unittest.c File Reference
#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.

Functions

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[])
 

Function Documentation

◆ 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.

Here is the caller graph for this function:

◆ 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.

Here is the caller graph for this function:

◆ 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.

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 73 of file grid_unittest.c.

Here is the call graph for this function: