mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-22 16:14:24 +00:00
Cleanup comments
This commit is contained in:
parent
44fe50bd4a
commit
28479dfb4b
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ static void init_array(int nx, int ny,
|
||||||
x[i] = i * M_PI;
|
x[i] = i * M_PI;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Initialize the `A` matrix with [something?]
|
/// Initialize the `A` matrix
|
||||||
#ifdef TOGGLE_INIT_ARRAY_2
|
#ifdef TOGGLE_INIT_ARRAY_2
|
||||||
#pragma omp parallel for num_threads(THREAD_COUNT) schedule(static)
|
#pragma omp parallel for num_threads(THREAD_COUNT) schedule(static)
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,7 +90,7 @@ static void kernel_atax(int nx, int ny,
|
||||||
}
|
}
|
||||||
|
|
||||||
for (j = 0; j < _PB_NY; j++) {
|
for (j = 0; j < _PB_NY; j++) {
|
||||||
/// Which is later used for [something else]
|
/// Which is later used for to compute ATAX
|
||||||
y[j] = y[j] + A[i][j] * tmp;
|
y[j] = y[j] + A[i][j] * tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue