diff --git a/doc/source/runtime.rst b/doc/source/runtime.rst index 00c3ef2934f36648626f5fc0d81dacf3fad76d01..8ca00bead4899360480c1043e519ea8dad8e06b6 100644 --- a/doc/source/runtime.rst +++ b/doc/source/runtime.rst @@ -401,6 +401,12 @@ Images :class:`Image` is a subclass of :class:`MemoryObject`. + .. note:: + + If you want to load images from numpy arrays or read images back into arrays, be aware + that numpy arrays are stored row-major by default whereas OpenCL expects them to be stored in + column-major order. + .. versionadded:: 0.91 .. attribute:: info