(git:f2a7cfd)
Loading...
Searching...
No Matches
grid_unittest.c File Reference
#include "../mpiwrap/cp_mpi.h"
#include "../offload/offload_library.h"
#include "../offload/offload_mempool.h"
#include "common/grid_library.h"
#include "grid_replay.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

static void print_func (const char *msg, int msglen, int output_unit)
 Wrapper for printf, passed to grid_library_print_stats.
static int run_test (const char cp2k_root_dir[], const char task_file[])
 Unit test for the grid code.
int main (int argc, char *argv[])

Function Documentation

◆ print_func()

void print_func ( const char * msg,
int msglen,
int output_unit )
static

Wrapper for printf, passed to grid_library_print_stats.

Author
Ole Schuett

Definition at line 21 of file grid_unittest.c.

◆ run_test()

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 32 of file grid_unittest.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

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

Definition at line 62 of file grid_unittest.c.

Here is the call graph for this function: