Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26744 Discussions

PREFETCH Directive and MM_PREFETCH Intrinsic

Sina_M_
Beginner
99 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