Group aflagsΒΆ
-
group
aflags
Defines
-
GA_C_CONTIGUOUS
0x0001 Array is C-contiguous.
-
GA_F_CONTIGUOUS
0x0002 Array is Fortran-contiguous.
-
GA_ALIGNED
0x0100 Buffer data is properly aligned for the type. This should always be true for arrays allocated through this library.
If this isn’t true you can’t use kernels on the data, since they require aligned access.
-
GA_WRITEABLE
0x0400 Can write to the data buffer. (This is always true for arrays allocated through this library).
-
GA_BEHAVED
(GA_ALIGNED|GA_WRITEABLE) Array data is behaved (properly aligned and writable).
-
GA_CARRAY
(GA_C_CONTIGUOUS|GA_BEHAVED) Array layout is that of a C array.
-
GA_FARRAY
(GA_F_CONTIGUOUS|GA_BEHAVED) Array layout is that of a Fortran array.
-