pinned memory

Hi,

I have several arrays in a common block, is there anyway to make these arrays as pinned array?

It seems that from the previous thread: only allocatable arrays can be declared as pinned arrays, but the allocatable arrays are not allowed in common blocks.

thanks!

Hi pilot117,

Sorry, you would need to change your common blocks to modules with allocatable arrays. Pinned memory requires dynamic allocation and common blocks are static.

  • Mat