diff --git a/test/test_clmath.py b/test/test_clmath.py index 8329f40bc5751dc9e5d609903e48c8c70dd46355..64af63d48ab030bce336bc2697f72c48a4948950 100644 --- a/test/test_clmath.py +++ b/test/test_clmath.py @@ -418,6 +418,10 @@ def test_hankel_01_complex(ctx_factory, ref_src): ctx = ctx_factory() queue = cl.CommandQueue(ctx) + if not has_double_support(ctx.devices[0]): + from pytest import skip + skip("no double precision support--cannot test complex bessel function") + n = 10**6 np.random.seed(11) z = (