1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-26 01:54:22 +00:00

print_array: Add (obvious) comment

This commit is contained in:
Steffo 2022-11-17 01:56:27 +01:00
parent 1e45a5adca
commit c5c79e00c4
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -44,6 +44,7 @@ static void print_array(int nx,
{ {
int i; int i;
/// Print all numbers in the array sequentially.
// Cannot parallelize this: prints have to be sequential to make sense! // Cannot parallelize this: prints have to be sequential to make sense!
for (i = 0; i < nx; i++) for (i = 0; i < nx; i++)
{ {