33 for (i = 0; i < n; i++)
37 for (j = 0; j <= i; j++)
54 for (i = 0; i < n; i++) {
66 void kernel_trisolv(
int n,
74 for (i = 0; i <
_PB_N; i++)
77 for (j = 0; j <i; j++)
78 x[i] -=
L[i][j] *
x[j];
79 x[i] =
x[i] /
L[i][i];
86 int main(
int argc,
char** argv)
#define POLYBENCH_ARRAY(x)
#define POLYBENCH_DUMP_BEGIN(s)
#define POLYBENCH_FREE_ARRAY(x)
#define POLYBENCH_2D(var, dim1, dim2, ddim1, ddim2)
int main(int argc, char **argv)
__attribute__((noinline))
Convert the given fixedpt number to a decimal string.
static void init_array(int n, DATA_TYPE POLYBENCH_2D(L, N, N, n, n), DATA_TYPE POLYBENCH_1D(x, N, n), DATA_TYPE POLYBENCH_1D(b, N, n))
This version is stamped on May 10, 2016.
#define POLYBENCH_DUMP_START
#define POLYBENCH_2D_ARRAY_DECL(var, type, dim1, dim2, ddim1, ddim2)
#define DATA_PRINTF_MODIFIER
#define polybench_prevent_dce(func)
static void print_array(int n, DATA_TYPE POLYBENCH_1D(x, N, n))
#define POLYBENCH_DUMP_TARGET
#define POLYBENCH_DUMP_END(s)
#define POLYBENCH_1D(var, dim1, ddim1)
#define POLYBENCH_DUMP_FINISH
x
Return the smallest n such that 2^n >= _x.
#define POLYBENCH_1D_ARRAY_DECL(var, type, dim1, ddim1)
#define polybench_stop_instruments
#define polybench_print_instruments
#define polybench_start_instruments