(git:bb35279)
Loading...
Searching...
No Matches
grid_unittest.c File Reference
#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()

static 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 25 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 36 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 66 of file grid_unittest.c.

Here is the call graph for this function: