PandA-2024.02
|
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <polybench.h>
#include "deriche.h"
Go to the source code of this file.
Functions | |
static void | init_array (int w, int h, DATA_TYPE *alpha, DATA_TYPE POLYBENCH_2D(imgIn, W, H, w, h), DATA_TYPE POLYBENCH_2D(imgOut, W, H, w, h)) |
This version is stamped on May 10, 2016. More... | |
static void | print_array (int w, int h, DATA_TYPE POLYBENCH_2D(imgOut, W, H, w, h)) |
__attribute__ ((noinline)) | |
Convert the given fixedpt number to a decimal string. More... | |
int | main (int argc, char **argv) |
__attribute__ | ( | (noinline) | ) |
Convert the given fixedpt number to a decimal string.
The max_dec argument specifies how many decimal digits to the right of the decimal point to generate. If set to -1, the "default" number of decimal digits will be used (2 for 32-bit fixedpt width, 10 for 64-bit fixedpt width); If set to -2, "all" of the digits will be returned, meaning there will be invalid, bogus digits outside the specified precisions.
Definition at line 66 of file deriche.c.
References _PB_H, _PB_W, a1, a2, a3, b1, b2, c1, c2, DATA_TYPE, EXP_FUN, k, POW_FUN, and SCALAR_VAL.
|
static |
This version is stamped on May 10, 2016.
Contact: Louis-Noel Pouchet <pouchet.ohio-state.edu> Tomofumi Yuki <tomofumi.yuki.fr>
Web address: http://polybench.sourceforge.net
Definition at line 26 of file deriche.c.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 158 of file deriche.c.
References DATA_TYPE, H, init_array(), POLYBENCH_2D_ARRAY_DECL, POLYBENCH_ARRAY, POLYBENCH_FREE_ARRAY, polybench_prevent_dce, polybench_print_instruments, polybench_start_instruments, polybench_stop_instruments, print_array(), and W.
|
static |
Definition at line 44 of file deriche.c.
References DATA_PRINTF_MODIFIER, h, POLYBENCH_DUMP_BEGIN, POLYBENCH_DUMP_END, POLYBENCH_DUMP_FINISH, POLYBENCH_DUMP_START, and POLYBENCH_DUMP_TARGET.
Referenced by main().