PandA-2024.02
Functions
gemver.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <polybench.h>
#include "gemver.h"
Include dependency graph for gemver.c:

Go to the source code of this file.

Functions

static void init_array (int n, DATA_TYPE *alpha, DATA_TYPE *beta, DATA_TYPE POLYBENCH_2D(A, N, N, n, n), DATA_TYPE POLYBENCH_1D(u1, N, n), DATA_TYPE POLYBENCH_1D(v1, N, n), DATA_TYPE POLYBENCH_1D(u2, N, n), DATA_TYPE POLYBENCH_1D(v2, N, n), DATA_TYPE POLYBENCH_1D(w, N, n), DATA_TYPE POLYBENCH_1D(x, N, n), DATA_TYPE POLYBENCH_1D(y, N, n), DATA_TYPE POLYBENCH_1D(z, N, n))
 This version is stamped on May 10, 2016. More...
 
static void print_array (int n, DATA_TYPE POLYBENCH_1D(w, N, n))
 
 __attribute__ ((noinline))
 Convert the given fixedpt number to a decimal string. More...
 
int main (int argc, char **argv)
 

Function Documentation

◆ __attribute__()

__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 83 of file gemver.c.

References _PB_N, A, and x.

◆ init_array()

static void init_array ( int  n,
DATA_TYPE alpha,
DATA_TYPE beta,
DATA_TYPE   POLYBENCH_2DA, N, N, n, n,
DATA_TYPE   POLYBENCH_1Du1, N, n,
DATA_TYPE   POLYBENCH_1Dv1, N, n,
DATA_TYPE   POLYBENCH_1Du2, N, n,
DATA_TYPE   POLYBENCH_1Dv2, N, n,
DATA_TYPE   POLYBENCH_1Dw, N, n,
DATA_TYPE   POLYBENCH_1Dx, N, n,
DATA_TYPE   POLYBENCH_1Dy, N, n,
DATA_TYPE   POLYBENCH_1Dz, N, n 
)
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 gemver.c.

References A, DATA_TYPE, and x.

Referenced by main().

Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

◆ print_array()

static void print_array ( int  n,
DATA_TYPE   POLYBENCH_1Dw, N, n 
)
static

Definition at line 65 of file gemver.c.

References DATA_PRINTF_MODIFIER, POLYBENCH_DUMP_BEGIN, POLYBENCH_DUMP_END, POLYBENCH_DUMP_FINISH, POLYBENCH_DUMP_START, and POLYBENCH_DUMP_TARGET.

Referenced by main().

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