On Mon, Nov 12, 2012 at 2:08 AM, Phillip David <[email protected]> wrote: > 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'
Philip, which demo file are you trying to run? The examples/demo.py in my 2012.1 download doesn't have anything in it about "surfref"s, and neither it seems does the current Git version [1]---line 22 in it is pretty innocuous. [1] http://git.tiker.net/pycuda.git/blob_plain/HEAD:/examples/demo.py _______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
