[PyOpenCL] OpenCL Image sizes
Sebastian Nowozin
nowozin at gmail.com
Tue Aug 16 11:45:45 PDT 2011
Hello Andreas,
On Tue, Aug 16, 2011 at 9:13 AM, Andreas Kloeckner
<lists at informa.tiker.net> wrote:
>> Is there something I miss about the way OpenCL Images work or could
>> this be a problem in PyOpenCL?
> image_from_array is pretty new. In fact it's not really yet in any
> released version. It worked for the purpose for which I needed it, but
> there's a possibility there are still bugs hiding in it. Can you try and
> diagnose? (Especially what image formats get selected etc.) I'd be
> happy to try and help.
Here is a simple conjecture: the x and y dimensions are swapped in
image_from_array.
Observations in support of my conjecture:
1. Any square array of any size works okay,
2. Any non-square array of any size fails to work.
Can you falsify/confirm this?
Thanks,
Sebastian
More information about the PyOpenCL
mailing list