Hi all;

I'm trying to work through the examples in the PyCuda distribution and on the wiki, and I run into trouble right away.

When I try demo.py, I get the following error message:

phillip@phillip-P5E:~/pygpu/pycuda/examples$ python demo.py
Traceback (most recent call last):
  File "demo.py", line 22, in <module>
    """)
File "/usr/local/lib/python2.7/dist-packages/pycuda-2012.1-py2.7-linux-x86_64.egg/pycuda/compiler.py", line 289, in __init__
    self.get_surfref = self.module.get_surfref
AttributeError: 'Module' object has no attribute 'get_surfref'

I've tried to solve this problem myself in several ways. First, I upgraded my Linux distro to Ubuntu 12.04 (Oops -- too far -- Cuda doesn't officially support this yet), then I upgraded to Cuda 4.2, which seems to work. But neither of these changes helped this error message. So finally, I tried building PyCuda from git, but even that didn't help. I'm not sure what to make of this message, and it doesn't seem to matter what's in my cuda code (I even tried an empty cuda code, but it didn't help). My GPU is compute capability 1.3, so it's an older GPU.

Thanks for the help!

Phillip David
_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to