[PyOpenCL] Incorrect hostbuf warning in Image constructor
Luke Matkins
ljmatkins at gmail.com
Thu Mar 1 14:51:51 PST 2012
Yes, fixed! Thanks!
Best,
Luke
On Thu, Mar 1, 2012 at 7:05 AM, Andreas Kloeckner
<lists at informa.tiker.net> wrote:
> 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
More information about the PyOpenCL
mailing list