From d88204e1aa4fbf6c16d393cf061ae387e4eab7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Tue, 17 Nov 2020 05:45:29 +0100 Subject: [PATCH] Specify unit of ArrayBase.offset --- loopy/kernel/array.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loopy/kernel/array.py b/loopy/kernel/array.py index c004d69ec..4254171db 100644 --- a/loopy/kernel/array.py +++ b/loopy/kernel/array.py @@ -606,7 +606,8 @@ class ArrayBase(ImmutableRecord): .. attribute:: offset Offset from the beginning of the buffer to the point from - which the strides are counted. May be one of + which the strides are counted, in units of the :attr:`dtype`. + May be one of * 0 or None * a string (that is interpreted as an argument name). -- GitLab