Allocate interoperability and C descriptors

I went through a similar solution at some point, but rejected it because data duplication was needed. But I didn’t get that in some cases it would be possible to allocate on the Fortran side before loading/generating the data on the C side (so no data duplication is needed), as you show here. Thanks.

I didn’t know… nice

1 Like