Developer Guide and Reference

Contents

qopt-prefetch-distance, Qopt-prefetch-distance

Specifies the prefetch distance to be used for compiler-generated prefetches inside loops.

Syntax

Linux:
-qopt-prefetch-distance
=
n1
[
,
n2
]
macOS:
None
Windows:
/Qopt-prefetch-distance
:
n1
[
,
n2
]
Arguments
n1, n2
Is the prefetch distance in terms of the number of (possibly-vectorized) iterations. Possible values are non-negative numbers >=0.
n2
is optional.
n1
= 0 turns off all compiler issued prefetches from memory to L2.
n2
= 0 turns off all compiler issued prefetches from L2 to L1. If
n2
is specified and
n1
> 0,
n1
should be >=