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

compiler directive for minloc / maxloc behavior

Andrew_J_5
Beginner
188 Views

Hi,

I can use -assume (no)old_maxminloc to control the behavior of minloc and maxloc throughout my program. Is there a compiler directive that allows me to specify the behavior within the program. There is a noticible performance difference, and in some cases i can guarantee that a non-zero length array will be passed, and would like to choose the approriate behavior there.

Thanks.

andrew

0 Kudos
1 Reply
Steven_L_Intel1
Employee
188 Views

There is no such directive. You can compile individual sources with different options.

0 Kudos
Reply