37 for (i = 0; i < m; i++)
38 for (j = 0; j < n; j++) {
42 for (i = 0; i < m; i++) {
43 for (j = 0; j <=i; j++)
45 for (j = i+1; j < m; j++)
61 for (i = 0; i < m; i++)
62 for (j = 0; j < n; j++) {
74 void kernel_symm(
int m,
int n,
93 for (i = 0; i <
_PB_M; i++)
94 for (j = 0; j <
_PB_N; j++ )
97 for (k = 0; k < i; k++) {
98 C[
k][j] += alpha*
B[i][j] *
A[i][
k];
99 temp2 +=
B[
k][j] * A[i][
k];
101 C[i][j] = beta *
C[i][j] + alpha*
B[i][j] *
A[i][i] + alpha * temp2;
108 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)
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)
static void init_array(int m, int n, DATA_TYPE *alpha, DATA_TYPE *beta, DATA_TYPE POLYBENCH_2D(C, M, N, m, n), DATA_TYPE POLYBENCH_2D(A, M, M, m, m), DATA_TYPE POLYBENCH_2D(B, M, N, m, n))
This version is stamped on May 10, 2016.
int main(int argc, char **argv)
#define POLYBENCH_DUMP_FINISH
static void print_array(int m, int n, DATA_TYPE POLYBENCH_2D(C, M, N, m, n))
__attribute__((noinline))
Convert the given fixedpt number to a decimal string.
#define polybench_stop_instruments
#define polybench_print_instruments
#define polybench_start_instruments