1
Fork 0
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:
Steffo 2022-11-17 19:53:46 +01:00
parent 44fe50bd4a
commit 28479dfb4b
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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;
} }
} }