Hi gang,
I have both CUDA and PyCUDA related questions. For CUDA, I'm using the latest drivers (195.x.x) and latest toolkit/sdk (3.0). My problem is compiling the set of test programs. I remember in the past that a hack had to be performed -- ie, comment out some function declarations in cuda's math_functions.h. I've received the following error: /usr/local/cuda/bin/../include/math_functions.h:422: error: inline function ‘int __signbit(double)’ cannot be declared weak /usr/local/cuda/bin/../include/math_functions.h:427: error: inline function ‘int __signbitf(float)’ cannot be declared weak /usr/local/cuda/bin/../include/math_functions.h:440: error: inline function ‘int __signbitl(long double)’ cannot be declared weak The work around is to comment these lines out -- but is this still the best way to go about it? For PyCUDA, I've downloaded the latest beta (0.94.xxx). The compilation of the wrapper for the driver goes smoothly. However, the test fails with the following undefined symbol error. Even with the 190.xxx.xxx drivers and the fix I mentioned above, I still get this error =\ Any one encountering similar issues? Traceback (most recent call last): File "test/test_driver.py", line 4, in <module> from pycuda.tools import mark_cuda_test File "/usr/lib64/python2.6/site-packages/pycuda/tools.py", line 30, in <module> import pycuda.driver as cuda File "/usr/lib64/python2.6/site-packages/pycuda/driver.py", line 1, in <module> from _driver import * ImportError: /usr/lib64/python2.6/site-packages/pycuda/_driver.so: undefined symbol: cuTexRefSetAddress -- Paul Rigor Pre-doctoral BIT Fellow and Graduate Student Institute for Genomics and Bioinformatics Donald Bren School of Information and Computer Sciences University of California, Irvine http://www.ics.uci.edu/~prigor
_______________________________________________ PyCUDA mailing list pyc...@host304.hostmonster.com http://host304.hostmonster.com/mailman/listinfo/pycuda_tiker.net