From df71095d7b59bcc71d4cdde91c409221a130b5bd Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 1 Jul 2015 18:15:19 -0500 Subject: [PATCH] Exclude complex Hankel test on non-double platforms --- test/test_clmath.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_clmath.py b/test/test_clmath.py index 8329f40b..64af63d4 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 = ( -- GitLab