Hi Freddie,

Freddie Witherden <[email protected]> writes:
> Hi all,
>
> I am having some trouble getting our application to work with the most
> recent (CFFI) version of PyOpenCL, 2015.2.1.  The issue appears to be
> related to get_sub_region returning None as opposed to a buffer.
>
> Looking through the source code I found
>
>
> <https://github.com/pyopencl/pyopencl/blob/23ba40d62bcf1d066233575ae8743
> e5e0ed8a5ae/pyopencl/cffi_cl.py#L942>
>
> which appears to be its implementation.  The issue, it seems, is that
> the method never returns the sub region that has just been created --
> hence why we're seeing None.

Thanks for the report. Should be fixed in 00f8fdae8. Let me know whether
that works for you, and if so, I'll push out a new version.

Andreas

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to