Memory#
Tracked allocation, raw storage copies, borrowed array views and size
inquiries. All routines are available through use futile.
Borrowed views and raw copies
Routine |
Description |
|---|---|
Borrowed rank-one pointer view into existing contiguous storage, without copying. |
|
Borrowed rank-one |
|
Raw storage copy, with |
|
Raw storage copy between scalar buffer starts with an explicit byte count. |
Size inquiries and binding buffers
Routine |
Description |
|---|---|
Number of elements, as |
|
Payload storage in C bytes, as |
|
Binding-owned character dump buffer (C |
Allocation and comparison
These interfaces are described on the Memory handling page.
Routine |
Description |
|---|---|
|
Tracked allocation and deallocation of allocatable arrays. |
|
Tracked allocation and deallocation of pointer arrays, including aligned pointers. |
|
Maximum absolute difference between two buffers. |