PandA-2024.02
Data Structures | Macros | Functions
stencil.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include "support.h"
Include dependency graph for stencil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bench_args_t
 

Macros

#define height_size   32
 
#define col_size   32
 
#define row_size   16
 
#define TYPE   int32_t
 
#define MAX   1000
 
#define MIN   1
 
#define SIZE   (row_size * col_size * height_size)
 
#define INDX(_row_size, _col_size, _i, _j, _k)   ((_i)+_row_size*((_j)+_col_size*(_k)))
 

Functions

void stencil3d (TYPE C[2], TYPE orig[SIZE], TYPE sol[SIZE])
 

Macro Definition Documentation

◆ col_size

#define col_size   32

Definition at line 14 of file stencil.h.

◆ height_size

#define height_size   32

Definition at line 13 of file stencil.h.

Referenced by stencil3d().

◆ INDX

#define INDX (   _row_size,
  _col_size,
  _i,
  _j,
  _k 
)    ((_i)+_row_size*((_j)+_col_size*(_k)))

Definition at line 22 of file stencil.h.

Referenced by stencil3d().

◆ MAX

#define MAX   1000

Definition at line 18 of file stencil.h.

◆ MIN

#define MIN   1

Definition at line 19 of file stencil.h.

◆ row_size

#define row_size   16

Definition at line 15 of file stencil.h.

◆ SIZE

#define SIZE   (row_size * col_size * height_size)

Definition at line 21 of file stencil.h.

◆ TYPE

#define TYPE   int32_t

Definition at line 17 of file stencil.h.

Function Documentation

◆ stencil3d()

void stencil3d ( TYPE  C[2],
TYPE  orig[SIZE],
TYPE  sol[SIZE] 
)

Definition at line 10 of file stencil.c.

References col_size, height_size, INDX, k, 01_onnx_build::mul1, row_size, and TYPE.

Referenced by run_benchmark().

Here is the caller graph for this function:

Generated on Mon Feb 12 2024 13:03:11 for PandA-2024.02 by doxygen 1.8.13