32 for (i = 0; i < n; i++)
51 for (i = 0; i < n; i++)
64 void kernel_jacobi_1d(
int tsteps,
74 for (i = 1; i <
_PB_N - 1; i++)
75 B[i] = 0.33333 * (
A[i-1] +
A[i] +
A[i + 1]);
76 for (i = 1; i < _PB_N - 1; i++)
77 A[i] = 0.33333 * (
B[i-1] +
B[i] +
B[i + 1]);
84 int main(
int argc,
char** argv)
static void init_array(int n, DATA_TYPE POLYBENCH_1D(A, N, n), DATA_TYPE POLYBENCH_1D(B, N, n))
This version is stamped on May 10, 2016.
#define POLYBENCH_ARRAY(x)
#define POLYBENCH_DUMP_BEGIN(s)
int main(int argc, char **argv)
#define POLYBENCH_FREE_ARRAY(x)
__attribute__((noinline))
Convert the given fixedpt number to a decimal string.
#define POLYBENCH_DUMP_START
#define DATA_PRINTF_MODIFIER
#define polybench_prevent_dce(func)
#define POLYBENCH_DUMP_TARGET
#define POLYBENCH_DUMP_END(s)
#define POLYBENCH_1D(var, dim1, ddim1)
#define POLYBENCH_DUMP_FINISH
#define POLYBENCH_1D_ARRAY_DECL(var, type, dim1, ddim1)
static void print_array(int n, DATA_TYPE POLYBENCH_1D(A, N, n))
#define polybench_stop_instruments
#define polybench_print_instruments
#define polybench_start_instruments