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

ALIGN extension to ALLOCATE

michael-a-carr7
Beginner
664 Views
Some time ago I suggested an extension to the ALLOCATE command whereby the programmer could request a particular alignment of the allocated memory (i.e. ALIGN=16 allocates an array aligned on a 16 kB boundary, ALIGN=32 does the same for a 32 kB boundary, etc). This would help greatly when developing for maximum performance in conjunction with the Math Kernal Libraries, etc. At the time, Steve Lionel said that it was a good idea and that he would forward it on to the developers. Has there been any progress on this issue? It would help me greatly...
0 Kudos
2 Replies
Steven_L_Intel1
Employee
664 Views
This is on our wish list, but no plans have been made yet to implement it. Sorry.

Steve
0 Kudos
james1
Beginner
664 Views
There are probably other ways to accomplish what you want, either by aligning statically defined variables, or by allocating a chunk of memory and using a cray pointer assigned to an appropriate address.

James
0 Kudos
Reply