[PyOpenCL] Incorrect hostbuf warning in Image constructor
Andreas Kloeckner
lists at informa.tiker.net
Thu Mar 1 07:05:03 PST 2012
On Wed, 29 Feb 2012 13:08:40 -0800, Luke Matkins <ljmatkins at gmail.com> wrote:
> Hi all,
>
> It looks like the Image constructor at line 152 of
> pyopencl/__init__.py is incorrectly warning when hostbuf is None and
> no memory flags are passed.
>
> I believe line 149 should read "if hostbuf is not None and not \"
> instead.
This is already fixed in git. (I'd appreciate it if you could confirm
that.)
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20120301/9f493730/attachment.pgp>
More information about the PyOpenCL
mailing list