Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29274 Discussions

Are there any vectorization directive that vectorize the loop without analysis?

Akiko_Matsumoto
Beginner
560 Views

Hello,

Are there any vectorization directive(for fortran) that any proven dependences are ignored? Fortran Compiler User's guide says that the feature of "!DEC$ IVDEP",

The proven dependences that prevent vectorization are not ignored, only assumed dependences are ignored.

I am afraid that it is not the directive that I need.

best regards,

Akiko MATSUMOTO

0 Kudos
3 Replies
Steven_L_Intel1
Employee
560 Views
Try !DEC$ VECTOR ALWAYS
0 Kudos
TimP
Honored Contributor III
560 Views
VECTOR ALWAYS skips the analysis for efficiency and effect on exceptions. It doesn't suppress the correctness analysis.
0 Kudos
Akiko_Matsumoto
Beginner
560 Views

Thank you for your reply.

As tim18-san said, the compiler detected dependences in loops, even though I specified VECTOR ALWAYS.

thanks a lot,

Akiko MATSUMOTO

0 Kudos
Reply