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

PREFETCH Directive and MM_PREFETCH Intrinsic

Sina_M_
Beginner
664 Views

Hi every one.

For performance issues I want to make Intel Fortran compiler transfer an array range from main memory to L1 or L2 cache. In order to do that I tried !dec$ prefetch directive and mm_prefetch intrinsic function with several different parameters while the Prefetch Insertion option was enabled in the Visual Studio's Optimization tab. But unfortunately neither of them affects the cpu time. Besides I tried those features on both Intel and AMD CPUs but there was no difference between the results.

Can anyone help me in this topic?

0 Kudos
0 Replies
Reply