mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-23 00:24:23 +00:00
Indent polybench_start_instruments
in atax.cu
This commit is contained in:
parent
0eb45d1249
commit
44cfb43dac
1 changed files with 2 additions and 2 deletions
|
@ -97,13 +97,13 @@ __host__ int main(int argc, char **argv)
|
||||||
POLYBENCH_1D_ARRAY_DECL(y, DATA_TYPE, NY, ny);
|
POLYBENCH_1D_ARRAY_DECL(y, DATA_TYPE, NY, ny);
|
||||||
|
|
||||||
#ifdef POLYBENCH_INCLUDE_INIT
|
#ifdef POLYBENCH_INCLUDE_INIT
|
||||||
polybench_start_instruments;
|
polybench_start_instruments;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
|
init_array(nx, ny, POLYBENCH_ARRAY(A), POLYBENCH_ARRAY(x));
|
||||||
|
|
||||||
#ifndef POLYBENCH_INCLUDE_INIT
|
#ifndef POLYBENCH_INCLUDE_INIT
|
||||||
polybench_start_instruments;
|
polybench_start_instruments;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
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