| View previous topic :: View next topic |
| Author |
Message |
Tuan
Joined: 11 Jun 2009 Posts: 226
|
Posted: Wed Feb 10, 2010 10:55 pm Post subject: pinned data |
|
|
The document said that pinned data must be allocatable array. However, the compiler doesn't generate any warning/error msg when I declare it as a scalar pinned data.
I'm not sure how the compiler handles this?
Tuan. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Feb 11, 2010 5:30 pm Post subject: |
|
|
Hi Tuan,
We recently added allocatable scalars in which case the variable's memory would be pinned. For non-allocatable variables, scalar or array, then the pinned attribute is simply ignored. Maybe we should issue a warning? I'll send it on to engineering for their recommendation.
Thanks,
Mat |
|
| Back to top |
|
 |
|