Hi all: I get the following output ... get_cl_header_version correctly gets the 
CL version on my driver but pyopencl itself fails to provide its version info. 
[ I am using pyopencl version 1.2 from Christoph Gohlke's pre-built Windows 
binaries.]

Thanks

-Ani



C:\Users\asvaidya.AMR\Desktop\pyopencl\test>python

Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on 
win32

Type "help", "copyright", "credits" or "license" for more information.

>>> import pyopencl

>>> print pyopencl.VERSION

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

AttributeError: 'module' object has no attribute 'VERSION'

>>> print pyopencl.VERSION_STATUS

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

AttributeError: 'module' object has no attribute 'VERSION_STATUS'

>>> print pyopencl.get_cl_header_version()

(1, 1)

>>>



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Andreas Kloeckner
Sent: Thursday, December 01, 2011 11:44 PM
To: [email protected]
Subject: [PyOpenCL] PyOpenCL 2011.2 is out!



Hi all,



I've just released 2011.2. This is a gigantic release, with lots of stuff in 
it. Partial log:



- Add pyopencl.enqueue_migrate_mem_object().

- Add pyopencl.image_from_array().

- IMPORTANT BUGFIX: Kernel caching was broken for all the 2011.1.x releases, 
with severe consequences on the execution time of pyopencl.array.Array 
operations. Henrik Andresen at a PyOpenCL workshop at DTU first noticed the 
strange timings.

- All comparable PyOpenCL objects are now also hashable.

- Add pyopencl.tools.context_dependent_memoize() to the documented 
functionality.

- Base pyopencl.clrandom on RANLUXCL, add functionality.

- Add pyopencl.NannyEvent objects.

- Add pyopencl.characterize.

- Ensure compatibility with OS X Lion.

- Add pyopencl.tools.register_dtype() to enable scan/reduction on struct types.

- pyopencl.enqueue_migrate_mem_object() was renamed 
pyopencl.enqueue_migrate_mem_object_ext(). 
pyopencl.enqueue_migrate_mem_object() now refers to the OpenCL 1.2 function of 
this name, if available.

- pyopencl.create_sub_devices() was renamed pyopencl.create_sub_devices_ext(). 
pyopencl.create_sub_devices() now refers to the OpenCL 1.2 function of this 
name, if available.

- Alpha support for OpenCL 1.2.



(Yes, you read that right--even all of CL 1.2 is wrapped. I can't test that 
because there aren't any implementations for now, but it's there, along with 
all the other stuff above.)



As always, let me know if I've screwed something up.



Have fun,

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

Reply via email to