Hi Paul, On Thu, 28 Oct 2010 14:45:05 -0700, Paul Ivanov <[email protected]> wrote: > I'm just getting my feet wet with OpenCL, so it is likely that > something is wrong on my end, but it seems like a lot of the > other tests pass, and this looks like just an error on the python > side, so I decided to ask on here. > > I'm getting a bunch of erors like this (array.py:621) > > size = int(ceil((stop-start)/step)) > E OverflowError: math range error > > I appreciate any feedback,
I.e. I had better help you, hadn't I? :) This is weird--I'm not understanding what's going on. > from math import ceil > > size = int(ceil((stop-start)/step)) > E OverflowError: math range error a) You can run each test in isolation by doing, e.g. python test_clmath.py 'test_exp(cl.create_some_context)' b) In the failing line, can you print start, stop, step and their respective dtypes? Thanks, Andreas
pgpWuDT7pagkt.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
