523 B
523 B
4 de Outubro 2023 - #CP
Ex. 2
a) Limitações vetoriais
A -> consecutive elements in a row -> consecutive access in the vector C -> same element B -> consecutive elements in a collumn
Não vai ser vetorizável.
b)
result of change cycles to i, k , j : A -> consecutive elements in a row -> consecutive access in the vector C -> consecutive elements in a row -> consecutive access in the vector B -> consecutive elements in a row -> consecutive access in the vector
i k j 0 0 1
Vai ser vetorizável.