1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-29 11:34:21 +00:00

print_array: Improve wording

This commit is contained in:
Steffo 2022-11-16 01:42:53 +01:00
parent 18466da754
commit d5664a9393
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -45,8 +45,7 @@ static void print_array(int nx,
{ {
int i; int i;
// Cannot optimize this: prints have to be dependent on each other 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++)
{ {
fprintf(stderr, DATA_PRINTF_MODIFIER, y[i]); fprintf(stderr, DATA_PRINTF_MODIFIER, y[i]);