Skip to content

Commit 36ed824

Browse files
authored
Update autovectorization-and-restrict.md
1 parent 6de5a83 commit 36ed824

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/learning-paths/cross-platform/loop-reflowing/autovectorization-and-restrict.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ The reason for this is related to how each compiler decides whether to use autov
103103

104104
For each candidate loop the compiler will estimate the possible performance gains against a cost model, which is affected by many parameters and of course the optimization level in the compilation flags.
105105

106-
The cost model estimates whether the autovectorized code grows in size and if the performance gains are enough to outweigh the increase in code size. Based on this estimation, the compiler will decide to use vectorized code or fall back to a more 'safe' scalar implementation. This decision however is fluid and is constantly reevaluated during compiler development.
106+
The cost model estimates whether the autovectorized code grows in size and if the performance gains are enough to outweigh the increase in code size. Based on this estimation, the compiler will decide to use vectorized code or fall back to a more 'safe' scalar implementation. This decision, however, is fluid and is constantly reevaluated during compiler development.
107107

108-
Compiler cost model analysis is beyond the scope of this Learning Path, but the example demonstrates how autovectorization can be triggered by a flag.
108+
Compiler cost model analysis is beyond the scope of this Learning Path but the above example demonstrates how autovectorization can be triggered by a flag.
109109

110-
You will see some more advanced examples in the next sections.
110+
You will see some more advanced examples in the next sections.

0 commit comments

Comments
 (0)