Hi,

I am getting errors trying to access the pyopencl.array.vec class (as described at http://documen.tician.de/pyopencl/array.html#vector-types). I am using pyopencl-2011.1beta3.

Python 2.7.1 (r271:86832, Dec 21 2010, 11:31:35)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyopencl
>>> pyopencl.__file__
'/Users/geordan/venv/xxx/lib/python2.7/site-packages/pyopencl-2011.1beta3-py2.7-macosx-10.4-x86_64.egg/pyopencl/__init__.pyc'
>>> import pyopencl.array
>>> pyopencl.array.vec
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'vec'

I couldn't find a reference to a class definition for vec in the egg, either.

Thanks,
-geordan

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

Reply via email to