mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-23 00:24:23 +00:00
Exclude again init_array
from the benchmark
This commit is contained in:
parent
f4a903371a
commit
2f476affee
1 changed files with 3 additions and 3 deletions
|
@ -89,12 +89,12 @@ int main(int argc, char **argv)
|
||||||
POLYBENCH_1D_ARRAY_DECL(x, DATA_TYPE, NY, ny);
|
POLYBENCH_1D_ARRAY_DECL(x, DATA_TYPE, NY, ny);
|
||||||
POLYBENCH_1D_ARRAY_DECL(y, DATA_TYPE, NY, ny);
|
POLYBENCH_1D_ARRAY_DECL(y, DATA_TYPE, NY, ny);
|
||||||
|
|
||||||
/* Start timer. */
|
|
||||||
polybench_start_instruments;
|
|
||||||
|
|
||||||
/* Initialize array(s). */
|
/* Initialize array(s). */
|
||||||
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
|
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
|
||||||
|
|
||||||
|
/* Start timer. */
|
||||||
|
polybench_start_instruments;
|
||||||
|
|
||||||
/* Run kernel. */
|
/* Run kernel. */
|
||||||
kernel_atax(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x), POLYBENCH_ARRAY(y));
|
kernel_atax(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x), POLYBENCH_ARRAY(y));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue