Error when pass PINNDED data

I’m using VisIt tool from LLNL. When I call the Fortran wrapper API, it works if I used regular ALLOCATABLE data to pass to the wrapper. However, if I use ALLOCATABLE PINNED data, i get runtime error.

I guess there may be some difference in the metadata for the two data. What may cause this error?

Thanks,
Tuan

Hi Tuan,

I’m not sure what would cause this. Pinned memory, although located in host’s physical memory, is managed by the CUDA device driver. Though, I would think this would be fine.

Can you send me an example with reproduces the problem?

Thanks,
Mat