Hello,

I'm trying to get PyCUDA running on my system, Mac OS X 10.5.8 with CUDA
drivers 2.3.0a. My GPU is a Nvidia 9400m and I'm using Python 2.6.4 from
MacPython, Numpy 1.4.0rc1, Boost 1.41.0 and PyCUDA 0.93. After some initial
problems I've been able to compile and install everything fine, but when I
try to run test_driver.py I get the following error:

Traceback (most recent call last):
  File "test_driver.py", line 14, in <module>
    assert isinstance(pycuda.autoinit.device.get_attributes(), dict)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.93-py2.6-macosx-10.3-fat.egg/pycuda/driver.py",
line 51, in device_get_attributes
    for att in dir(device_attribute)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pycuda-0.93-py2.6-macosx-10.3-fat.egg/pycuda/driver.py",
line 52, in <genexpr>
    if att[0].isupper())
pycuda._driver.LogicError: cuDeviceGetAttribute failed: not found

Anyone has a clue about how to solve it?

Thanks, Roger.
_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to