Nicholas,

Thanks, I grabbed 0.91 off the website and didn't think of looking at git.
Everything is working now though, and I'm much happier to be able to use
pycuda on SUSE 11 instead of having to reboot to 10.3.

Brad

On Tue, Jan 13, 2009 at 5:20 PM, Nicolas Pinto <[email protected]> wrote:

> Brad,
>
> This has been fixed in 0.91.1:
> http://git.tiker.net/?p=pycuda.git;a=summary
>
> http://git.tiker.net/?p=pycuda.git;a=commit;h=9e9120a93d83257f2686fd9431406dfc60cdfede
>
> Regards,
>
>
> On Tue, Jan 13, 2009 at 4:25 PM, Brad Zima <[email protected]>
> wrote:
> > Hi, I've been working on getting pycuda 0.91 running on the CUDA 2.1 beta
> > for OpenSuSE 11, and everything compiles fine, but the test_driver.py
> gives
> > the following errors:
> >
> > ======================================================================
> > ERROR: test_2d_texture (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 112, in test_2d_texture
> >     """)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_gpuarray (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 84, in test_gpuarray
> >     diff = (a_g-3*b_g+(-a_g)).get() - (a-3*b+(-a))
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/gpuarray.py",
> > line 259, in __rmul__
> >     return self._axpbz(scalar, 0, result)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/gpuarray.py",
> > line 131, in _axpbz
> >     func = _kernel.get_axpbz_kernel()
> >   File "<string>", line 1, in <lambda>
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pytools-7-py2.5.egg/pytools/__init__.py",
> > line 123, in memoize
> >     result = func(*args)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/_kernel.py",
> > line 77, in get_axpbz_kernel
> >     "axpb")
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/_kernel.py",
> > line 55, in get_scalar_kernel
> >     options=NVCC_OPTIONS, keep=keep)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_large_smem (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 210, in test_large_smem
> >     """ % n)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_multichannel_2d_texture (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 178, in test_multichannel_2d_texture
> >     """)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_multiple_2d_textures (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 143, in test_multiple_2d_textures
> >     """)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_simple_kernel (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 31, in test_simple_kernel
> >     """)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ======================================================================
> > ERROR: test_streamed_kernel (__main__.TestCuda)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "test_driver.py", line 56, in test_streamed_kernel
> >     """)
> >   File
> >
> "/usr/local/lib64/python2.5/site-packages/pycuda-0.91-py2.5-linux-x86_64.egg/pycuda/driver.py",
> > line 520, in __init__
> >     self.registers = int(re.search("reg = ([0-9]+)", cubin).group(1))
> > AttributeError: 'NoneType' object has no attribute 'group'
> >
> > ----------------------------------------------------------------------
> > Ran 10 tests in 0.122s
> >
> > FAILED (errors=7)
> >
> > Anyone have any ideas?
> >
> > Brad Zima
> >
> >
> >
> >
> > _______________________________________________
> > PyCuda mailing list
> > [email protected]
> > http://tiker.net/mailman/listinfo/pycuda_tiker.net
> >
> >
>
>
>
> --
> Nicolas Pinto
> Ph.D. Candidate, Brain & Computer Sciences
> Massachusetts Institute of Technology, USA
> http://web.mit.edu/pinto
>
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to