Maybe I've just caught the repo in the midst of changes, but in trying to run the examples/plot_random_data.py, I get:

$ python plot_random_data.py
Traceback (most recent call last):
  File "plot_random_data.py", line 9, in <module>
    a = cuda.array(size).randn()
AttributeError: 'module' object has no attribute 'array'

Python 2.6.1 (r261:67515, Dec 17 2008, 15:56:40)
[GCC 4.2.1 (Apple Inc. build 5566)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycuda.gpuarray as cuda
>>> dir(cuda)
['DiskDict', 'GPUArray', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_kernel', '_splay_backend', 'arange', 'division', 'drv', 'empty', 'memoize', 'numpy', 'random', 'splay', 'to_gpu', 'zeros']
>>>


Unrelated, and off-topic, does anyone happen to use git inside eclipse? I'm trying to figure it out and would welcome advice. Please contact me off-list.

thanks, Randy


_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to