Adrian Oeftiger <[email protected]> writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Dear PyCUDA community, > > in lack of finding a better place, I'll submit a tentative "bug" > report here. I have posted my situation on stackoverflow: > > https://stackoverflow.com/questions/28829536/pycuda-test-cumath-py-fails-on-cosh > > - --- > Essentially, I've installed pycuda on a machine featuring a TESLA > C2075. I'm running on Ubuntu 14.04 with the CUDA-6.0 compiler installed. > > Using python 2.7.9 (via the anaconda distribution) and numpy 1.9.0, I > have installed pycuda 2014.1 from the ZIP file that Andreas Kloeckner > provides on his website. (http://mathema.tician.de/software/pycuda/) > > Running the tests provided by that ZIP file goes all well except for > the test_cumath.py file. I receive the following error: > > E AssertionError: (2.3841858e-06, 'cosh', <type 'numpy.complex64'>) > E assert <built-in method all of numpy.bool_ object at 0x7f00747f3880>() > E + where <built-in method all of numpy.bool_ object at > 0x7f00747f3880> = 2.3841858e-06 <= 2e-06.all
As you say, this is simply a matter of missing a preset tolerance on the computation of complex-valued cosh() by a little bit. I'm not too concerned about this and have bumped the relevant tolerance in git. Thanks for reporting this, Andreas
signature.asc
Description: PGP signature
_______________________________________________ PyCUDA mailing list [email protected] http://lists.tiker.net/listinfo/pycuda
