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

search the forum & assumed shape arrays

Izaak_Beekman
New Contributor II
1,097 Views
Am I being dense? Is there a way to ONLY search the forum? I remember a discussion about how the compiler treats assumed shape arrays (pointer, allocation on stack, etc.) but am having trouble pulling up the search results.

Do assumed shape arrays get additional memory allocated and copied? Does it depend on their INTENT ?

Thanks, and sorry if I'm missing something obvious
Z
0 Kudos
1 Solution
Steven_L_Intel1
Employee
1,097 Views
It is easy to miss - on the forum main page, in the gray bar underneath the page numbers, is a link Search Forum.

Assumed-shape array dummy arguments do not cause copies under any conditions. An explicit interface is required to be visible to the caller if the called routine has an assumed-shape dummy argument.

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
1,098 Views
It is easy to miss - on the forum main page, in the gray bar underneath the page numbers, is a link Search Forum.

Assumed-shape array dummy arguments do not cause copies under any conditions. An explicit interface is required to be visible to the caller if the called routine has an assumed-shape dummy argument.
0 Kudos
Izaak_Beekman
New Contributor II
1,097 Views
thanks so much
0 Kudos
Reply