1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-22 16:14:24 +00:00

Merge branch 'master' of github.com:Steffo99/unimore-hpc-1

This commit is contained in:
Steffo 2022-11-17 19:14:17 +01:00
commit bffa050239
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -107,12 +107,12 @@ int main(int argc, char **argv)
POLYBENCH_1D_ARRAY_DECL(x, DATA_TYPE, NY, ny);
POLYBENCH_1D_ARRAY_DECL(y, DATA_TYPE, NY, ny);
/* Initialize array(s). */
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
/* Start timer. */
polybench_start_instruments;
/* Initialize array(s). */
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
/* Run kernel. */
kernel_atax(nx, ny,
POLYBENCH_ARRAY(A),