diff --git a/loopy/kernel/array.py b/loopy/kernel/array.py index df50b4d33d3eac90e9f2a63e4121280a0109986d..8dbfc24dd0baeb765c6a6fb5098757d4f952d7dc 100644 --- a/loopy/kernel/array.py +++ b/loopy/kernel/array.py @@ -608,6 +608,12 @@ class ArrayBase(ImmutableRecord): to generate more informative names than could be achieved by axis numbers. + .. attribute:: alignment + + Memory alignment of the array in bytes. + Default to *None*. If an integer N is given, the array would be declared + with ``__attribute__((aligned(N)))`` in code generation for :class:`loopy.CTarget`. + .. automethod:: __init__ .. automethod:: __eq__ .. automethod:: num_user_axes