Functions to work with arrayfire's internal data structure.
Note: The behavior of these functions is not promised to be consistent across versions.