PandA-2024.02
stencil.h
Go to the documentation of this file.
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include "support.h"
4 
5 //Define input sizes
6 #define col_size 64
7 #define row_size 128
8 #define f_size 9
9 
10 //Data Bounds
11 #define TYPE int32_t
12 #define MAX 1000
13 #define MIN 1
14 
15 //Set number of iterations to execute
16 #define MAX_ITERATION 1
17 
18 void stencil( TYPE orig[row_size * col_size],
19  TYPE sol[row_size * col_size],
20  TYPE filter[f_size] );
21 
23 // Test harness interface code.
24 
25 struct bench_args_t {
29 };
void filter(int y, int input[][DIMENSION_X], int *output)
a 3x3 box filter. Filter an entire row of the matrix in one call.
Definition: boxfilter.c:26
TYPE filter[f_size]
Definition: stencil.h:28
#define row_size
Definition: stencil.h:7
#define TYPE
Definition: stencil.h:11
#define col_size
Definition: stencil.h:6
void stencil(TYPE orig[row_size *col_size], TYPE sol[row_size *col_size], TYPE filter[f_size])
Definition: stencil.c:3
TYPE sol[row_size *col_size]
Definition: stencil.h:27
#define f_size
Definition: stencil.h:8
TYPE orig[row_size *col_size]
Definition: stencil.h:26

Generated on Mon Feb 12 2024 13:02:50 for PandA-2024.02 by doxygen 1.8.13