32 for (i = 0; i < nr; i++)
33 for (j = 0; j < nq; j++)
34 for (k = 0; k < np; k++)
36 for (i = 0; i < np; i++)
37 for (j = 0; j < np; j++)
52 for (i = 0; i < nr; i++)
53 for (j = 0; j < nq; j++)
54 for (k = 0; k < np; k++) {
66 void kernel_doitgen(
int nr,
int nq,
int np,
74 for (r = 0; r <
_PB_NR; r++)
75 for (q = 0; q <
_PB_NQ; q++) {
76 for (p = 0; p <
_PB_NP; p++) {
78 for (s = 0; s <
_PB_NP; s++)
79 sum[p] +=
A[r][q][s] * C4[s][p];
81 for (p = 0; p <
_PB_NP; p++)
89 int main(
int argc,
char** argv)
110 kernel_doitgen (nr, nq, np,
#define POLYBENCH_ARRAY(x)
#define POLYBENCH_3D(var, dim1, dim2, dim3, ddim1, ddim2, ddim3)
#define POLYBENCH_DUMP_BEGIN(s)
#define POLYBENCH_FREE_ARRAY(x)
#define POLYBENCH_2D(var, dim1, dim2, ddim1, ddim2)
#define POLYBENCH_3D_ARRAY_DECL(var, type, dim1, dim2, dim3, ddim1, ddim2, ddim3)
static void print_array(int nr, int nq, int np, DATA_TYPE POLYBENCH_3D(A, NR, NQ, NP, nr, nq, np))
static const uint32_t k[]
#define POLYBENCH_DUMP_START
#define POLYBENCH_2D_ARRAY_DECL(var, type, dim1, dim2, ddim1, ddim2)
#define DATA_PRINTF_MODIFIER
#define polybench_prevent_dce(func)
#define POLYBENCH_DUMP_TARGET
#define POLYBENCH_DUMP_END(s)
#define POLYBENCH_1D(var, dim1, ddim1)
static void init_array(int nr, int nq, int np, DATA_TYPE POLYBENCH_3D(A, NR, NQ, NP, nr, nq, np), DATA_TYPE POLYBENCH_2D(C4, NP, NP, np, np))
This version is stamped on May 10, 2016.
__attribute__((noinline))
Convert the given fixedpt number to a decimal string.
int main(int argc, char **argv)
#define POLYBENCH_DUMP_FINISH
#define POLYBENCH_1D_ARRAY_DECL(var, type, dim1, ddim1)
#define polybench_stop_instruments
#define polybench_print_instruments
#define polybench_start_instruments